void OnEnable() { window = this; titleContent = new GUIContent("Options"); 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; }