/// <summary> /// 设置触发器连接对象 /// </summary> /// <param name="args"></param> /// <returns></returns> public static UserDelegateTriggleLinker SetTriggleLinker(params object[] args) { UserDelegateTriggleLinker triggleLinker = new UserDelegateTriggleLinker(); triggleLinker.mTriggles = args; for (int i = 0; i < args.Length; i++) { UserDelegateTriggle triggle = args[i] as UserDelegateTriggle; if (triggle != null) { ///设置触发器的连接者 triggle.SetTriggleLinker(triggleLinker); } } return(triggleLinker); }
/// <summary> /// 清空触发器的所有信息 /// </summary> public void Clear() { mactionud = null; mactionud = null; mTriggleLinker = null; }
public void SetTriggleLinker(UserDelegateTriggleLinker triggleLinker) { mTriggleLinker = triggleLinker; }