private void Update() { SetBall(); if (!CheckTrigger()) { return; } ball.ChangeType(thisType); }
private void Update() { SetBall(); if (!(_ballPos.y < transform.position.y - transform.localScale.y / 2)) { return; } //Spawn Ball _ball.ChangeType(PlayerType.Player); SpawnManager.instance.SpawnBall(); }