// Use this for initialization void Start() { switch (PlayerSt) { case PlayerEnum.Null: _Instance = this; break; case PlayerEnum.PlayerOne: _InstanceP1 = this; break; case PlayerEnum.PlayerTwo: _InstanceP2 = this; break; } YouLiangMark = gameObject; YouLiangMark.SetActive(false); }
// Use this for initialization void Start() { _Instance = this; YouLiangMark = gameObject; YouLiangMark.SetActive(false); }