Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using UnityEngine;
- using System.Collections;
- public class VaCham : MonoBehaviour {
- // Use this for initialization
- void Start () {
- Debug.Log ("Bat dau");
- }
- // Update is called once per frame
- void Update () {
- Debug.Log ("Cap nhat");
- }
- void OnCollisionEnter (Collision collision)
- {
- Debug.Log ("Enter called.");
- }
- void OnCollisionStay (Collision collision)
- {
- Debug.Log ("Stay called.");
- }
- void OnCollisionExit (Collision collision)
- {
- Debug.Log ("Exit called.");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment