예제 #1
0
    // 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);
    }
예제 #2
0
 // Use this for initialization
 void Start()
 {
     _Instance    = this;
     YouLiangMark = gameObject;
     YouLiangMark.SetActive(false);
 }