4、编辑器篇---动作编辑器开始

using UnityEngine;
using UnityEditor;
using System.Collections;

/// <summary>
///     Version:    V1.0
///      Author:    jamesliu 
///Created time:    2017/03/16 Thursday 10:27:34 
/// </summary>
namespace ACTEditor
{
	public class ACTMainWindow :  EditorWindow 
	{
		#region Declarations	

		#endregion

		[MenuItem ("Window/Action Editor")]
		static void Init () 
		{
			EditorWindow.GetWindow (typeof (ACTMainWindow));
		}

		#region Main

		void OnEnable()
		{
			this.title = "Action Editor";
			this.minSize = new Vector2(500,300f);
		}

		#endregion
	}
}


©️2020 CSDN 皮肤主题: 编程工作室 设计师: CSDN官方博客 返回首页
实付0元
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、C币套餐、付费专栏及课程。

余额充值