示例#1
0
        public void OnMyDestroy(InputAction.CallbackContext context)
        {
            if (context.phase != InputActionPhase.Started)
            {
                return;
            }

            animationController.StopAnimation();

            myCube.DoMyDestroy();
        }