コード例 #1
0
        static ComponentFactory()
        {
            CmponentTypes = ObjectTypeStorage.GetTypes <BaseComponent>();
            var rpositoryTypes = ObjectTypeStorage.GetTypes <IRpository>();

            foreach (var type in rpositoryTypes)
            {
                CmponentTypes.Add(type);
            }
        }
コード例 #2
0
        public override void Awake()
        {
            var types = ObjectTypeStorage.GetTypes <BaseEntity>();

            SetPropertiesName(types);
        }