Platformer Pro  2.3.2
A platform game kit for Unity.
PlatformerPro.TriggerTarget Class Reference

Holds receiver data. More...

Public Attributes

GameObject receiver
 The GameObject that receives the triggers action. More...
 
TriggerActionType enterAction
 The action that triggers when the character enters the trigger. More...
 
TriggerActionType leaveAction
 The action that triggers when the character leaves the proximity. More...
 
Platform platform
 Cached platform reference. More...
 
CameraZone cameraZone
 Cached camera zone reference. More...
 
Sprite newSprite
 Sprite to use when swtiching sprites. More...
 
TriggerCombiner combiner
 Cached combiner reference. More...
 
bool fireWhenOn
 If true this action only fires when the trigger is on. If false it will only fire when the trigger is off. More...
 

Detailed Description

Holds receiver data.

Member Data Documentation

◆ cameraZone

CameraZone PlatformerPro.TriggerTarget.cameraZone

Cached camera zone reference.

◆ combiner

TriggerCombiner PlatformerPro.TriggerTarget.combiner

Cached combiner reference.

◆ enterAction

TriggerActionType PlatformerPro.TriggerTarget.enterAction

The action that triggers when the character enters the trigger.

◆ fireWhenOn

bool PlatformerPro.TriggerTarget.fireWhenOn

If true this action only fires when the trigger is on. If false it will only fire when the trigger is off.

◆ leaveAction

TriggerActionType PlatformerPro.TriggerTarget.leaveAction

The action that triggers when the character leaves the proximity.

◆ newSprite

Sprite PlatformerPro.TriggerTarget.newSprite

Sprite to use when swtiching sprites.

◆ platform

Platform PlatformerPro.TriggerTarget.platform

Cached platform reference.

◆ receiver

GameObject PlatformerPro.TriggerTarget.receiver

The GameObject that receives the triggers action.


The documentation for this class was generated from the following file: