PlatformComponents.PlatformObjectSetup
A private class in Root.Township, the global namespace. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.
A list of components kept only on certain platforms. Baking destroys them on any other platform.
- Listed in Global namespace: P
- Nested in
PlatformComponents
Constructors
| Member | What it is |
|---|---|
PlatformObjectSetup() | Creates a PlatformComponents.PlatformObjectSetup with default values. |
Fields
2 private and internal fields
| Member | What it is |
|---|---|
private PlatformFlags targetPlatforms | The platforms that keep the components. Defaults to Windows. |
private Component[] targets | The components to keep or destroy. |
Methods
| Member | What it is |
|---|---|
void Bake() | Destroys every target component unless the current runtime platform is one of targetPlatforms. |
Used in
Members of other types that take, return or hold a PlatformObjectSetup: