PlatformHeightOffset
A struct in Root.Township, the global namespace.
A player height offset for one set of platforms, listed in PlatformHeightOffsetSettings.
- Listed in Global namespace: P
Constructors
| Member | What it is |
|---|---|
PlatformHeightOffset(PlatformFlags platform, float offset) | Creates a PlatformHeightOffset from platform and offset. |
Fields
2 private and internal fields
| Member | What it is |
|---|---|
private float offset | Backing field for Offset. |
private PlatformFlags platform | Platforms this offset applies to. |
Properties
| Member | What it is |
|---|---|
bool IsActive { get; } | Whether the running platform matches. |
float Offset { get; } | Height offset to apply on that platform. |
Used in
Members of other types that take, return or hold a PlatformHeightOffset: