static void OnPostprocessAllAssets(string[] importedAssets, string[] deletedAssets, string[] movedAssets, string[] movedFromAssetPaths) { string[] entries = System.Array.FindAll(importedAssets, name => name.Contains("CC_StartupWindow") && !name.EndsWith(".meta")); for (int i = 0; i < entries.Length; i++) { if (CC_StartupWindow.Init(false)) { break; } } }
public static void MenuInit() { CC_StartupWindow.Init(true); }