C# 클래스 CharacterMove, EdgeOfInfinity

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

공개 프로퍼티들

프로퍼티 타입 설명
autoWalk bool
avoidsLedges bool
deathTime float
dropDistanceBeforeDeath float
falling bool
isMovingRight bool
myWaitPlatform WaitPlatform
previousPosition Vector3
speed float

보호된 프로퍼티들

프로퍼티 타입 설명
distanceFallen float
inWater bool
myAnimator Animator
myCollider Collider2D
myRenderer SpriteRenderer
myRigidbody Rigidbody2D
prevPos Vector3

공개 메소드들

메소드 설명
FixedUpdate ( ) : void
OnCollisionEnter2D ( Collision2D coll ) : void
OnTriggerEnter2D ( Collider2D coll ) : void
Start ( ) : void
Update ( ) : void
die ( ) : void
reverseDirection ( ) : void
stop ( ) : void
walkToAndStop ( Vector2 pos ) : IEnumerator

메소드 상세

FixedUpdate() 공개 메소드

public FixedUpdate ( ) : void
리턴 void

OnCollisionEnter2D() 공개 메소드

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

OnTriggerEnter2D() 공개 메소드

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

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

die() 공개 메소드

public die ( ) : void
리턴 void

reverseDirection() 공개 메소드

public reverseDirection ( ) : void
리턴 void

stop() 공개 메소드

public stop ( ) : void
리턴 void

walkToAndStop() 공개 메소드

public walkToAndStop ( Vector2 pos ) : IEnumerator
pos Vector2
리턴 IEnumerator

프로퍼티 상세

autoWalk 공개적으로 프로퍼티

public bool autoWalk
리턴 bool

avoidsLedges 공개적으로 프로퍼티

public bool avoidsLedges
리턴 bool

deathTime 공개적으로 프로퍼티

public float deathTime
리턴 float

distanceFallen 보호되어 있는 프로퍼티

protected float distanceFallen
리턴 float

dropDistanceBeforeDeath 공개적으로 프로퍼티

public float dropDistanceBeforeDeath
리턴 float

falling 공개적으로 프로퍼티

public bool falling
리턴 bool

inWater 보호되어 있는 프로퍼티

protected bool inWater
리턴 bool

isMovingRight 공개적으로 프로퍼티

public bool isMovingRight
리턴 bool

myAnimator 보호되어 있는 프로퍼티

protected Animator myAnimator
리턴 Animator

myCollider 보호되어 있는 프로퍼티

protected Collider2D myCollider
리턴 Collider2D

myRenderer 보호되어 있는 프로퍼티

protected SpriteRenderer myRenderer
리턴 SpriteRenderer

myRigidbody 보호되어 있는 프로퍼티

protected Rigidbody2D myRigidbody
리턴 Rigidbody2D

myWaitPlatform 공개적으로 프로퍼티

public WaitPlatform myWaitPlatform
리턴 WaitPlatform

prevPos 보호되어 있는 프로퍼티

protected Vector3 prevPos
리턴 Vector3

previousPosition 공개적으로 프로퍼티

public Vector3 previousPosition
리턴 Vector3

speed 공개적으로 프로퍼티

public float speed
리턴 float