Exemple #1
0
    private int _isMoving   = 0;   // 0:stop, 1: move

    // Use this for initialization
    void Start()
    {
        leftArrow.SetUp(this);
        rightArrow.SetUp(this);
        moveForward.SetUp(this);
    }