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 | Properties | List of all members
XSSLG.XSGridShowMgr Class Reference

Public Member Functions

 XSGridShowMgr (XSIGridShowRegion moveShowRegion, XSIGridShowRegion attackShowRegion, XSIGridShowRegion attackEffectShowRegion)
 
virtual List< Vector3ShowMoveRegion (Unit unit)
 show unit move range More...
 
virtual void ClearMoveRegion ()
 clear unit move range show More...
 
List< Vector3IntShowAttackRegion (Unit unit, SkillBase skill)
 显示单位攻击范围 More...
 
void ClearAttackRegion ()
 清除单位攻击范围 More...
 
void ShowAttackEffectRegion (Unit unit, SkillBase skill, XSTile tile)
 显示单位攻击效果范围 More...
 
void ClearAttackEffectRegion ()
 清除单位攻击效果范围 More...
 

Properties

XSIGridShowRegion MoveShowRegion [get]
 
XSIGridShowRegion AttackShowRegion [get, set]
 show all the tile which in attack range More...
 
XSIGridShowRegion AttackEffectShowRegion [get, set]
 

Constructor & Destructor Documentation

◆ XSGridShowMgr()

XSSLG.XSGridShowMgr.XSGridShowMgr ( XSIGridShowRegion  moveShowRegion,
XSIGridShowRegion  attackShowRegion,
XSIGridShowRegion  attackEffectShowRegion 
)
inline

Member Function Documentation

◆ ClearAttackEffectRegion()

void XSSLG.XSGridShowMgr.ClearAttackEffectRegion ( )

清除单位攻击效果范围

◆ ClearAttackRegion()

void XSSLG.XSGridShowMgr.ClearAttackRegion ( )

清除单位攻击范围

◆ ClearMoveRegion()

virtual void XSSLG.XSGridShowMgr.ClearMoveRegion ( )
virtual

clear unit move range show

◆ ShowAttackEffectRegion()

void XSSLG.XSGridShowMgr.ShowAttackEffectRegion ( Unit  unit,
SkillBase  skill,
XSTile  tile 
)
inline

显示单位攻击效果范围

Parameters
unit显示范围的单位
skill显示范围的技能
tile当前鼠标所在tile

◆ ShowAttackRegion()

List<Vector3Int> XSSLG.XSGridShowMgr.ShowAttackRegion ( Unit  unit,
SkillBase  skill 
)
inline

显示单位攻击范围

Parameters
unit显示范围的单位
skill显示范围的技能

◆ ShowMoveRegion()

virtual List<Vector3> XSSLG.XSGridShowMgr.ShowMoveRegion ( Unit  unit)
inlinevirtual

show unit move range

Parameters
unitwhich unit

Property Documentation

◆ AttackEffectShowRegion

XSIGridShowRegion XSSLG.XSGridShowMgr.AttackEffectShowRegion
getsetprivate

◆ AttackShowRegion

XSIGridShowRegion XSSLG.XSGridShowMgr.AttackShowRegion
getsetprivate

show all the tile which in attack range

◆ MoveShowRegion

XSIGridShowRegion XSSLG.XSGridShowMgr.MoveShowRegion
getprotected

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