Esempio n. 1
0
        public void OnEnable()
        {
            didEnable = true;
            LightList <ProcessedType> typeData = TypeProcessor.GetTemplateTypes();

            List <Type> validTypes = new List <Type>();

            for (int i = 0; i < typeData.size; i++)
            {
                if (typeData[i].rawType.Assembly.FullName.StartsWith("UIForia"))
                {
                    continue;
                }

                validTypes.Add(typeData[i].rawType);
            }

            types = new Type[validTypes.Count];
            names = new string[types.Length];
            for (int i = 0; i < types.Length; i++)
            {
                types[i] = validTypes[i];
                names[i] = validTypes[i].FullName;
            }
        }