protected void CreateBlackHole(Vector3 spawnPoint) { if (!alreadyHit) { BlackHole blackHole = GameObject.Instantiate(data.blackHolePrefab, spawnPoint, Quaternion.identity).GetComponent <BlackHole>(); blackHole.SetupBlackHole(data.blackHoleRadius, player.playerNumber, data.blackHoleGravity, data.blackHoleDuration, player.controller.playerColor); alreadyHit = true; } }