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.XSIUnitNode Interface Reference
Inheritance diagram for XSSLG.XSIUnitNode:
XSSLG.XSINode XSSLG.XSUnitNode

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 ()
 
- Public Member Functions inherited from XSSLG.XSINode
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...
 
- Properties inherited from XSSLG.XSINode
Vector3 WorldPos [get, set]
 

Member Function Documentation

◆ AddBoxCollider()

void XSSLG.XSIUnitNode.AddBoxCollider ( )

Implemented in XSSLG.XSUnitNode.

◆ ApplyDamageAnimation()

void XSSLG.XSIUnitNode.ApplyDamageAnimation ( int  damage)

Implemented in XSSLG.XSUnitNode.

◆ AttackAnimation()

void XSSLG.XSIUnitNode.AttackAnimation ( )

Implemented in XSSLG.XSUnitNode.

◆ DieAnimation()

void XSSLG.XSIUnitNode.DieAnimation ( )

Implemented in XSSLG.XSUnitNode.

◆ GetUnit()

Unit XSSLG.XSIUnitNode.GetUnit ( )

Implemented in XSSLG.XSUnitNode.

◆ RotateTo()

void XSSLG.XSIUnitNode.RotateTo ( XSTile  tile)

Implemented in XSSLG.XSUnitNode.

◆ UpdatePos()

void XSSLG.XSIUnitNode.UpdatePos ( )

Implemented in XSSLG.XSUnitNode.

◆ WalkTo()

void XSSLG.XSIUnitNode.WalkTo ( List< Vector3 path)

Implemented in XSSLG.XSUnitNode.

Property Documentation

◆ IsAttacking

bool XSSLG.XSIUnitNode.IsAttacking
get

是否正在播放攻击动画

◆ IsMoving

bool XSSLG.XSIUnitNode.IsMoving
get

◆ IsNeedDeadAnimation

bool XSSLG.XSIUnitNode.IsNeedDeadAnimation
getset

是否需要受击后播放死亡动画


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