C# 클래스 GrappleScript, GrapplingHookFighters

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

공개 프로퍼티들

프로퍼티 타입 설명
breakTime float
center Transform
disconnectMe bool
focus GameObject
grappleState int

공개 메소드들

메소드 설명
Attach ( GameObject g ) : void
Detach ( ) : void
Launch ( Vector2 firingVector ) : void
OnCollisionEnter2D ( Collision2D col ) : void
OnTriggerEnter2D ( Collider2D col ) : void
Release ( ) : void
ResetLast ( ) : void
Start ( ) : void
Update ( ) : void

메소드 상세

Attach() 공개 메소드

public Attach ( GameObject g ) : void
g GameObject
리턴 void

Detach() 공개 메소드

public Detach ( ) : void
리턴 void

Launch() 공개 메소드

public Launch ( Vector2 firingVector ) : void
firingVector Vector2
리턴 void

OnCollisionEnter2D() 공개 메소드

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

OnTriggerEnter2D() 공개 메소드

public OnTriggerEnter2D ( Collider2D col ) : void
col UnityEngine.Collider2D
리턴 void

Release() 공개 메소드

public Release ( ) : void
리턴 void

ResetLast() 공개 메소드

public ResetLast ( ) : void
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

breakTime 공개적으로 프로퍼티

public float breakTime
리턴 float

center 공개적으로 프로퍼티

public Transform center
리턴 Transform

disconnectMe 공개적으로 프로퍼티

public bool disconnectMe
리턴 bool

focus 공개적으로 프로퍼티

public GameObject focus
리턴 GameObject

grappleState 공개적으로 프로퍼티

public int grappleState
리턴 int