AddressableLoader
A class in Root.Township, the global namespace.
Loads an Addressables prefab and instantiates it under itself, only on the chosen platforms.
- Listed in Global namespace: A to B
- Inherits or implements
MonoBehaviour
Constructors
| Member | What it is |
|---|---|
AddressableLoader() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
2 private and internal fields
| Member | What it is |
|---|---|
private AssetReference targetAddressable | The addressable prefab to load. |
private PlatformFlags targetPlatform | Platforms this runs on. |