Example #1
0
    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();
        }
    }
Example #2
0
 public void F_pointerUp()
 {
     currentCharacter.pointerUp();
 }