mirror of
https://github.com/BlackMATov/unity-iso-tools.git
synced 2025-12-13 15:52:03 +07:00
reset dev settings of world
This commit is contained in:
@@ -435,6 +435,15 @@ namespace IsoTools {
|
|||||||
tileHeight = DefTileHeight;
|
tileHeight = DefTileHeight;
|
||||||
stepDepth = DefStepDepth;
|
stepDepth = DefStepDepth;
|
||||||
startDepth = DefStartDepth;
|
startDepth = DefStartDepth;
|
||||||
|
|
||||||
|
isShowIsoBounds = false;
|
||||||
|
isShowScreenBounds = false;
|
||||||
|
isSnapByCells = true;
|
||||||
|
isSnapByObjects = true;
|
||||||
|
isSortInSceneView = true;
|
||||||
|
snappingDistance = DefSnapDistance;
|
||||||
|
isShowDepends = false;
|
||||||
|
isShowQuadTree = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void OnValidate() {
|
void OnValidate() {
|
||||||
@@ -444,6 +453,15 @@ namespace IsoTools {
|
|||||||
tileHeight = _tileHeight;
|
tileHeight = _tileHeight;
|
||||||
stepDepth = _stepDepth;
|
stepDepth = _stepDepth;
|
||||||
startDepth = _startDepth;
|
startDepth = _startDepth;
|
||||||
|
|
||||||
|
isShowIsoBounds = _showIsoBounds;
|
||||||
|
isShowScreenBounds = _showScreenBounds;
|
||||||
|
isSnapByCells = _snapByCells;
|
||||||
|
isSnapByObjects = _snapByObjects;
|
||||||
|
isSortInSceneView = _sortInSceneView;
|
||||||
|
snappingDistance = _snappingDistance;
|
||||||
|
isShowDepends = _showDepends;
|
||||||
|
isShowQuadTree = _showQuadTree;
|
||||||
}
|
}
|
||||||
|
|
||||||
void OnRenderObject() {
|
void OnRenderObject() {
|
||||||
|
|||||||
Reference in New Issue
Block a user