// Use this for initialization void Start() { //get the stats thing we are working with to get the enemies. Stats = GameObject.Find("LE_SCRIPTS").GetComponent<LE_Stats_Controller>(); //set up using the gem holder. Ally_Sprite_Table = GameObject.Find("LE_Gem_Holder_Background"); }
//This is called when the menu is enabled. private void Starting_GUI_Pre_Stuff() { //get the stats thing we are working with to get the enemies. Stats = GameObject.Find("LE_SCRIPTS").GetComponent<LE_Stats_Controller>(); //set the start to false since we started it. b_StartingGUI = false; //set the scroll amount f_scroll = 0; //set the enabled to true since we are not starting. b_Enabled = true; }