void Start() { isJoystickDrage = false; isKick = false; lobbyGameManager = NetworkClient.lobbyGameManager; if (networkIdentity.IsControlling()) { Init(); isPressed = false; } anim = transform.GetComponent <Animator>(); }
private void Awake() { lobbyGameManager = GameObject.FindObjectOfType <LobbyGameManager>(); }