C# Class UnityPlatformer.Box

Box Tile A box is a combination of a Character and MovingPlatform.
Inheritance: UnityEngine.MonoBehaviour
显示文件 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_oe property

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

boxMovingPlatform public_oe property

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