void BehaviorListener.OnFinish() { currentCount++; if (currentCount == goalCount) { clientListener.OnFinish(); } }
void UnityBehaviorTrigger.BeginBehavior(UnityBehaviorSupportListener behaviorListener) { foreach (var space in spaceDistributer.spaceDistributer.spaces) { space.Clear(); } behaviorListener.OnFinish(); }
void UnityBehaviorTrigger.BeginBehavior(UnityBehaviorSupportListener behaviorListener) { #if UNITY_EDITOR UnityEditor.EditorApplication.isPlaying = false; #else Application.Quit(); #endif behaviorListener.OnFinish(); }
void UnityBehaviorTrigger.BeginBehavior(UnityBehaviorSupportListener behaviorListener) { behaviorListener.OnFinish(); }