C# 클래스 bullet, Project-ROB

상속: MonoBehaviour
파일 보기 프로젝트 열기: spooty89/Project-ROB 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
direction Vector3
maxTime float
shooter GameObject
speed float

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Awake ( ) : void
Hit ( GameObject hit ) : void
OnCollisionEnter ( Collision hit ) : void
OnDestroy ( ) : void
OnTriggerEnter ( Collider hit ) : void
Update ( ) : void
bullet ( Vector3 Direction, GameObject Shooter ) : System.Collections
bullet ( Vector3 Direction, float Speed, GameObject Shooter ) : System.Collections
bullet ( Vector3 Direction, float Speed, float MaxTime, GameObject Shooter ) : System.Collections

메소드 상세

Awake() 공개 메소드

public Awake ( ) : void
리턴 void

Hit() 공개 메소드

public Hit ( GameObject hit ) : void
hit GameObject
리턴 void

OnCollisionEnter() 공개 메소드

public OnCollisionEnter ( Collision hit ) : void
hit Collision
리턴 void

OnDestroy() 공개 메소드

public OnDestroy ( ) : void
리턴 void

OnTriggerEnter() 공개 메소드

public OnTriggerEnter ( Collider hit ) : void
hit Collider
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

bullet() 공개 메소드

public bullet ( Vector3 Direction, GameObject Shooter ) : System.Collections
Direction Vector3
Shooter GameObject
리턴 System.Collections

bullet() 공개 메소드

public bullet ( Vector3 Direction, float Speed, GameObject Shooter ) : System.Collections
Direction Vector3
Speed float
Shooter GameObject
리턴 System.Collections

bullet() 공개 메소드

public bullet ( Vector3 Direction, float Speed, float MaxTime, GameObject Shooter ) : System.Collections
Direction Vector3
Speed float
MaxTime float
Shooter GameObject
리턴 System.Collections

프로퍼티 상세

direction 공개적으로 프로퍼티

public Vector3 direction
리턴 Vector3

maxTime 공개적으로 프로퍼티

public float maxTime
리턴 float

shooter 공개적으로 프로퍼티

public GameObject shooter
리턴 GameObject

speed 공개적으로 프로퍼티

public float speed
리턴 float