private void OnUIDrawerMessage(UIDrawerMessage message) { if (ActiveGraph != null && !ActiveGraph.Enabled) { return; } if (WaitFor != WaitType.UIDrawer) { return; } if (DebugMode) { DDebug.Log("UIDrawerMessage received: " + message.Type + " " + message.Drawer.DrawerName + " // Listening for: " + DrawerName, this); } if (message.Type != UIDrawerTriggerAction) { return; } if (AnyValue || message.Drawer.DrawerName.Equals(DrawerName)) { ContinueToNextNode(); } }
private void OnUIDrawerMessage(UIDrawerMessage message) { if (PortalGraph != null && !PortalGraph.Enabled) { return; } if (ListenFor != ListenerType.UIDrawer) { return; } if (DebugMode) { DDebug.Log("UIDrawerMessage received: " + message.Type + " " + message.Drawer.DrawerName + " // Listening for: " + DrawerName, this); } if (message.Type != UIDrawerTriggerAction) { return; } if (AnyValue || message.Drawer.DrawerName.Equals(DrawerName)) { PortalGraph.SetActiveNodeById(Id); } }