コード例 #1
0
ファイル: Prefabs.cs プロジェクト: GameDiffs/TheForest
 private void OnDestroy()
 {
     if (Prefabs.Instance == this)
     {
         Prefabs.Instance = null;
     }
 }
コード例 #2
0
 private void Awake()
 {
     Prefabs.Instance = this;
 }
コード例 #3
0
ファイル: Prefabs.cs プロジェクト: GameDiffs/TheForest
 private void Awake()
 {
     Prefabs.Instance = this;
 }