void Start() { inv = GameObject.Find("BirdInventory").GetComponent <BirdInventory> (); //get BirdInventory script tooltip = inv.GetComponent <BirdInfo> (); //normal = Resources.Load<Sprite>("Assets/Resources/Sprites/UI/emptyItemBox"); //selectedSprite = Resources.Load<Sprite>("Assets/Resources/Sprites/UI/popupTutorialTextBox"); }
// Use this for initialization void Start() { inv = GameObject.Find("BirdInventory").GetComponent <BirdInventory> (); birdChecker = GameObject.Find("Equipped Bird").GetComponent <EquippedBirdChecker> (); }
// Use this for initialization void Start() { breedPanel = GameObject.Find("Inventory Panel/Breed Panel"); inv = GameObject.Find("BirdInventory").GetComponent <BirdInventory> (); database = GameObject.Find("BirdInventory").GetComponent <BirdDatabase> (); }