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

ESets an objects scale based on the platform. More...

Inheritance diagram for PlatformerPro.MultiPlatformScaler:

Public Attributes

Vector3 scalingFactor = Vector3.one
 How much should the object be scaled? More...
 
MultiPlatformEnablerCondition[] conditions
 The conditions to check. More...
 

Protected Member Functions

virtual void DoActions ()
 Do the actionsfor the matched conditions. More...
 
virtual bool IsMatched (MultiPlatformEnablerCondition c)
 Returns true if the condition applies. More...
 

Detailed Description

ESets an objects scale based on the platform.

Member Function Documentation

◆ DoActions()

virtual void PlatformerPro.MultiPlatformScaler.DoActions ( )
protectedvirtual

Do the actionsfor the matched conditions.

◆ IsMatched()

virtual bool PlatformerPro.MultiPlatformScaler.IsMatched ( MultiPlatformEnablerCondition  c)
protectedvirtual

Returns true if the condition applies.

Returns
true if the condition is matched; otherwise, false.
Parameters
cCondition.

Member Data Documentation

◆ conditions

MultiPlatformEnablerCondition [] PlatformerPro.MultiPlatformScaler.conditions

The conditions to check.

◆ scalingFactor

Vector3 PlatformerPro.MultiPlatformScaler.scalingFactor = Vector3.one

How much should the object be scaled?


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