// Start is called before the first frame update void Start() { handCannon = FindObjectOfType <HandCannon>(); Debug.Log("CurrentUpgradeVisual instantiated"); updateCannonDamageVisuals(0, handCannon.GetMaxWeaponDamage(), GameObject.Find("BuyMenu").GetComponent <Shop>().get_UPGRADE_COST()); }
// Start is called before the first frame update void Start() { handCannon = FindObjectOfType <HandCannon>(); Debug.Log("CurrentUpgradeVisual instantiated"); updateCannonReloadTimeVisuals(0, handCannon.GetTimeBetweenAttacks(), GameObject.Find("BuyMenu").GetComponent <Shop>().get_UPGRADE_COST()); }