C# 클래스 RunnerBehavior, Demonology

상속: EnemyBehavior
파일 보기 프로젝트 열기: Qlevine20/Demonology 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DeathSound UnityEngine.AudioClip
PlayerSeen UnityEngine.AudioClip
Poof GameObject
charging bool
mobFacingRight bool
pause bool
speed float
targetDist float
wallDist float
whatIsTarget LayerMask
whatIsWall LayerMask

공개 메소드들

메소드 설명
FixedUpdate ( ) : void
Flip ( ) : void
Movement ( Ray2D ry ) : void
OnCollisionEnter2D ( Collision2D other ) : void
OnDeath ( ) : void
OnRespawn ( ) : void
OnTriggerEnter2D ( Collider2D other ) : void
PrepareToCharge ( float num ) : IEnumerator
Recovering ( float num ) : IEnumerator
Seek ( Ray2D ry ) : void
Start ( ) : void
Stunned ( float num ) : IEnumerator

메소드 상세

FixedUpdate() 공개 메소드

public FixedUpdate ( ) : void
리턴 void

Flip() 공개 메소드

public Flip ( ) : void
리턴 void

Movement() 공개 메소드

public Movement ( Ray2D ry ) : void
ry Ray2D
리턴 void

OnCollisionEnter2D() 공개 메소드

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

OnDeath() 공개 메소드

public OnDeath ( ) : void
리턴 void

OnRespawn() 공개 메소드

public OnRespawn ( ) : void
리턴 void

OnTriggerEnter2D() 공개 메소드

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

PrepareToCharge() 공개 메소드

public PrepareToCharge ( float num ) : IEnumerator
num float
리턴 IEnumerator

Recovering() 공개 메소드

public Recovering ( float num ) : IEnumerator
num float
리턴 IEnumerator

Seek() 공개 메소드

public Seek ( Ray2D ry ) : void
ry Ray2D
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Stunned() 공개 메소드

public Stunned ( float num ) : IEnumerator
num float
리턴 IEnumerator

프로퍼티 상세

DeathSound 공개적으로 프로퍼티

public AudioClip,UnityEngine DeathSound
리턴 UnityEngine.AudioClip

PlayerSeen 공개적으로 프로퍼티

public AudioClip,UnityEngine PlayerSeen
리턴 UnityEngine.AudioClip

Poof 공개적으로 프로퍼티

public GameObject Poof
리턴 GameObject

charging 공개적으로 프로퍼티

public bool charging
리턴 bool

mobFacingRight 공개적으로 프로퍼티

public bool mobFacingRight
리턴 bool

pause 공개적으로 프로퍼티

public bool pause
리턴 bool

speed 공개적으로 프로퍼티

public float speed
리턴 float

targetDist 공개적으로 프로퍼티

public float targetDist
리턴 float

wallDist 공개적으로 프로퍼티

public float wallDist
리턴 float

whatIsTarget 공개적으로 프로퍼티

public LayerMask whatIsTarget
리턴 LayerMask

whatIsWall 공개적으로 프로퍼티

public LayerMask whatIsWall
리턴 LayerMask