C# 클래스 MovimientoAleatorioCivil, ES2015C

상속: MonoBehaviour
파일 보기 프로젝트 열기: jgirald/ES2015C

공개 프로퍼티들

프로퍼티 타입 설명
anim Animator
directionChangeInterval float
maxHeadingChange float
speed float

Private Properties

프로퍼티 타입 설명
NewHeadingRoutine IEnumerator

공개 메소드들

메소드 설명
Awake ( ) : void
NewHeading ( ) : void

Calculates a new direction to move towards.

OnControllerColliderHit ( ControllerColliderHit hit ) : void
Update ( ) : void

비공개 메소드들

메소드 설명
NewHeadingRoutine ( ) : IEnumerator

Repeatedly calculates a new direction to move towards. Use this instead of MonoBehaviour.InvokeRepeating so that the interval can be changed at runtime.

메소드 상세

Awake() 공개 메소드

public Awake ( ) : void
리턴 void

NewHeading() 공개 메소드

Calculates a new direction to move towards.
public NewHeading ( ) : void
리턴 void

OnControllerColliderHit() 공개 메소드

public OnControllerColliderHit ( ControllerColliderHit hit ) : void
hit UnityEngine.ControllerColliderHit
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

anim 공개적으로 프로퍼티

public Animator anim
리턴 Animator

directionChangeInterval 공개적으로 프로퍼티

public float directionChangeInterval
리턴 float

maxHeadingChange 공개적으로 프로퍼티

public float maxHeadingChange
리턴 float

speed 공개적으로 프로퍼티

public float speed
리턴 float