摘要: 经过测试只要Animator跟继承monoBehaviour的类A在同一个节点上,就可以注册类A中的public 方法,含0或1个参数(int,float,object,string),注意:只能是0或1个参数using UnityEngine;class TAnim... 阅读全文
posted @ 2017-03-02 17:47 00000000O 阅读(920) 评论(0) 推荐(0)
摘要: using UnityEngine;using System.Collections; public class Try : MonoBehaviour { public class Action : ScriptableObject { ... 阅读全文
posted @ 2017-03-02 17:20 00000000O 阅读(487) 评论(0) 推荐(0)