protected UIWindowBase(UIBundle bundle, bool standalone = true) { this.bundle = bundle; this.standalone = standalone; inputLockName = $"{typeof(T).Name}-{base.GetHashCode():X}"; GameEvents.onGameStateSave.Add(onGameSaved); }
public static UIBundle Create(string game_data_path) { if (bundles.TryGetValue(game_data_path, out var bundle) && bundle != null) { return(bundle); } bundle = new UIBundle(game_data_path); bundles[game_data_path] = bundle; bundle.loadBundleSync(); Utils.Info($"Registered UIBundle: {game_data_path}"); return(bundle); }
private DebugWindowUI(UIBundle bundle) : base(bundle) { }
protected UIWindowBase(UIBundle bundle) { this.bundle = bundle; }