C# Class UnityPlatformer.ItemMovingPlatformController

Inheritance: Item
Show file Open project: llafuente/unity-platformer

Public Properties

Property Type Description
onUse MovingPlatformActions
targets List

Public Methods

Method Description
IsUsableBy ( Character p ) : bool

Can be used by any character

Use ( Character p ) : void

When use operate over given targets

Method Details

IsUsableBy() public method

Can be used by any character
public IsUsableBy ( Character p ) : bool
p Character
return bool

Use() public method

When use operate over given targets
public Use ( Character p ) : void
p Character
return void

Property Details

onUse public property

Action that Moving Platform will do
public MovingPlatformActions onUse
return MovingPlatformActions

targets public property

Moving Platforms that will be affected
public List targets
return List