Last active
November 7, 2022 12:58
-
-
Save saitocastel1900/97867156eed274e682422ef51e7c1da5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void OnTriggerEnter(Collider other) | |
{ | |
//それぞれのヒット処理を呼び出す | |
var hit = other.GetComponent<IIgnited>(); | |
hit?.Ignited(damege, this.gameObject); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment