C# 클래스 TreeEditor.TreeEditorHelper

파일 보기 프로젝트 열기: CarlosHBC/UnityDecompiled 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AddShaderFromMaterial void
ChangeShaderOnMaterial void
ChangeShaderOnMaterials void
CheckForTooManyShaders bool
DisableAnimBool void
GUIShowError int
GUITooManyShaders bool
GetAllTreeShaders void
GetDefaultShader string
GetRecommendedShaders List
GetSelectedIndex int
GetShadersListForNodeType List
GetShadersListOppositeToNodeType List
HasOptimizedShaderAndNameContains bool
IsMaterialCorrect bool
IsTreeShader bool
RemoveSelectedIndex void
SetAnimBool void
SetAnimBool void
SetAnimsCallback void
SetSelectedIndex void

공개 메소드들

메소드 설명
AreShadersCorrect ( ) : bool
ExtractLabel ( string uiString ) : string
ExtractTooltip ( string uiString ) : string
GUITooManyShaders ( ) : bool
GUIWrongShader ( string uniqueID, Material value, NodeType nodeType ) : bool
GetGUIContent ( string id ) : GUIContent
GetOptimizedShaderName ( Shader shader ) : string
GetUIString ( string id ) : string
IsTreeBarkShader ( Shader shader ) : bool
IsTreeLeafShader ( Shader shader ) : bool
NodeHasWrongMaterial ( TreeGroup group ) : bool
OnEnable ( TreeData treeData ) : void
RefreshAllTreeShaders ( ) : void

비공개 메소드들

메소드 설명
AddShaderFromMaterial ( Material material, List barkShaders, List leafShaders ) : void
ChangeShaderOnMaterial ( Material material, Shader shader ) : void
ChangeShaderOnMaterials ( TreeData treeData, Shader shader, TreeGroup group, NodeType nodeType ) : void
CheckForTooManyShaders ( NodeType nodeType ) : bool
DisableAnimBool ( string contentID ) : void
GUIShowError ( string uniqueID, List list, GUIContent message, GUIContent button, Texture2D icon ) : int
GUITooManyShaders ( NodeType nodeType ) : bool
GetAllTreeShaders ( TreeData treeData, List barkShaders, List leafShaders, TreeGroup group ) : void
GetDefaultShader ( NodeType nodeType ) : string
GetRecommendedShaders ( NodeType nodeType ) : List
GetSelectedIndex ( string contentID ) : int
GetShadersListForNodeType ( NodeType nodeType ) : List
GetShadersListOppositeToNodeType ( NodeType nodeType ) : List
HasOptimizedShaderAndNameContains ( Shader shader, string name ) : bool
IsMaterialCorrect ( Material material ) : bool
IsTreeShader ( Shader shader ) : bool
RemoveSelectedIndex ( string contentID ) : void
SetAnimBool ( string contentID, bool target ) : void
SetAnimBool ( string contentID, bool target, bool value ) : void
SetAnimsCallback ( UnityAction callback ) : void
SetSelectedIndex ( string contentID, int value ) : void

메소드 상세

AreShadersCorrect() 공개 메소드

public AreShadersCorrect ( ) : bool
리턴 bool

ExtractLabel() 공개 정적인 메소드

public static ExtractLabel ( string uiString ) : string
uiString string
리턴 string

ExtractTooltip() 공개 정적인 메소드

public static ExtractTooltip ( string uiString ) : string
uiString string
리턴 string

GUITooManyShaders() 공개 메소드

public GUITooManyShaders ( ) : bool
리턴 bool

GUIWrongShader() 공개 메소드

public GUIWrongShader ( string uniqueID, Material value, NodeType nodeType ) : bool
uniqueID string
value UnityEngine.Material
nodeType NodeType
리턴 bool

GetGUIContent() 공개 정적인 메소드

public static GetGUIContent ( string id ) : GUIContent
id string
리턴 UnityEngine.GUIContent

GetOptimizedShaderName() 공개 정적인 메소드

public static GetOptimizedShaderName ( Shader shader ) : string
shader UnityEngine.Shader
리턴 string

GetUIString() 공개 정적인 메소드

public static GetUIString ( string id ) : string
id string
리턴 string

IsTreeBarkShader() 공개 정적인 메소드

public static IsTreeBarkShader ( Shader shader ) : bool
shader UnityEngine.Shader
리턴 bool

IsTreeLeafShader() 공개 정적인 메소드

public static IsTreeLeafShader ( Shader shader ) : bool
shader UnityEngine.Shader
리턴 bool

NodeHasWrongMaterial() 공개 메소드

public NodeHasWrongMaterial ( TreeGroup group ) : bool
group TreeGroup
리턴 bool

OnEnable() 공개 메소드

public OnEnable ( TreeData treeData ) : void
treeData TreeData
리턴 void

RefreshAllTreeShaders() 공개 메소드

public RefreshAllTreeShaders ( ) : void
리턴 void