C# Class UnityPlatformer.TestInputPatrolJumping

Unit test input to move a character * Move right until wall, then move left * always jumping
Inheritance: UnityEngine.MonoBehaviour
Mostrar archivo Open project: llafuente/unity-platformer

Public Methods

Method Description
OnInstancePrefab ( InstancePrefab prefab ) : void

Listen InstancePrefab SendMessage and start logic

Private Methods

Method Description
OnAfterMove ( Character character, float delta ) : void

Continuosly enable jump

OnLeftWall ( ) : void

Character hit a wall, move in the other direction

OnRightWall ( ) : void

Character hit a wall, move in the other direction

Method Details

OnInstancePrefab() public method

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