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 | |
Unit | GetUnit () |
void | RotateTo (XSTile tile) |
void | WalkTo (List< Vector3 > path) |
void | AddBoxCollider () |
void | UpdatePos () |
void | AttackAnimation () |
void | ApplyDamageAnimation (int damage) |
void | DieAnimation () |
![]() | |
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... | |
Properties | |
bool | IsMoving [get] |
bool | IsAttacking [get] |
是否正在播放攻击动画 More... | |
bool | IsNeedDeadAnimation [get, set] |
是否需要受击后播放死亡动画 More... | |
![]() | |
Vector3 | WorldPos [get, set] |
void XSSLG.XSIUnitNode.AddBoxCollider | ( | ) |
Implemented in XSSLG.XSUnitNode.
void XSSLG.XSIUnitNode.ApplyDamageAnimation | ( | int | damage | ) |
Implemented in XSSLG.XSUnitNode.
void XSSLG.XSIUnitNode.AttackAnimation | ( | ) |
Implemented in XSSLG.XSUnitNode.
void XSSLG.XSIUnitNode.DieAnimation | ( | ) |
Implemented in XSSLG.XSUnitNode.
Unit XSSLG.XSIUnitNode.GetUnit | ( | ) |
Implemented in XSSLG.XSUnitNode.
void XSSLG.XSIUnitNode.RotateTo | ( | XSTile | tile | ) |
Implemented in XSSLG.XSUnitNode.
void XSSLG.XSIUnitNode.UpdatePos | ( | ) |
Implemented in XSSLG.XSUnitNode.
void XSSLG.XSIUnitNode.WalkTo | ( | List< Vector3 > | path | ) |
Implemented in XSSLG.XSUnitNode.
|
get |
是否正在播放攻击动画
|
get |
|
getset |
是否需要受击后播放死亡动画