C# 클래스 aiController

상속: MonoBehaviour
파일 보기 프로젝트 열기: mezosaurus/eae-project

공개 프로퍼티들

프로퍼티 타입 설명
alertTexture Sprite
alertTimer float
alerted bool
chaseMusic UnityEngine.AudioClip
grabbed bool
normalSpeed float
normalTexture Sprite
nourishment float
panicCooldown float
panicTexture Sprite
panicked bool
player GameObject
runSpeed float

보호된 프로퍼티들

프로퍼티 타입 설명
alertedTime float
moveDir Vector2
nearWall bool
panicTime float
timePanicked float

공개 메소드들

메소드 설명
OnTriggerExit2D ( Collider2D other ) : void
OnTriggerStay2D ( Collider2D other ) : void
Start ( ) : void

메소드 상세

OnTriggerExit2D() 공개 메소드

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

OnTriggerStay2D() 공개 메소드

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

Start() 공개 메소드

public Start ( ) : void
리턴 void

프로퍼티 상세

alertTexture 공개적으로 프로퍼티

public Sprite alertTexture
리턴 Sprite

alertTimer 공개적으로 프로퍼티

public float alertTimer
리턴 float

alerted 공개적으로 프로퍼티

public bool alerted
리턴 bool

alertedTime 보호되어 있는 프로퍼티

protected float alertedTime
리턴 float

chaseMusic 공개적으로 프로퍼티

public AudioClip,UnityEngine chaseMusic
리턴 UnityEngine.AudioClip

grabbed 공개적으로 프로퍼티

public bool grabbed
리턴 bool

moveDir 보호되어 있는 프로퍼티

protected Vector2 moveDir
리턴 Vector2

nearWall 보호되어 있는 프로퍼티

protected bool nearWall
리턴 bool

normalSpeed 공개적으로 프로퍼티

public float normalSpeed
리턴 float

normalTexture 공개적으로 프로퍼티

public Sprite normalTexture
리턴 Sprite

nourishment 공개적으로 프로퍼티

public float nourishment
리턴 float

panicCooldown 공개적으로 프로퍼티

public float panicCooldown
리턴 float

panicTexture 공개적으로 프로퍼티

public Sprite panicTexture
리턴 Sprite

panicTime 보호되어 있는 프로퍼티

protected float panicTime
리턴 float

panicked 공개적으로 프로퍼티

public bool panicked
리턴 bool

player 공개적으로 프로퍼티

public GameObject player
리턴 GameObject

runSpeed 공개적으로 프로퍼티

public float runSpeed
리턴 float

timePanicked 보호되어 있는 프로퍼티

protected float timePanicked
리턴 float