示例#1
0
    // Use this for initialization
    void Start()
    {
        m_Animator = gameObject.GetComponent <Animator>();
        Transceiver _trans = gameObject.GetComponent <Transceiver>();

        _trans.AddResolver("Joystick", OnJoystick);
        _trans.AddResolver("FireButton", OnFireButton);
    }