private void OnMouseEnter() { if (SoundManager.GetInstance()) { SoundManager.GetInstance().PlaySFX(sfxSelect); } float xPos = transform.position.x; if (type == 7) { xPos -= 1.15f; } upgradeMenu.DisplayDescription(desc, xPos); }
private void OnMouseEnter() { if (SoundManager.GetInstance()) { SoundManager.GetInstance().PlaySFX(sfxSelect); } float xPos = transform.position.x; if (type == 7) { xPos -= 1.15f; } upgradeMenu.DisplayDescription(desc, xPos); }