// Use this for initialization void Start() { controller = GetComponent <InstrumentController>(); // creates and auto fills default values as needed instrumentType = new InstrumentType(type.ToString()); color = instrumentType.DefaultColor; instrument = new Instrument(instrumentName, instrumentType, color, clip); controller.SetInstrumentProperties(instrument); }