RightActivation() public method

public RightActivation ( ) : void
return void
コード例 #1
0
    void Start()
    {
        theCharacterMotor = gameObject.GetComponent<CharacterMotor2> ();

        // Start the enemy moving right
        theCharacterMotor.RightActivation ();

        turning = false;
    }