Inheritance: UnityEngine.MonoBehaviour
コード例 #1
0
 private void Awake()
 {
     if (Instance)
     {
         Destroy(Instance);
     }
     Instance = this;
 }
コード例 #2
0
ファイル: VesselMove.cs プロジェクト: ihsoft/VesselMover
 void Awake()
 {
     if (instance)
     {
         Destroy(instance);
     }
     instance = this;
 }
コード例 #3
0
ファイル: VesselMove.cs プロジェクト: BahamutoD/VesselMover
 void Awake()
 {
     if(instance)
     {
         Destroy(instance);
     }
     instance = this;
 }