Example #1
0
    void Start()
    {
        healthBarLength = Screen.width / 2;
        chmotor = GameObject.Find("Player").GetComponent<CharacterMotor>();
        manager = GameObject.Find("Manager").GetComponent<Gamemanager>();

        beginposition = transform;

        //chmotor.movement.maxForwardSpeed = 5;
    }