コード例 #1
0
ファイル: UIAssets.cs プロジェクト: Avatarchik/UnityXMLUI
 void Awake()
 {
     if(Self == null)
     {
         Self = this;
     }
     else
     {
         Destroy(this.gameObject);
     }
 }
コード例 #2
0
 void Awake()
 {
     if (Self == null)
     {
         Self = this;
     }
     else
     {
         Destroy(this.gameObject);
     }
 }