void OnEnable() { window = this; titleContent = new GUIContent("Export Take" + (take == null ? "s" : "")); minSize = new Vector2(190f, 120f); }
void OnEnable() { window = this; #if UNITY_5 titleContent = new GUIContent("Export Take" + (take == null ? "s" : "")); #else title = "Export Take" + (take == null ? "s" : ""); #endif minSize = new Vector2(190f, 120f); }
void OnDisable() { window = null; }