标签:color class 技术分享 images other pre alt deb ide
using UnityEngine; using System.Collections; public class PlayerTrigger : MonoBehaviour { void OnTriggerEnter(Collider other) { Debug.Log ("Enter"); } void OnTriggerStay(Collider other) { Debug.Log("Stay"); } void OnTriggerExit(Collider other) { Debug.Log ("Exit"); } }
标签:color class 技术分享 images other pre alt deb ide
原文地址:http://www.cnblogs.com/VR-1024/p/6011194.html