Method | Description | |
---|---|---|
OnInstancePrefab ( |
Listen InstancePrefab SendMessage and start logic
|
Method | Description | |
---|---|---|
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
|
public OnInstancePrefab ( |
||
prefab | ||
return | void |