C# 클래스 BulletScript, WaitingForHorus

상속: MonoBehaviour
파일 보기 프로젝트 열기: merveilles/WaitingForHorus 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
TrailAlpha float
accelerationSpeed float
areaOfEffect float
bulletCasingPrefab GameObject
homing float
layerMask LayerMask
lifetime float
recoil float
skinWidth float
speed float
target Transform

공개 메소드들

메소드 설명
Collide ( Transform trans, Vector3 point, Vector3 normal ) : void
DoRecoil ( Vector3 point, bool playerWasHit ) : void
FixedUpdate ( ) : void
OnCollisionEnter ( Collision collision ) : void
OnCollisionStay ( Collision collision ) : void
uLink_OnNetworkInstantiate ( uLink info ) : void

비공개 메소드들

메소드 설명
DoDamageTo ( Transform t, Vector3 point ) : bool

메소드 상세

Collide() 공개 메소드

public Collide ( Transform trans, Vector3 point, Vector3 normal ) : void
trans Transform
point Vector3
normal Vector3
리턴 void

DoRecoil() 공개 메소드

public DoRecoil ( Vector3 point, bool playerWasHit ) : void
point Vector3
playerWasHit bool
리턴 void

FixedUpdate() 공개 메소드

public FixedUpdate ( ) : void
리턴 void

OnCollisionEnter() 공개 메소드

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

OnCollisionStay() 공개 메소드

public OnCollisionStay ( Collision collision ) : void
collision Collision
리턴 void

uLink_OnNetworkInstantiate() 공개 메소드

public uLink_OnNetworkInstantiate ( uLink info ) : void
info uLink
리턴 void

프로퍼티 상세

TrailAlpha 공개적으로 프로퍼티

public float TrailAlpha
리턴 float

accelerationSpeed 공개적으로 프로퍼티

public float accelerationSpeed
리턴 float

areaOfEffect 공개적으로 프로퍼티

public float areaOfEffect
리턴 float

bulletCasingPrefab 공개적으로 프로퍼티

public GameObject bulletCasingPrefab
리턴 GameObject

homing 공개적으로 프로퍼티

public float homing
리턴 float

layerMask 공개적으로 프로퍼티

public LayerMask layerMask
리턴 LayerMask

lifetime 공개적으로 프로퍼티

public float lifetime
리턴 float

recoil 공개적으로 프로퍼티

public float recoil
리턴 float

skinWidth 공개적으로 프로퍼티

public float skinWidth
리턴 float

speed 공개적으로 프로퍼티

public float speed
리턴 float

target 공개적으로 프로퍼티

public Transform target
리턴 Transform