public LevelEditorTab(WaterBlastEditor editor) : base(editor) { var editorImagesPath = new DirectoryInfo(Application.dataPath + "/Resources/Game"); var fileInfo = editorImagesPath.GetFiles("*.png", SearchOption.TopDirectoryOnly); foreach (var file in fileInfo) { var filename = Path.GetFileNameWithoutExtension(file.Name); tileTextures[filename] = Resources.Load("Game/" + filename) as Texture; } }
public GameSettingTab(WaterBlastEditor editor) : base(editor) { }
public EditorTab(WaterBlastEditor editor) { parentEditor = editor; }