C# 클래스 SkillTree

파일 보기 프로젝트 열기: marouen-lamiri/Second-Soul 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
image UnityEngine.Texture2D
isSkillOpen bool
nodePositions List
position Rect
target SkillTreeNode,

보호된 프로퍼티들

프로퍼티 타입 설명
actionBar ActionBar,
player Player,
skillTree List

공개 메소드들

메소드 설명
createSkillTree ( ) : void
findPlayer ( System playerType ) : void
inBoundaries ( ) : bool
setPlayer ( Player, p ) : void

보호된 메소드들

메소드 설명
Awake ( ) : void
OnGUI ( ) : void
Start ( ) : void
Update ( ) : void
addSkillTreeNode ( System skill, string name, string desc, Rect pos, Texture2D img ) : SkillTreeNode,
checkTargetAction ( ) : void
drawSkillTree ( ) : void
drawSkillTreeNodes ( ) : void
equipSkill ( ) : void
inHeightBoundaries ( ) : bool
inWidthBoundaries ( ) : bool
initializeGUI ( ) : void
mousePositionInSkillTree ( ) : Vector2
onSkillNodeHover ( ) : void
setNodePositionOffsets ( ) : void
setSkillTreeNodeLinks ( SkillTreeNode, parent, SkillTreeNode, child ) : void
toggleTab ( ) : void
unlockSkill ( SkillTreeNode, s ) : void

비공개 메소드들

메소드 설명
addSkillComponent ( System skillType ) : void

메소드 상세

Awake() 보호된 메소드

protected Awake ( ) : void
리턴 void

OnGUI() 보호된 메소드

protected OnGUI ( ) : void
리턴 void

Start() 보호된 메소드

protected Start ( ) : void
리턴 void

Update() 보호된 메소드

protected Update ( ) : void
리턴 void

addSkillTreeNode() 보호된 메소드

protected addSkillTreeNode ( System skill, string name, string desc, Rect pos, Texture2D img ) : SkillTreeNode,
skill System
name string
desc string
pos Rect
img UnityEngine.Texture2D
리턴 SkillTreeNode,

checkTargetAction() 보호된 메소드

protected checkTargetAction ( ) : void
리턴 void

createSkillTree() 공개 메소드

public createSkillTree ( ) : void
리턴 void

drawSkillTree() 보호된 메소드

protected drawSkillTree ( ) : void
리턴 void

drawSkillTreeNodes() 보호된 메소드

protected drawSkillTreeNodes ( ) : void
리턴 void

equipSkill() 보호된 메소드

protected equipSkill ( ) : void
리턴 void

findPlayer() 공개 메소드

public findPlayer ( System playerType ) : void
playerType System
리턴 void

inBoundaries() 공개 메소드

public inBoundaries ( ) : bool
리턴 bool

inHeightBoundaries() 보호된 메소드

protected inHeightBoundaries ( ) : bool
리턴 bool

inWidthBoundaries() 보호된 메소드

protected inWidthBoundaries ( ) : bool
리턴 bool

initializeGUI() 보호된 메소드

protected initializeGUI ( ) : void
리턴 void

mousePositionInSkillTree() 보호된 메소드

protected mousePositionInSkillTree ( ) : Vector2
리턴 Vector2

onSkillNodeHover() 보호된 메소드

protected onSkillNodeHover ( ) : void
리턴 void

setNodePositionOffsets() 보호된 메소드

protected setNodePositionOffsets ( ) : void
리턴 void

setPlayer() 공개 메소드

public setPlayer ( Player, p ) : void
p Player,
리턴 void

setSkillTreeNodeLinks() 보호된 메소드

protected setSkillTreeNodeLinks ( SkillTreeNode, parent, SkillTreeNode, child ) : void
parent SkillTreeNode,
child SkillTreeNode,
리턴 void

toggleTab() 보호된 메소드

protected toggleTab ( ) : void
리턴 void

unlockSkill() 보호된 메소드

protected unlockSkill ( SkillTreeNode, s ) : void
s SkillTreeNode,
리턴 void

프로퍼티 상세

actionBar 보호되어 있는 프로퍼티

protected ActionBar, actionBar
리턴 ActionBar,

image 공개적으로 프로퍼티

public Texture2D,UnityEngine image
리턴 UnityEngine.Texture2D

isSkillOpen 공개적으로 프로퍼티

public bool isSkillOpen
리턴 bool

nodePositions 공개적으로 프로퍼티

public List nodePositions
리턴 List

player 보호되어 있는 프로퍼티

protected Player, player
리턴 Player,

position 공개적으로 프로퍼티

public Rect position
리턴 Rect

skillTree 보호되어 있는 프로퍼티

protected List skillTree
리턴 List

target 공개적으로 프로퍼티

public SkillTreeNode, target
리턴 SkillTreeNode,