public void initializedCanvasMobile() { if (ingameGlobalManager.instance.currentPlayer.GetComponent <characterMovement> ()) { currentCharacter = ingameGlobalManager.instance.currentPlayer.GetComponent <characterMovement> (); currentCharacter.mobileToystickController = virtualJoystick; currentCharacter.mobileLeftJoystickToMove = virtualJoystickLeftStickToMove; currentCharacter.StopMoving(); currentCharacter.pointerUp(); } }
public void F_pointerUp() { currentCharacter.pointerUp(); }