void ShowVitals(){ GUILayout.Label("Vitals State "+myPatient.VITAL_STATE); if (vbm==null){ vbm = FindObjectOfType(typeof(VitalsBehaviorManager)) as VitalsBehaviorManager; } if (vbm != null) vbm.OnInspectorGUI(); }
void Awake() { if (instance == null) instance = this; else enabled = false; }