示例#1
0
        /// <summary>
        /// 设置物体释放
        /// </summary>
        public void SetObjectRelease()
        {
            OperateObjectHandler();
            InputHand.HandStatus = MInputHandStatus.Idle;

            EventHandReleaseObject.SendListener(OperateObject.GrabObject, InputHand.HandIndex);
            EventHandReleaseObjectKey.SendListener(OperateObject.GrabObject, InputHand.HandIndex);
        }
示例#2
0
        /// <summary>
        /// 设置物体释放
        /// </summary>
        public void SetObjectRelease()
        {
            HandleIdle(operaObject.FeaturesObject.operaType);
            InputHand.HandStatus     = MInputHandStatus.Idle;
            OperateObject.HandStatus = MInputHandStatus.Idle;

            EventHandReleaseObjectKey.SendListener(OperateObject.GrabObject, InputHand.HandIndex);
            EventHandReleaseObject.SendListener(OperateObject.GrabObject, InputHand.HandIndex);
        }