![]() |
TilePlus Version 5
Unity3D Tilemap Extension
|
Used to provide the return value from methods tagged with TptShowCustomGUI. More...
Public Member Functions | |
| CustomGuiReturn (bool refresh, bool delaySceneSave=false, string modifiedField=null) | |
| Ctor. | |
Public Attributes | |
| readonly bool | m_Refresh |
| Refresh the tile? | |
| readonly bool | m_DelaySceneSave |
| Save the scene? | |
| readonly string | m_ModifiedField |
| Any modified fields? If the field had a TPT tag then put the field name here so that inspectors will refresh. | |
Used to provide the return value from methods tagged with TptShowCustomGUI.
Note that TilePlusBase has the property 'NoActionRequiredCustomGuiReturn' which is a do-nothing return value. That is, don't refresh, save the scene, or update any fields.
| TilePlus.CustomGuiReturn.CustomGuiReturn | ( | bool | refresh, |
| bool | delaySceneSave = false, | ||
| string | modifiedField = null ) |
Ctor.
| refresh | cause a tile refresh |
| delaySceneSave | cause a delayed scene save |
| modifiedField | specify any modified field. If null, string.Empty is substituted. |
| readonly bool TilePlus.CustomGuiReturn.m_DelaySceneSave |
Save the scene?
| readonly string TilePlus.CustomGuiReturn.m_ModifiedField |
Any modified fields? If the field had a TPT tag then put the field name here so that inspectors will refresh.
| readonly bool TilePlus.CustomGuiReturn.m_Refresh |
Refresh the tile?