资源简介
Unite Europe 2016 Editor Scripting for n00bs
代码片段和文件信息
using UnityEngine;
using UnityEditor;
using UnityEditor.SceneManagement;
using System.Collections;
public class OpenSceneMenuItem
{
[MenuItem( “Open Scene/E01 - Basic Gizmos“ )]
public static void OpenE01()
{
OpenScene( “GameE01“ );
}
[MenuItem( “Open Scene/E02 - Custom Inspector Camera“ )]
public static void OpenE02()
{
OpenScene( “GameE02“ );
}
[MenuItem( “Open Scene/E03 - Custom Inspector Piston“ )]
public static void OpenE03()
{
OpenScene( “GameE03“ );
}
[MenuItem( “Open Scene/E04 - Advanced Custom Inspector Piston Pattern“ )]
public static void OpenE04()
{
OpenScene( “GameE04“ );
}
[MenuItem( “Open Scene/E05 - EditorWindow“ )]
public static void OpenE05()
{
OpenScene( “GameE05“ );
}
[MenuItem( “Open Scene/E06 - Handles“ )]
public static void OpenE06()
{
OpenScene( “GameE06“ );
}
[MenuItem( “Open Scene/E07 - Handles GUI“ )]
public static void OpenE07()
{
OpenScene( “GameE07“ );
}
[MenuItem( “Open Scene/E08 - Add and Remove objects“ )]
public static void OpenE08()
{
OpenScene( “GameE08“ );
}
[MenuItem( “Open Scene/E09 - scriptable object“ )]
public static void OpenE09()
{
OpenScene( “GameE09“ );
}
static void OpenScene( string name )
{
if( EditorSceneManager.SaveCurrentModifiedScenesIfUserWantsTo() == true )
{
EditorSceneManager.OpenScene( “Assets/“ + name + “.unity“ );
}
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2016-08-22 15:15 MarbleMadnessUnite\
目录 0 2016-08-22 15:15 MarbleMadnessUnite\Assets\
目录 0 2016-08-22 15:15 MarbleMadnessUnite\Assets\AssetStoreTools\
目录 0 2016-08-22 15:15 MarbleMadnessUnite\Assets\AssetStoreTools\Editor\
文件 97280 2016-06-01 11:01 MarbleMadnessUnite\Assets\AssetStoreTools\Editor\AssetStoreTools.dll
目录 0 2016-08-22 15:15 __MACOSX\
目录 0 2016-08-22 15:15 __MACOSX\MarbleMadnessUnite\
目录 0 2016-08-22 15:15 __MACOSX\MarbleMadnessUnite\Assets\
目录 0 2016-08-22 15:15 __MACOSX\MarbleMadnessUnite\Assets\AssetStoreTools\
目录 0 2016-08-22 15:15 __MACOSX\MarbleMadnessUnite\Assets\AssetStoreTools\Editor\
文件 212 2016-06-01 11:01 __MACOSX\MarbleMadnessUnite\Assets\AssetStoreTools\Editor\._AssetStoreTools.dll
文件 268 2016-06-01 11:01 MarbleMadnessUnite\Assets\AssetStoreTools\Editor\AssetStoreTools.dll.me
文件 212 2016-06-01 11:01 __MACOSX\MarbleMadnessUnite\Assets\AssetStoreTools\Editor\._AssetStoreTools.dll.me
文件 4096 2016-06-01 11:01 MarbleMadnessUnite\Assets\AssetStoreTools\Editor\AssetStoreToolsExtra.dll
文件 212 2016-06-01 11:01 __MACOSX\MarbleMadnessUnite\Assets\AssetStoreTools\Editor\._AssetStoreToolsExtra.dll
文件 426 2016-06-01 11:01 MarbleMadnessUnite\Assets\AssetStoreTools\Editor\AssetStoreToolsExtra.dll.me
文件 212 2016-06-01 11:01 __MACOSX\MarbleMadnessUnite\Assets\AssetStoreTools\Editor\._AssetStoreToolsExtra.dll.me
文件 117072 2016-06-01 11:01 MarbleMadnessUnite\Assets\AssetStoreTools\Editor\DroidSansMono.ttf
文件 212 2016-06-01 11:01 __MACOSX\MarbleMadnessUnite\Assets\AssetStoreTools\Editor\._DroidSansMono.ttf
文件 344 2016-06-01 11:01 MarbleMadnessUnite\Assets\AssetStoreTools\Editor\DroidSansMono.ttf.me
文件 212 2016-06-01 11:01 __MACOSX\MarbleMadnessUnite\Assets\AssetStoreTools\Editor\._DroidSansMono.ttf.me
文件 11078 2016-06-01 11:01 MarbleMadnessUnite\Assets\AssetStoreTools\Editor\icon.png
文件 212 2016-06-01 11:01 __MACOSX\MarbleMadnessUnite\Assets\AssetStoreTools\Editor\._icon.png
文件 1121 2016-06-01 11:01 MarbleMadnessUnite\Assets\AssetStoreTools\Editor\icon.png.me
文件 212 2016-06-01 11:01 __MACOSX\MarbleMadnessUnite\Assets\AssetStoreTools\Editor\._icon.png.me
文件 212 2016-08-22 15:15 __MACOSX\MarbleMadnessUnite\Assets\AssetStoreTools\._Editor
文件 191 2016-06-01 11:01 MarbleMadnessUnite\Assets\AssetStoreTools\Editor.me
文件 212 2016-06-01 11:01 __MACOSX\MarbleMadnessUnite\Assets\AssetStoreTools\._Editor.me
文件 212 2016-08-22 15:15 __MACOSX\MarbleMadnessUnite\Assets\._AssetStoreTools
文件 191 2016-06-01 11:01 MarbleMadnessUnite\Assets\AssetStoreTools.me
文件 212 2016-06-01 11:01 __MACOSX\MarbleMadnessUnite\Assets\._AssetStoreTools.me
............此处省略440个文件信息
相关资源
-
firstob
ject xm l editor-xm l查看器 - arduino与Unity串口通讯.docx
- untiyPC端窗口最前
- LitJson修改版,Unity支持float数据类型
- Unity图片切换轮播功能
- Main.unity
- PrintImage.exe是一个调用打印机后台打印
- 一个简易行文本编辑器的实现
- unity汉化包,中文补丁
- CYC.unity
- BIN文件修改,比较编辑器,亲测 好用
- 航母模型,unity模型
- 跑酷游戏泰课教程 Escape From The Earth
- 炉石传说-卡牌游戏开发视频教程源码
- 自动驾驶UNITY源代码
- 操作系统实验全部题目+完整代码:
- 翻页效果 书翻页
- opencvforunity最新版
- Sprite Mask 1.4
- Unity粒子特效特效 100种 包含20个插件
- activiti将用户输入框修改为弹出选择框
- (接入华为sdk for unity) eclipse部分
- unity 5.x 3D游戏开发案例
- unity3d恐怖游戏开发模板
- Obfuscator v2.0.4Unity代码混淆2018.4亲测可
- Unity3D 3D温度图
- unity中StormEffects天气特效
- 2D Pathfinding.zip
- 基于UDP协议的unity客户端,内涵服务端
- pointCloud
评论
共有 条评论