Created
April 14, 2018 12:25
-
-
Save todorok1/b1e596502fa2219a450aa8e7438ab73e to your computer and use it in GitHub Desktop.
Unityチュートリアル・落下判定を行うスクリプト。
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
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