Repository URL to install this package:
| 
      
     
      
        
        
        Version: 
        
         
  
        
    
          
          2025.1.8  ▾
        
         
  
      
        
      
  
      
  
     | 
    
    io.gs2.unity.sdk.uikit
  
    /
        
    Editor
  
        /
        
    Gs2Matchmaking
  
        /
        
    Prefabs
  
        /
        Gs2MatchmakingJoinedSeasonGatheringSeasonGatheringNameValue.cs
    | 
|---|
using UnityEditor;
using UnityEngine;
namespace Gs2.Unity.UiKit.Editor.Gs2Matchmaking.Prefabs
{
    public static class Gs2MatchmakingJoinedSeasonGatheringSeasonGatheringNameValue
    {
        [MenuItem("GameObject/UI/Game Server Services/Matchmaking/Namespace/User/Season/JoinedSeasonGathering/Label/SeasonGatheringNameValue", priority = 0)]
        private static void CreateButton()
        {
            var prefab = AssetDatabase.LoadAssetAtPath<GameObject>(
                "Packages/io.gs2.unity.sdk.uikit/Editor/Gs2Matchmaking/Prefabs/JoinedSeasonGatheringSeasonGatheringNameValue.prefab"
            );
            var instance = GameObject.Instantiate(prefab, Selection.activeTransform);
            instance.name = prefab.name;
            Undo.RegisterCreatedObjectUndo(instance, $"Create {instance.name}");
            Selection.activeObject = instance;
        }
    }
}