Esempio n. 1
0
    void SmothMovePlayerCamera()
    {
        if (XKPlayerHeTiData.IsActiveHeTiPlayer)
        {
            if (PlayerSt == PlayerTypeEnum.FeiJi || PlayerSt == PlayerTypeEnum.TanKe)
            {
                this.enabled = false;
                return;
            }
            return;
        }

        if (PlayerCamera == null)
        {
            return;
        }

//		if (PlayerSt == PlayerTypeEnum.TanKe && PlayerZhiShengJiScript != null) {
//			PlayerZhiShengJiScript.MakePlayerTanKeMoveToLand();
//		}
        PlayerCamera.SmothMoveCamera();
    }