public override void ExitState() { lastChannel = CustomizationChannel.NONE; if (dragContainer != null) { dragContainer.Hide(); } }
public override void ExitState() { if (dragContainer != null) { dragContainer.Hide(); } }
private void onDragEnd(ITouch touch) { dragContainer.Hide(); if (touch.position.y > (float)Screen.height * mainCamera.rect.y) { CustomizationContext.EventBus.DispatchEvent(new CustomizerUIEvents.SelectTemplate(templateData, dragContainer.GetSprite())); } CustomizationContext.EventBus.DispatchEvent(default(CustomizerDragEvents.GestureComplete)); }
private void HideDragContainer() { dragContainer.Hide(); Service.Get <EventDispatcher>().DispatchEvent(default(ObjectManipulationEvents.EndDragInventoryItem)); }