/// <summary> /// 機能の登録 /// </summary> public void Register(ICustomBehaviourCollection collection, IEnumerable <ICustomBehaviour> behaviours, bool isInitialize) { foreach (var behaviour in behaviours) { Register(collection, behaviour, isInitialize); } }
public void Register(ICustomBehaviourCollection collection, ICustomBehaviour behaviour, bool isInitialize) { behaviour.Register(collection); _behaviours.Add(behaviour); behaviour.AddTo(CompositeDisposable); if (isInitialize) { behaviour.Initialize(); } }
public override void Register(ICustomBehaviourCollection owner) { base.Register(owner); owner.AddCustomComponent <ITimelinePlayer>(this); }
public virtual void Register(ICustomBehaviourCollection owner) { Owner = owner; }