Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
private void OnTriggerEnter(Collider other) { switch (other.gameObject.tag) { case "Collectable": Collectable?.Invoke(other); break; case "Lives": Lives?.Invoke(other); break; case "Checkpoint": Checkpoint?.Invoke(other); break; } }