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.
|
电脑控制的战斗单位 More...
Public Member Functions | |
AIUnit (Role role, GroupType group, XSIUnitNode node) | |
![]() | |
Unit (Role role, GroupType group, XSIUnitNode node) | |
bool | WalkTo (XSTile tile) |
移动到指定位置 More... | |
void | RemoveNode () |
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 XSITileRoot, it will not use the override "==" More... | |
![]() | |
Stat | GetStat () |
计算后的属性 More... | |
UnitBase (Role role, GroupType group) | |
void | Destroy () |
结束生命周期 More... | |
virtual void | SetActived () |
bool | IsActived () |
void | SetDead () |
bool | IsDead () |
void | SetAttacked () |
bool | IsAttacked () |
void | SetMoved () |
bool | IsMoved () |
bool | CanWalkThrough (UnitBase unit) |
能否穿过,敌人算墙,会影响行走路径 More... | |
List< Vector3 > | GetMoveRegion () |
get the unit move region More... | |
virtual void | OnGameStart () |
virtual void | OnTurnStart (SkillUpdateData data=null) |
virtual void | OnTurnEnd () |
Additional Inherited Members | |
![]() | |
List< Vector3 > | FindPath (XSTile tile) |
找到路径去指定位置 More... | |
![]() | |
int | _flag = 0 |
各种状态标记 More... | |
![]() | |
void | Die () |
![]() | |
void | OnGameEnd () |
![]() | |
XSIUnitNode | Node [get] |
unity的unit脚本 More... | |
override Vector3 | WorldPos [get, set] |
![]() | |
abstract Vector3 | WorldPos [get, set] |
Role | Role [get] |
绑定的角色数据 More... | |
GroupType | Group [get, protected set] |
势力 More... | |
NormalTable | Table = new NormalTable() [get, private set] |
Dictionary< Vector3Int, List< Vector3 > > | CachedPaths [get, set] |
缓存的所有路径 More... | |
![]() | |
Vector3 | WorldPos [get, set] |
电脑控制的战斗单位
|
inline |