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