InitializeDefaults() 개인적인 메소드

private InitializeDefaults ( Terrain terrain, int index ) : void
terrain UnityEngine.Terrain
index int
리턴 void
예제 #1
0
        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);
        }
예제 #3
0
        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);
        }