コード例 #1
0
ファイル: EndGame.cs プロジェクト: Kney-Delach/Ring-of-Power
 private void OnDestroy()
 {
     if (_instance == this)
     {
         _instance = null;
     }
 }
コード例 #2
0
ファイル: EndGame.cs プロジェクト: Kney-Delach/Ring-of-Power
 private void Awake()
 {
     _instance = this;
 }