void OnEnable() { window = this; #if UNITY_5 titleContent = new GUIContent("Options"); #else title = "Options"; #endif minSize = new Vector2(545f, 365f); maxSize = new Vector2(1000f, this.minSize.y); loadAnimatorData(); oData = AMOptionsFile.loadFile(); //if(aData) exportTakeIndex = aData.GetTakeIndex(AMTimeline.window.currentTake); }
void OnDisable() { window = null; }