C# Class UnityPlatformer.Box

Box Tile A box is a combination of a Character and MovingPlatform.
Inheritance: UnityEngine.MonoBehaviour
Show file Open project: llafuente/unity-platformer

Public Properties

Property Type Description
boxCharacter Character
boxMovingPlatform MovingPlatform

Public Methods

Method Description
OnEnable ( ) : void

Method Details

OnEnable() public method

public OnEnable ( ) : void
return void

Property Details

boxCharacter public property

Real Body, what is going to be moved
public Character boxCharacter
return Character

boxMovingPlatform public property

Fake MovingPlatform so Character can stand over the box and move with it
public MovingPlatform,UnityPlatformer boxMovingPlatform
return MovingPlatform