コード例 #1
0
 private void Awake()
 {
     if (instance == null)
     {
         instance = this;
     }
     else
     {
         Debug.LogWarning("More than one PetUIController in the Scene");
     }
 }
コード例 #2
0
 private void Awake()
 {
     instance = this;
 }