Exemple #1
0
        public UnityTerrainTreesIntegration(PrefabPainterEditor editor)
        {
            this.editor = editor;

            terrainTreeManager = new UnityTerrainTreeManager(editor);

            targetTerrain = editor.FindProperty(x => x.brushSettings.targetTerrain);
        }
Exemple #2
0
        public SetScaleInteraction(PrefabPainterEditor editor)
        {
            this.editor       = editor;
            this.editorTarget = editor.GetPainter();

            terrainTreeManager = new UnityTerrainTreeManager(editor);

            setScaleValue = editor.FindProperty(x => x.interactionSettings.setScale.setScaleValue);
        }
        public ChangeScaleInteraction(PrefabPainterEditor editor)
        {
            this.editor       = editor;
            this.editorTarget = editor.GetPainter();

            terrainTreeManager = new UnityTerrainTreeManager(editor);

            changeScaleStrength = editor.FindProperty(x => x.interactionSettings.changeScale.changeScaleStrength);
        }