VisibilityData
A class in Root.Township, Alta.Scrapper.Data.
A hashed scrapper asset holding one on or off value for mesh renderers. A Visibility component applies it and syncs it by hash.
- Listed in Crafting and making
- Inherits or implements
HashedGeneralValue<VisibilityData> - Derived types
VisibilityData,VisibilityData.Create - Nested types
Create - Attributes
HashedPath
Constructors
| Member | What it is |
|---|---|
VisibilityData() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
Properties
| Member | What it is |
|---|---|
bool Enabled { get; } | Whether the renderers should be shown. |
Methods
| Member | What it is |
|---|---|
void SaveData(bool enabled) | Sets the stored enabled value. |
Used in
Members of other types that take, return or hold a VisibilityData: