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.
Public Member Functions | Static Public Member Functions | Properties | List of all members
XSSLG.XSGridShowRegionCpt Class Reference

used with GridMgr, show range More...

Inheritance diagram for XSSLG.XSGridShowRegionCpt:
XSSLG.XSIGridShowRegion

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...
 

Detailed Description

used with GridMgr, show range

Member Function Documentation

◆ ClearRegion()

virtual void XSSLG.XSGridShowRegionCpt.ClearRegion ( )
virtual

clear range

Implements XSSLG.XSIGridShowRegion.

◆ Create()

static XSGridShowRegionCpt XSSLG.XSGridShowRegionCpt.Create ( string  rootPath,
GameObject  moveTilePrefab,
int  sortOrder 
)
inlinestatic

◆ Init()

virtual void XSSLG.XSGridShowRegionCpt.Init ( GameObject  prefab,
int  sortOrder 
)
virtual

initialize

Parameters
prefab
sortOrder

◆ IsNull()

virtual bool XSSLG.XSGridShowRegionCpt.IsNull ( )
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.

◆ ShowRegion()

virtual void XSSLG.XSGridShowRegionCpt.ShowRegion ( List< Vector3 worldPosList)
inlinevirtual

show range

Parameters
worldPosLista list of world position to show range

Implements XSSLG.XSIGridShowRegion.

Property Documentation

◆ Prefab

GameObject XSSLG.XSGridShowRegionCpt.Prefab
getset

prefab to show range

◆ SortOrder

int XSSLG.XSGridShowRegionCpt.SortOrder
getsetprotected

sprite sort order


The documentation for this class was generated from the following file: