摘要:
using UnityEngine; using System.Collections; public class destroy : MonoBehaviour { void Start () { print("start"); destroyObject(); //destroyImmediateObj(); ... 阅读全文
posted @ 2016-07-19 00:13
吴筱军
阅读(419)
评论(0)
推荐(0)
摘要:
using UnityEngine; using System.Collections; public class hitCheck : MonoBehaviour { //两个物体能发生碰撞的条件是:两个都带有collider且其中一个是刚体。 // Use this for initialization void Start () { } ... 阅读全文
posted @ 2016-07-19 00:12
吴筱军
阅读(390)
评论(0)
推荐(0)
摘要:
using UnityEngine; using System.Collections; public class mouse : MonoBehaviour { //private Vector3 lasePos; private Vector3 offSet; private Vector3 ScreenSpace; //1. void OnMous... 阅读全文
posted @ 2016-07-19 00:11
吴筱军
阅读(7045)
评论(0)
推荐(0)
摘要:
using UnityEngine; using System.Collections; public class rigidbody_ : MonoBehaviour { private Rigidbody r; void Start () { //Rigidbody rb = GetComponent(); //float mass = rb... 阅读全文
posted @ 2016-07-19 00:07
吴筱军
阅读(286)
评论(0)
推荐(0)

浙公网安备 33010602011771号