static internal void EditTree(MenuCommand item) { TreeWizard wizard = TerrainWizard.DisplayTerrainWizard <TreeWizard>("Edit Tree", "Apply"); wizard.InitializeDefaults((Terrain)item.context, item.userData); }
internal static void AddTree(MenuCommand item) { TreeWizard treeWizard = ScriptableWizard.DisplayWizard <TreeWizard>("Add Tree", "Add"); treeWizard.InitializeDefaults((Terrain)item.context, -1); }
static internal void AddTree(MenuCommand item) { TreeWizard wizard = TerrainWizard.DisplayTerrainWizard <TreeWizard>("Add Tree", "Add"); wizard.InitializeDefaults((Terrain)item.context, -1); }
internal static void EditTree(MenuCommand item) { TreeWizard treeWizard = ScriptableWizard.DisplayWizard <TreeWizard>("Edit Tree", "Apply"); treeWizard.InitializeDefaults((Terrain)item.context, item.userData); }