コード例 #1
0
    static public UIGMPanel GetInstance()
    {
        UIGMPanel self = UIManager.Singleton.GetUIWithoutLoad <UIGMPanel>();

        if (self != null)
        {
            return(self);
        }
        self = UIManager.Singleton.LoadUI <UIGMPanel>("UI/UIGMPanel", UIManager.Anchor.Center);
        return(self);
    }
コード例 #2
0
ファイル: UISetingPanel.cs プロジェクト: moto2002/snowbattle
 void OnGMButtonButton(GameObject obj)
 {
     UIGMPanel.GetInstance().ShowWindow();
 }