private void OnMouseLeaveCB() { IMouseCursorService service = Services.GetService <IMouseCursorService>(); Diagnostics.Assert(service != null); service.RemoveKey(base.GetType().ToString()); }
public override void End(bool abort) { base.End(abort); base.GameClient.TakeSnapshot(); IMouseCursorService service = Services.GetService <IMouseCursorService>(); if (service != null) { service.RemoveKey("Loading"); } Amplitude.Unity.View.IViewService service2 = Services.GetService <Amplitude.Unity.View.IViewService>(); if (service2 != null) { WorldView worldView = (WorldView)service2.FindByType(typeof(WorldView)); if (worldView != null) { worldView.WorldViewTechniqueChange -= this.WorldView_WorldViewTechniqueChange; } } }