Exemple #1
0
 // Token: 0x06001E97 RID: 7831 RVA: 0x000A7834 File Offset: 0x000A5C34
 public static void save()
 {
     EditorInteract.save();
     EditorTerrainHeight.save();
     EditorTerrainMaterials.save();
     EditorObjects.save();
     EditorSpawns.save();
 }
Exemple #2
0
 private void Start()
 {
     EditorTerrainHeight._isTerraforming = false;
     EditorTerrainHeight.brush           = ((GameObject)Object.Instantiate(Resources.Load("Edit/Brush"))).transform;
     EditorTerrainHeight.brush.name      = "Brush";
     EditorTerrainHeight.brush.parent    = Level.editing;
     EditorTerrainHeight.brush.gameObject.SetActive(false);
     EditorTerrainHeight.adjustUpBrush   = EditorTerrainHeight.brush.FindChild("Adjust_Up");
     EditorTerrainHeight.adjustDownBrush = EditorTerrainHeight.brush.FindChild("Adjust_Down");
     EditorTerrainHeight.smoothBrush     = EditorTerrainHeight.brush.FindChild("Smooth");
     EditorTerrainHeight.flattenBrush    = EditorTerrainHeight.brush.FindChild("Flatten");
     EditorTerrainHeight.brushMode       = EPaintMode.ADJUST_UP;
     EditorTerrainHeight.load();
 }