コード例 #1
0
    void Update()
    {
        openCloseState.text = EMMotionManager.GetState("HedgehogOpenClose").ToString();
        simpleState.text    = EMMotionManager.GetState("HedgehogSimple").ToString();

        if (EMMotionManager.GetState("HedgehogOpenClose") == EMBaseMotion.MotionState.Closing)
        {
            EMMotionManager.ResetSimpleMotion("HedgehogSimple");
        }
    }