SetupDemoLayers Class

Summary

Modifies the UnityEngine.Physics2D layers to demonstrate the system without modifying the project settings.
Assembly
PlatformerGameKit.dll
Namespace
PlatformerGameKit
Base Types
  • MonoBehaviour
graph BT Type-->Base0["MonoBehaviour"] Type["SetupDemoLayers"] class Type type-node

Syntax

[AddComponentMenu(Strings.MenuPrefix + "Setup Demo Layers")]
[PlatformerHelpUrl(typeof(SetupDemoLayers))]
[DefaultExecutionOrder(DefaultExecutionOrder)]
public class SetupDemoLayers : MonoBehaviour

Remarks

Documentation: Physics Layers

Attributes

Type Description
AddComponentMenu
PlatformerHelpUrlAttribute [Assert-Conditional] A UnityEngine.HelpURLAttribute which points to Platformer Game Kit's documentation.
DefaultExecutionOrder

Fields

Name Constant Value Summary
DefaultExecutionOrder -32000
Execute first.
static

Methods

Name Value Summary
Awake() void