C# 클래스 UnityPlatformer.TestInputPatrolLadder

Input for automated tests * Move right until wall, then move left * If found a ladder climb
상속: UnityEngine.MonoBehaviour
파일 보기 프로젝트 열기: llafuente/unity-platformer

공개 메소드들

메소드 설명
OnInstancePrefab ( InstancePrefab prefab ) : void

Listen InstancePrefab SendMessage and start logic

비공개 메소드들

메소드 설명
ContinueMoving ( ) : void

resume horizontal movement this prevent to get stuck in a vine (where top is not reachable)

OnAreaChange ( Areas before, Areas after ) : void

Listen area changes if enter ladder climb if leave ladder resume horizontal movement

OnLeftWall ( ) : void

Character hit a wall, move in the other direction

OnRightWall ( ) : void

Character hit a wall, move in the other direction

메소드 상세

OnInstancePrefab() 공개 메소드

Listen InstancePrefab SendMessage and start logic
public OnInstancePrefab ( InstancePrefab prefab ) : void
prefab InstancePrefab
리턴 void