void IListenerSegment.OnStartSegmentEvent(SegmentStartEvent startSegmentEvent) { currentSegment = startSegmentEvent.currentSegment; for (int i = 0; i < physicsManagers.Length; ++i) { physicsManagers[i].ResetLocation(); } }
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); }
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 "); }
void IListenerSegment.OnStartSegmentEvent(SegmentStartEvent startSegmentEvent) { print("xx OnStartSegmentEvent " + currentSegment); currentSegment = startSegmentEvent.currentSegment; }