Class TreeEditorHelper
  
  
  
  
    Inheritance
    
    TreeEditorHelper
   
  
  
  Assembly: UnityEditor.dll
  Syntax
  
    public class TreeEditorHelper
   
  Methods
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  AreShadersCorrect()
  
  
  Declaration
  
    public bool AreShadersCorrect()
   
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  
  
  
  Declaration
  
    public static string ExtractLabel(string uiString)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | String | uiString |  | 
    
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  
  
  
  Declaration
  
    public static string ExtractTooltip(string uiString)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | String | uiString |  | 
    
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetGUIContent(String)
  
  
  Declaration
  
    public static GUIContent GetGUIContent(string id)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | String | id |  | 
    
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetOptimizedShaderName(Shader)
  
  
  Declaration
  
    public static string GetOptimizedShaderName(Shader shader)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | Shader | shader |  | 
    
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GUITooManyShaders()
  
  
  Declaration
  
    public bool GUITooManyShaders()
   
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GUIWrongShader(String, Material, TreeEditorHelper.NodeType)
  
  
  Declaration
  
    public bool GUIWrongShader(string uniqueID, Material value, TreeEditorHelper.NodeType nodeType)
   
  Parameters
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  IsTreeBarkShader(Shader)
  
  
  Declaration
  
    public static bool IsTreeBarkShader(Shader shader)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | Shader | shader |  | 
    
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  IsTreeLeafShader(Shader)
  
  
  Declaration
  
    public static bool IsTreeLeafShader(Shader shader)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | Shader | shader |  | 
    
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  NodeHasWrongMaterial(TreeGroup)
  
  
  Declaration
  
    public bool NodeHasWrongMaterial(TreeGroup group)
   
  Parameters
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  OnEnable(TreeData)
  
  
  Declaration
  
    public void OnEnable(TreeData treeData)
   
  Parameters
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  RefreshAllTreeShaders()
  
  
  Declaration
  
    public void RefreshAllTreeShaders()
   
  Extension Methods