private void OnTriggerEnter(Collider other) { if (other.CompareTag("Finish")) { game.GenerateFinalIslands(); character.PassedFinish = true; } if (other.CompareTag("Wood")) { character.woodCount++; character.GatherWood(other.gameObject); game.IncreasePoint(); } }