AndroidLightSettings
A class in Root.Township, the global namespace.
Global settings asset with a mesh and material used to fake point lights on Android (Quest) builds. Get it with GlobalSettings<AndroidLightSettings>.Instance.
- Listed in Global namespace: A to B
- Inherits or implements
GlobalSettings<AndroidLightSettings> - Derived types
AndroidLightSettings - Attributes
GlobalSettings,CreateAssetMenu
Constructors
| Member | What it is |
|---|---|
AndroidLightSettings() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
2 private and internal fields
Methods
| Member | What it is |
|---|---|
static MeshRenderer InitializePointLight(GameObject target) | Adds a MeshFilter and MeshRenderer with the configured mesh and material to the target and returns the renderer. |