示例#1
0
文件: Step.cs 项目: xkteng/VR2019
 public void OnStepStart(StepEventArgs e)
 {
     if (this.m_stepStartEventHandle != null)
     {
         this.m_stepStartEventHandle(this, e);
     }
     foreach (var item in m_steppedObjectList)
     {
         var args = new SteppedObjectEventArgs();
         item.OnSteppedObjectStart(this, args);
     }
     m_judeCoroutine = StartCoroutine(JudgeEnumerator());
 }
示例#2
0
文件: Step.cs 项目: xkteng/VR2019
        /// <summary>
        /// Undo this step,reset all stepped Object to the original state.
        /// </summary>
        public void Undo()
        {
            var args = new StepEventArgs();

            OnStepUndo(args);
        }