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

tile data More...

Inheritance diagram for XSSLG.XSTileNode:
XSSLG.XSITileNode

Public Member Functions

virtual XSTile CreateXSTile (Vector3Int tilePos)
 
virtual void UpdateEditModePrevPos ()
 
virtual void AddBoxCollider (Vector3 tileSize)
 
virtual 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 XSITileNode, it will not use the override "==" More...
 

Protected Attributes

int cost = 1
 move cost More...
 
Accessibility access
 walk passable More...
 

Properties

int Cost [get]
 
Accessibility Access [get]
 
Vector3 WorldPos [get, set]
 
int AngleY [get]
 
- Properties inherited from XSSLG.XSITileNode
int Cost [get]
 
Accessibility Access [get]
 
Vector3 WorldPos [get, set]
 
int AngleY [get]
 

Detailed Description

tile data

Member Function Documentation

◆ AddBoxCollider()

virtual void XSSLG.XSTileNode.AddBoxCollider ( Vector3  tileSize)
inlinevirtual

Implements XSSLG.XSITileNode.

◆ CreateXSTile()

virtual XSTile XSSLG.XSTileNode.CreateXSTile ( Vector3Int  tilePos)
virtual

Implements XSSLG.XSITileNode.

◆ IsNull()

bool XSSLG.XSTileNode.IsNull ( )

You cannot use "==" to check gameobject is null, because the gameobject in Unity is override "==", but when the gameobject is converted to the XSITileNode, it will not use the override "=="

Implements XSSLG.XSITileNode.

◆ RemoveNode()

virtual void XSSLG.XSTileNode.RemoveNode ( )
virtual

Implements XSSLG.XSITileNode.

◆ UpdateEditModePrevPos()

virtual void XSSLG.XSTileNode.UpdateEditModePrevPos ( )
inlinevirtual

Implements XSSLG.XSITileNode.

Member Data Documentation

◆ access

Accessibility XSSLG.XSTileNode.access
protected

walk passable

◆ cost

int XSSLG.XSTileNode.cost = 1
protected

move cost

Property Documentation

◆ Access

Accessibility XSSLG.XSTileNode.Access
get

◆ AngleY

int XSSLG.XSTileNode.AngleY
get

◆ Cost

int XSSLG.XSTileNode.Cost
get

◆ WorldPos

Vector3 XSSLG.XSTileNode.WorldPos
getset

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