public static void DoSomethingC(out SampleStructB value) { SampleStruct local; DoSomethingA(out local); value = local; }
void OnGUI() { this.window.Show(() => { this.sampleStructA = (SampleStructA)this.fieldGUISampleStructA.Show(); this.sampleStructB = (SampleStructB)this.fieldGUISampleStructB.Show(); // NOTE: // These are not working correctly. //this.fieldGUISampleStructA.Show(); //this.fieldGUISampleStructB.Show(); }); }