12 2016 档案

摘要:this.gameObject.layer = LayerMask.NameToLayer("KongLong"); 为何这些脚本前边的方框都不见了,是因为这些脚本中没有Start()或者Update() FixedUpdate() OnGUI() 等等方法,测试添加Awake()是无效的 阅读全文
posted @ 2016-12-15 12:28 Fei非非 阅读(675) 评论(0) 推荐(0) 编辑
摘要:using UnityEngine;using System.Collections;using UnityEditor; public class ZYResetTheAnimator : MonoBehaviour { [MenuItem("ZY/ResetTheAnimator")] stat 阅读全文
posted @ 2016-12-10 14:53 Fei非非 阅读(491) 评论(0) 推荐(0) 编辑
摘要://动态添加按钮事件 Button temp = Item.GetComponent<Button>(); temp.onClick.AddListener(delegate () { this.Btn_SelectFileSection_Click(temp.gameObject); }); pu 阅读全文
posted @ 2016-12-09 10:45 Fei非非 阅读(1463) 评论(0) 推荐(0) 编辑