C# 클래스 UnityPlatformer.AIGoomba

Patrol Artificial inteligence. Does not require Actions but it's recommended\n If no CharacterActionAirMovement it will froze while on air\n If no CharacterActionGroundMovement it will froze while on ground\n
상속: Enemy
파일 보기 프로젝트 열기: llafuente/unity-platformer

공개 프로퍼티들

프로퍼티 타입 설명
initialFacing Facing

공개 메소드들

메소드 설명
OnLeftWall ( ) : void

Move right

OnRightWall ( ) : void

Move left

PlatformerUpdate ( float delta ) : void

Check that the Character do not fall

Start ( ) : void

Listen onLeftWall, onRightWall and start moving

Toogle ( ) : void

Move in the other direction

메소드 상세

OnLeftWall() 공개 메소드

Move right
public OnLeftWall ( ) : void
리턴 void

OnRightWall() 공개 메소드

Move left
public OnRightWall ( ) : void
리턴 void

PlatformerUpdate() 공개 메소드

Check that the Character do not fall
public PlatformerUpdate ( float delta ) : void
delta float
리턴 void

Start() 공개 메소드

Listen onLeftWall, onRightWall and start moving
public Start ( ) : void
리턴 void

Toogle() 공개 메소드

Move in the other direction
public Toogle ( ) : void
리턴 void

프로퍼티 상세

initialFacing 공개적으로 프로퍼티

Initial Facing
public Facing initialFacing
리턴 Facing