C# Class SkillTreeNode

Inheritance: MonoBehaviour, IPointerEnterHandler, IPointerExitHandler
Exibir arquivo Open project: marouen-lamiri/Second-Soul Class Usage Examples

Public Methods

Method Description
SkillTreeNode ( System s, string name, string desc, Rect pos, Texture2D icon ) : UnityEngine
addChild ( SkillTreeNode, s ) : void
addParent ( SkillTreeNode, s ) : void
isAvailable ( ) : bool
isUnlocked ( ) : bool
makeAvailable ( ) : void
makeChildrenAvailable ( ) : void
makeUnlocked ( ) : void

Method Details

SkillTreeNode() public method

public SkillTreeNode ( System s, string name, string desc, Rect pos, Texture2D icon ) : UnityEngine
s System
name string
desc string
pos Rect
icon UnityEngine.Texture2D
return UnityEngine

addChild() public method

public addChild ( SkillTreeNode, s ) : void
s SkillTreeNode,
return void

addParent() public method

public addParent ( SkillTreeNode, s ) : void
s SkillTreeNode,
return void

isAvailable() public method

public isAvailable ( ) : bool
return bool

isUnlocked() public method

public isUnlocked ( ) : bool
return bool

makeAvailable() public method

public makeAvailable ( ) : void
return void

makeChildrenAvailable() public method

public makeChildrenAvailable ( ) : void
return void

makeUnlocked() public method

public makeUnlocked ( ) : void
return void