using UnityEngine;
using System.Collections;
public class Bullet : MonoBehaviour {
// Use this for initialization
void Start () {
rigidbody.AddForce(Vector3.forward * 1000.0f);
}
}
'유니티3D > 예제' 카테고리의 다른 글
miniMap (0) | 2013.08.07 |
---|---|
PlayerCtrl (0) | 2013.08.06 |
MyGizmo.cs (0) | 2013.08.06 |
Spark.cs (0) | 2013.08.06 |
bulletCtrl (0) | 2013.07.25 |