void Awake() { if (instance != null) { Destroy(gameObject); } else { instance = this; CreateWallet(); } }
private void OnEnable() { script = (PlayerWallet)target; }