This script by default will execute on both editor and runtime.
More...
|
void | OnEnable () |
| Only populate in the editor time. Clear the grid property list allowing it to store new values. More...
|
|
void | OnDisable () |
| Only populate in the editor time. Upon disable, it will capture all the details of tilemap and save it to scriptable objects. This is required to ensure that the updated grid properties gameobject gets saved when the game is saved - otherwise they are not saved. More...
|
|
void | UpdateGridProperties () |
| Goes through the tilemap and captures everything on there. More...
|
|
void | Update () |
|
This script by default will execute on both editor and runtime.
Definition at line 9 of file TilemapGridProperties.cs.
◆ OnDisable()
void TilemapGridProperties.OnDisable |
( |
| ) |
|
|
inlineprivate |
Only populate in the editor time. Upon disable, it will capture all the details of tilemap and save it to scriptable objects. This is required to ensure that the updated grid properties gameobject gets saved when the game is saved - otherwise they are not saved.
Definition at line 37 of file TilemapGridProperties.cs.
◆ OnEnable()
void TilemapGridProperties.OnEnable |
( |
| ) |
|
|
inlineprivate |
Only populate in the editor time. Clear the grid property list allowing it to store new values.
Definition at line 19 of file TilemapGridProperties.cs.
◆ Update()
void TilemapGridProperties.Update |
( |
| ) |
|
|
inlineprivate |
◆ UpdateGridProperties()
void TilemapGridProperties.UpdateGridProperties |
( |
| ) |
|
|
inlineprivate |
◆ m_GridBoolProperty
GridBoolProperty TilemapGridProperties.m_GridBoolProperty = GridBoolProperty.Diggable |
|
private |
◆ m_GridProperties
◆ m_Tilemap
Tilemap TilemapGridProperties.m_Tilemap |
|
private |
The documentation for this class was generated from the following file: