示例#1
0
    void Idle()
    {
        HandEvents.Idle(HandController.types.LEFT);
        lastTimeShooted = Time.time;

        state = states.IDLE;
        bow.ResetRope();
        arrow.gameObject.SetActive(false);
    }
示例#2
0
    void ChangeState(bool _isOn)
    {
        print("ChangeState " + _isOn);

        if (_isOn)
        {
            HandEvents.Pointer(HandController.types.RIGHT);
        }
        else
        {
            HandEvents.Idle(HandController.types.RIGHT);
        }
    }