示例#1
0
 /// <summary>
 /// 应用HT行为类的对象路径定义
 /// </summary>
 /// <param name="behaviour">HT行为类实例</param>
 /// <param name="fieldInfos">所有自动化字段</param>
 public static void ApplyObjectPath(HTBehaviour behaviour, FieldInfo[] fieldInfos)
 {
     ApplyObjectPath(behaviour, behaviour.gameObject, fieldInfos);
 }
示例#2
0
 /// <summary>
 /// 应用HT行为类的数据绑定
 /// </summary>
 /// <param name="behaviour">HT行为类实例</param>
 /// <param name="fieldInfos">所有自动化字段</param>
 public static void ApplyDataBinding(HTBehaviour behaviour, FieldInfo[] fieldInfos)
 {
     ApplyDataBinding(behaviour, behaviour, fieldInfos);
 }