Skip to content

Instantly share code, notes, and snippets.

@todorok1
Created April 14, 2018 12:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save todorok1/b1e596502fa2219a450aa8e7438ab73e to your computer and use it in GitHub Desktop.
Save todorok1/b1e596502fa2219a450aa8e7438ab73e to your computer and use it in GitHub Desktop.
Unityチュートリアル・落下判定を行うスクリプト。
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TriggerChecker : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
void OnTriggerEnter(Collider other){
Debug.Log("TriggerChecker : OnTriggerEnterが呼ばれた");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment