void OneTwinKilled() { GameObject textPopup = Instantiate(textPopupComponent, playerControl.transform.position + new Vector3(0.5f, 0.5f, 0), Quaternion.identity); DamagePopup textPopupObj = textPopup.GetComponent <DamagePopup>(); textPopupObj.SetUpTwinOneBeat(); Destroy(textPopup, 8f); if (hRGuyFredWeaponObj != null) { hRGuyFredWeaponObj.numProjectiles += 4; hRGuyFredWeaponObj.fireEffect += 4; hRGuyFredWeaponObj.sizeIncrease += 0.75f; } if (hRGuyJackWeaponObj != null) { hRGuyJackWeaponObj.numProjectiles += 4; hRGuyJackWeaponObj.fireEffect += 4; hRGuyJackWeaponObj.sizeIncrease += 0.75f; } twinBossDialogState = TwinBossDialogState.ONE_DIED; }