private void Initialise() { if (_panel == null) { UIView view = UIView.GetAView(); LoggingWrapper.Log("Creating event popup panel"); _panel = LoadingExtension._mainUIGameObject.AddComponent <EventPopupPanel>(); _panel.transform.parent = view.transform; _panel.Hide(); } }
private void Initialise() { if (_panel == null) { UIView view = UIView.GetAView(); CimTools.CimToolsHandler.CimToolBase.DetailedLogger.Log("Creating event popup panel"); _panel = LoadingExtension._mainUIGameObject.AddComponent <EventPopupPanel>(); _panel.transform.parent = view.transform; _panel.Hide(); } }