public static void Start() { TestTexture = Resources.Load <Texture2D>("test/texture"); LoggerMenu.Start(); LoaderMenu.Start(); ConsoleMenu.Start(); InspectorMenu.Start(); }
public void Awake() { BoxTexture = new Texture2D(1, 1); BoxTexture.SetPixel(0, 0, Color.white); BoxTexture.Apply(); loggerMenu = new ETGModDebugLogMenu(); loggerMenu.Start(); loaderMenu = new ETGModLoaderMenu(); loaderMenu.Start(); consoleMenu = new ETGModConsole(); consoleMenu.Start(); inspectorMenu = new ETGModInspector(); inspectorMenu.Start(); ETGDamageIndicatorGUI.Create(); StartCoroutine(ListAllItemsAndGuns()); }