void IListenerSegment.OnStartSegmentEvent(SegmentStartEvent startSegmentEvent)
 {
     currentSegment = startSegmentEvent.currentSegment;
     for (int i = 0; i < physicsManagers.Length; ++i)
     {
         physicsManagers[i].ResetLocation();
     }
 }
示例#2
0
 void IListenerSegment.OnStartSegmentEvent(SegmentStartEvent startSegmentEvent)
 {
     print("OnStartSegmentEvent Xxx" + startSegmentEvent.progressType + " " + startSegmentEvent.currentSegment);
     currentSegment = startSegmentEvent.currentSegment;
     print("OnStartSegmentEvent " + currentSegment.index);
     // hud.DisplayCurrentSegment(startSegmentEvent.currentSegment, 0);
     // hudNext.DisplayCurrentSegment(startSegmentEvent.nextSegment, null);
 }
示例#3
0
 void IListenerSegment.OnStartSegmentEvent(SegmentStartEvent startSegmentEvent)
 {
     currentSegment = startSegmentEvent.currentSegment;
     Debug.Log("OnStartSegmentEvent CCC" + startSegmentEvent.nextSegment);
     if (startSegmentEvent.nextSegment != null)
     {
         Debug.Log("Updating hud next CCC" + startSegmentEvent.nextSegment);
         hudNext.DisplayCurrentSegment(startSegmentEvent.nextSegment, null);
     }
     // physicsManager.ResetLocation();
 }
 void IListenerSegment.OnStartSegmentEvent(SegmentStartEvent startSegmentEvent)
 {
     print("OnStartSegmentEvent " + startSegmentEvent.progressType + " " + startSegmentEvent.currentSegment);
 }
 // Segment Events
 void IListenerSegment.OnStartSegmentEvent(SegmentStartEvent startSegmentEvent)
 {
     print("start Segment ");
 }
示例#6
0
 void IListenerSegment.OnStartSegmentEvent(SegmentStartEvent startSegmentEvent)
 {
     print("xx OnStartSegmentEvent " + currentSegment);
     currentSegment = startSegmentEvent.currentSegment;
 }