protected override void OnEnable() { //Initialize our property groups if (normal == null) { normal = new NormalPropertyGroup(this); } base.OnEnable(); }
protected override void OnEnable() { //Initialize our property groups if (albedo == null) { albedo = new AlbedoPropertyGroup(this); } if (specular == null) { specular = new SpecularPropertyGroup(this); } if (normal == null) { normal = new NormalPropertyGroup(this); } if (emissive == null) { emissive = new EmissivePropertyGroup(this); } base.OnEnable(); }
protected override void OnEnable() { //Initialize our property groups if (albedo == null) { albedo = new AlbedoPropertyGroup(this); } if (metallic == null) { metallic = new MetallicPropertyGroup(this); } if (normal == null) { normal = new NormalPropertyGroup(this); } if (emissive == null) { emissive = new EmissivePropertyGroup(this); } base.OnEnable(); }