void Build() { var customTypeComponent = new GenericExample <CustomType>(); customTypeComponent.PublicGetPublicSet = new CustomType(); m_InspectorService.Register(++Id, new object[] { new GenericExample <bool>(), new GenericExample <byte>(), new GenericExample <sbyte>(), new GenericExample <short>(), new GenericExample <ushort>(), new GenericExample <int>(), new GenericExample <uint>(), new GenericExample <long>(), new GenericExample <ulong>(), new GenericExample <char>(), new GenericExample <string>(), new GenericExample <TestEnum>(), new GenericExample <float>(), new GenericExample <double>(), new GenericExample <Vector2>(), new GenericExample <Vector3>(), new CustomDrawerTestComponent(), customTypeComponent, }); }
static void Main(string[] args) { NonGenericExample nga = new NonGenericExample(); GenericExample ga = new GenericExample(); Console.WriteLine("Press Any key..."); Console.ReadLine(); }