public override void OnInspectorGUI() { base.OnInspectorGUI(); CurveZone myObject = (CurveZone)target; if (GUILayout.Button("Save Texture")) { myObject.SaveTexture(); } }
public void Initialize(CurveZone parent) { this.parent = parent; }