C# 클래스 gun, GrapplingHookFighters

상속: MonoBehaviour, item
파일 보기 프로젝트 열기: PurdueSIGGD/GrapplingHookFighters 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
bulletPhys UnityEngine.PhysicsMaterial2D
critGameObject GameObject
deleteEmptyTime float
emptySprite Sprite
playerid int
projectileGameObject GameObject
reticlePos Vector2
shellSprite Sprite
shootPoint Vector3
soundTag string
timeToShoot float
trigger bool

공개 메소드들

메소드 설명
Damage ( Transform t, Vector2 endPoint, Vector2 angle ) : void
Death ( ) : void
NotDeath ( ) : void
OnCollisionEnter2D ( Collision2D col ) : void
SetPlayerID ( int playerid ) : void
Start ( ) : void
Update ( ) : void
click ( ) : void
unclick ( ) : void

비공개 메소드들

메소드 설명
GetOdds ( ) : bool

메소드 상세

Damage() 공개 메소드

public Damage ( Transform t, Vector2 endPoint, Vector2 angle ) : void
t Transform
endPoint Vector2
angle Vector2
리턴 void

Death() 공개 메소드

public Death ( ) : void
리턴 void

NotDeath() 공개 메소드

public NotDeath ( ) : void
리턴 void

OnCollisionEnter2D() 공개 메소드

public OnCollisionEnter2D ( Collision2D col ) : void
col Collision2D
리턴 void

SetPlayerID() 공개 메소드

public SetPlayerID ( int playerid ) : void
playerid int
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

click() 공개 메소드

public click ( ) : void
리턴 void

unclick() 공개 메소드

public unclick ( ) : void
리턴 void

프로퍼티 상세

bulletPhys 공개적으로 프로퍼티

public PhysicsMaterial2D,UnityEngine bulletPhys
리턴 UnityEngine.PhysicsMaterial2D

critGameObject 공개적으로 프로퍼티

public GameObject critGameObject
리턴 GameObject

deleteEmptyTime 공개적으로 프로퍼티

public float deleteEmptyTime
리턴 float

emptySprite 공개적으로 프로퍼티

public Sprite emptySprite
리턴 Sprite

playerid 공개적으로 프로퍼티

public int playerid
리턴 int

projectileGameObject 공개적으로 프로퍼티

public GameObject projectileGameObject
리턴 GameObject

reticlePos 공개적으로 프로퍼티

public Vector2 reticlePos
리턴 Vector2

shellSprite 공개적으로 프로퍼티

public Sprite shellSprite
리턴 Sprite

shootPoint 공개적으로 프로퍼티

public Vector3 shootPoint
리턴 Vector3

soundTag 공개적으로 프로퍼티

public string soundTag
리턴 string

timeToShoot 공개적으로 프로퍼티

public float timeToShoot
리턴 float

trigger 공개적으로 프로퍼티

public bool trigger
리턴 bool