コード例 #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;
            }
        }
コード例 #2
0
 public GameSettingTab(WaterBlastEditor editor) : base(editor)
 {
 }
コード例 #3
0
 public EditorTab(WaterBlastEditor editor)
 {
     parentEditor = editor;
 }