コード例 #1
0
 /// <summary>
 /// 機能の登録
 /// </summary>
 public void Register(ICustomBehaviourCollection collection, IEnumerable <ICustomBehaviour> behaviours, bool isInitialize)
 {
     foreach (var behaviour in behaviours)
     {
         Register(collection, behaviour, isInitialize);
     }
 }
コード例 #2
0
        public void Register(ICustomBehaviourCollection collection, ICustomBehaviour behaviour, bool isInitialize)
        {
            behaviour.Register(collection);

            _behaviours.Add(behaviour);

            behaviour.AddTo(CompositeDisposable);

            if (isInitialize)
            {
                behaviour.Initialize();
            }
        }
コード例 #3
0
ファイル: TimelinePlayer.cs プロジェクト: Toshizabeth/Ling
        public override void Register(ICustomBehaviourCollection owner)
        {
            base.Register(owner);

            owner.AddCustomComponent <ITimelinePlayer>(this);
        }
コード例 #4
0
 public virtual void Register(ICustomBehaviourCollection owner)
 {
     Owner = owner;
 }