XSGridEditor
1.0.0
XSGridEditor is a lightweight square grid map system for 2D/3D SRPG games, and comes with a simple and easy-to-use grid editing function. It can be used as a beginning for you to create SRPG games.
|
used with GridMgr, show range More...
Public Member Functions | |
virtual void | Init (GameObject prefab, int sortOrder) |
initialize More... | |
virtual void | ShowRegion (List< Vector3 > worldPosList) |
show range More... | |
virtual void | ClearRegion () |
clear range More... | |
virtual bool | IsNull () |
You cannot use "==" to check gameobject is null, because the gameobject in Unity is override "==", but when the gameobject is converted to the XSIGridShowRegion, it will not use the override "==" More... | |
Static Public Member Functions | |
static XSGridShowRegionCpt | Create (string rootPath, GameObject moveTilePrefab, int sortOrder) |
Properties | |
GameObject | Prefab [get, set] |
prefab to show range More... | |
int | SortOrder [get, set] |
sprite sort order More... | |
used with GridMgr, show range
|
virtual |
clear range
Implements XSSLG.XSIGridShowRegion.
|
inlinestatic |
|
virtual |
initialize
prefab | |
sortOrder |
|
virtual |
You cannot use "==" to check gameobject is null, because the gameobject in Unity is override "==", but when the gameobject is converted to the XSIGridShowRegion, it will not use the override "=="
Implements XSSLG.XSIGridShowRegion.
|
inlinevirtual |
show range
worldPosList | a list of world position to show range |
Implements XSSLG.XSIGridShowRegion.
|
getset |
prefab to show range
|
getsetprotected |
sprite sort order