Exemplo n.º 1
0
        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;
            }
        }
Exemplo n.º 2
0
 public GameSettingTab(WaterBlastEditor editor) : base(editor)
 {
 }
Exemplo n.º 3
0
 public EditorTab(WaterBlastEditor editor)
 {
     parentEditor = editor;
 }