Ejemplo n.º 1
0
        public void Init()
        {
            _instance = this;

            STORAGE_MANIFEST_PATH = Path.Combine(Util.getFilesFolder(), STORAGE_MANIFEST_PATH);

            Controller       = new StorageController();
            allResources     = StorageMapping.GetAllResources();
            allResourceTypes = allResources.Select(x => x.Key.GetType()).ToArray();
            allIcons         = ContentManager.LoadContent(allResources.Keys.ToArray());

            Redirector.PerformRedirections();
            UnityEngine.Debug.Log("[MOD] StorageManager activated");
        }
Ejemplo n.º 2
0
 public override bool isEditable()
 {
     return(StorageMapping.isEditable(getModuleType()));
 }