Exemplo n.º 1
0
 protected UIWindowBase(UIBundle bundle, bool standalone = true)
 {
     this.bundle     = bundle;
     this.standalone = standalone;
     inputLockName   = $"{typeof(T).Name}-{base.GetHashCode():X}";
     GameEvents.onGameStateSave.Add(onGameSaved);
 }
Exemplo n.º 2
0
 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);
 }
Exemplo n.º 3
0
 private DebugWindowUI(UIBundle bundle) : base(bundle)
 {
 }
Exemplo n.º 4
0
 protected UIWindowBase(UIBundle bundle)
 {
     this.bundle = bundle;
 }