Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// メンバ変数に追加
// 落下判定用オブジェクトのタグ
string fallCheckerTag = "FallChecker";
// 間は省略
void OnTriggerEnter(Collider other){
// 衝突した相手のタグを確認する
if (other.gameObject.tag == fallCheckerTag){
// 相手が落下判定用オブジェクトだった時の処理
isBoostPressed = true;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.