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

Validate layer settings More...

Inheritance diagram for PlatformerPro.Validation.ValidateLayers:
PlatformerPro.Validation.IValidator

Public Member Functions

List< ValidationResult > Validate ()
 Apply this validation to the scene. More...
 
List< ValidationResult > Validate (Character c)
 

Protected Member Functions

List< ValidationResult > CheckMaxLayer ()
 Validates if the max layer is under 15. More...
 
List< ValidationResult > CheckGeometryLayers (Character c)
 Checks that character layers arent not outside the bounds of the typical layer settings. More...
 

Static Protected Attributes

const int EXPECTED_MAX_LAYER = 15
 

Detailed Description

Validate layer settings

Member Function Documentation

◆ CheckGeometryLayers()

List<ValidationResult> PlatformerPro.Validation.ValidateLayers.CheckGeometryLayers ( Character  c)
protected

Checks that character layers arent not outside the bounds of the typical layer settings.

◆ CheckMaxLayer()

List<ValidationResult> PlatformerPro.Validation.ValidateLayers.CheckMaxLayer ( )
protected

Validates if the max layer is under 15.

◆ Validate() [1/2]

List<ValidationResult> PlatformerPro.Validation.ValidateLayers.Validate ( )

Apply this validation to the scene.

Implements PlatformerPro.Validation.IValidator.

◆ Validate() [2/2]

List<ValidationResult> PlatformerPro.Validation.ValidateLayers.Validate ( Character  c)

Member Data Documentation

◆ EXPECTED_MAX_LAYER

const int PlatformerPro.Validation.ValidateLayers.EXPECTED_MAX_LAYER = 15
staticprotected

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