コード例 #1
0
 void Awake()
 {
     if (instance != null)
     {
         Destroy(gameObject);
     }
     else
     {
         instance = this;
         CreateWallet();
     }
 }
コード例 #2
0
 private void OnEnable()
 {
     script = (PlayerWallet)target;
 }