예제 #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);
        }