コード例 #1
0
        public void Register(ICustomBehaviourCollection collection, ICustomBehaviour behaviour, bool isInitialize)
        {
            behaviour.Register(collection);

            _behaviours.Add(behaviour);

            behaviour.AddTo(CompositeDisposable);

            if (isInitialize)
            {
                behaviour.Initialize();
            }
        }
コード例 #2
0
 void ICustomBehaviourCollection.Register(ICustomBehaviour behaviour) => _core.Register(this, behaviour, true);