A class in Root.Township, Alta.Inventory.
Pooled visual for a dock: the bubble mesh, its filter and a 3D count label.
Constructors
| Member | What it is |
|---|
PooledDockVisual() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
4 private and internal fields
| Member | What it is |
|---|
private TextRenderer countLabel3D | Backing field for CountLabel3D. |
private Mesh defaultAndroidMesh | Default mesh for the dock on Android (renamed from defaultMesh). |
private MeshRenderer dockBubble | Backing field for DockBubble. |
private MeshFilter dockFilter | Backing field for DockFilter. |
Properties
| Member | What it is |
|---|
TextRenderer CountLabel3D { get; } | 3D text showing the docked count. |
MeshRenderer DockBubble { get; } | Renderer for the dock bubble. |
MeshFilter DockFilter { get; } | Mesh filter for the dock shape. |
Methods
| Member | What it is |
|---|
override void Release() | Clears the count label and returns the visual to its pool. |
Used in
Members of other types that take, return or hold a PooledDockVisual: