void Start()
    {
        isJoystickDrage  = false;
        isKick           = false;
        lobbyGameManager = NetworkClient.lobbyGameManager;
        if (networkIdentity.IsControlling())
        {
            Init();
            isPressed = false;
        }

        anim = transform.GetComponent <Animator>();
    }
Exemple #2
0
 private void Awake()
 {
     lobbyGameManager = GameObject.FindObjectOfType <LobbyGameManager>();
 }