void Awake() { if (Instance == null) { Instance = this; } else { Destroy(this); } #if UNITY_EDITOR pluginBridge = new EditorNotifyBridge(); #elif UNITY_ANDROID pluginBridge = new AndroidNotifyBridge(); #elif UNITY_IOS pluginBridge = new IosNotifyBridge(); #endif DontDestroyOnLoad(this); }
private void LocalNotify_Clicked(object sender, EventArgs e) { LocalNotify?.Invoke(); }