mirror of
https://github.com/BlackMATov/unity-iso-tools.git
synced 2025-12-13 15:52:03 +07:00
gizmos properties to isoworld
This commit is contained in:
@@ -91,6 +91,154 @@ NavMeshSettings:
|
||||
cellSize: 0.16666667
|
||||
accuratePlacement: 0
|
||||
m_NavMeshData: {fileID: 0}
|
||||
--- !u!1001 &872182016
|
||||
Prefab:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 1.1380608
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: -3.30561
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 1.2
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_RootOrder
|
||||
value: 4
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _position.x
|
||||
value: -1.2439
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _position.y
|
||||
value: -1.7612
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _position.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _showTheirDepends
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _showIsoBounds
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _showScreenBounds
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _showSelfDepends
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 180122, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_Name
|
||||
value: TileA (3)
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_ParentPrefab: {fileID: 100100000, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
m_IsPrefabParent: 0
|
||||
--- !u!1001 &1124268487
|
||||
Prefab:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 0.71808
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 0.020240039
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 1.5000001
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_RootOrder
|
||||
value: 3
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _position.x
|
||||
value: 0.1724
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _position.y
|
||||
value: -0.154
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _position.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _showTheirDepends
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _showIsoBounds
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _showScreenBounds
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _showSelfDepends
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 180122, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_Name
|
||||
value: TileA (2)
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_ParentPrefab: {fileID: 100100000, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
m_IsPrefabParent: 0
|
||||
--- !u!1 &1396455878
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -128,6 +276,9 @@ MonoBehaviour:
|
||||
_tileHeight: 1.6
|
||||
_stepDepth: 0.1
|
||||
_startDepth: 1
|
||||
_showIsoBounds: 0
|
||||
_showScreenBounds: 0
|
||||
_showDepends: 0
|
||||
--- !u!81 &1396455880
|
||||
AudioListener:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -196,7 +347,7 @@ Transform:
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1001 &1656047475
|
||||
--- !u!1001 &1516218150
|
||||
Prefab:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
@@ -205,11 +356,11 @@ Prefab:
|
||||
m_Modifications:
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 0
|
||||
value: -1.801579
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 0
|
||||
value: -4.42387
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_LocalPosition.z
|
||||
@@ -233,31 +384,257 @@ Prefab:
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_RootOrder
|
||||
value: 1
|
||||
value: 6
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _position.x
|
||||
value: 0
|
||||
value: -2.4203
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _position.y
|
||||
value: 0
|
||||
value: -1.6014
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _position.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _isShowBounds
|
||||
propertyPath: _showTheirDepends
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _showIsoBounds
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _showScreenBounds
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _showSelfDepends
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 180122, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_IsActive
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 180122, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_Name
|
||||
value: TileA
|
||||
value: TileA (5)
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_ParentPrefab: {fileID: 100100000, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
m_IsPrefabParent: 0
|
||||
--- !u!1001 &1656047475
|
||||
Prefab:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: -2.8267798
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: -0.8611902
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 1.3000001
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_RootOrder
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _position.x
|
||||
value: -1.0339
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _position.y
|
||||
value: 0.251
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _position.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _showTheirDepends
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _showIsoBounds
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _showScreenBounds
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _showSelfDepends
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_ParentPrefab: {fileID: 100100000, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
m_IsPrefabParent: 0
|
||||
--- !u!1001 &1690501142
|
||||
Prefab:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 3.0190604
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: -1.6175498
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 1.4000001
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_RootOrder
|
||||
value: 2
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _position.x
|
||||
value: -0.0491
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _position.y
|
||||
value: -1.4214
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _position.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _showTheirDepends
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _showIsoBounds
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _showScreenBounds
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _showSelfDepends
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 180122, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_Name
|
||||
value: TileA (1)
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_ParentPrefab: {fileID: 100100000, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
m_IsPrefabParent: 0
|
||||
--- !u!1001 &2003518606
|
||||
Prefab:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: -4.3724995
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: -2.8609903
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 1.1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 417424, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_RootOrder
|
||||
value: 5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _position.x
|
||||
value: -2.2942
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _position.y
|
||||
value: -0.3067
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _position.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _showTheirDepends
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _showIsoBounds
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _showScreenBounds
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 11472392, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: _showSelfDepends
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 180122, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
propertyPath: m_Name
|
||||
value: TileA (4)
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_ParentPrefab: {fileID: 100100000, guid: 185575a05f87743c0b2ddb83dd39c6cd, type: 2}
|
||||
|
||||
@@ -57,6 +57,19 @@ namespace IsoTools.Internal {
|
||||
}
|
||||
}
|
||||
|
||||
void DrawWorldEditorProperties() {
|
||||
var iso_world = IsoWorld.Instance;
|
||||
if ( iso_world ) {
|
||||
var so = new SerializedObject(iso_world);
|
||||
EditorGUILayout.PropertyField(so.FindProperty("_showIsoBounds"));
|
||||
EditorGUILayout.PropertyField(so.FindProperty("_showScreenBounds"));
|
||||
EditorGUILayout.PropertyField(so.FindProperty("_showDepends"));
|
||||
if ( GUI.changed ) {
|
||||
so.ApplyModifiedProperties();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static bool SnappingProcess(ref float min_a, float size_a, float min_b, float size_b) {
|
||||
var max_a = min_a + size_a;
|
||||
var max_b = min_b + size_b;
|
||||
@@ -331,6 +344,7 @@ namespace IsoTools.Internal {
|
||||
DrawDefaultInspector();
|
||||
GrabPositions();
|
||||
DirtyTargetPosition();
|
||||
DrawWorldEditorProperties();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -208,36 +208,6 @@ namespace IsoTools {
|
||||
|
||||
public InternalState Internal = new InternalState();
|
||||
|
||||
// ---------------------------------------------------------------------
|
||||
//
|
||||
// For editor
|
||||
//
|
||||
// ---------------------------------------------------------------------
|
||||
|
||||
#if UNITY_EDITOR
|
||||
[Header("Editor Only")]
|
||||
[SerializeField] bool _showIsoBounds = false;
|
||||
public bool isShowIsoBounds {
|
||||
get { return _showIsoBounds; }
|
||||
set { _showIsoBounds = value; }
|
||||
}
|
||||
[SerializeField] bool _showScreenBounds = false;
|
||||
public bool isShowScreenBounds {
|
||||
get { return _showScreenBounds; }
|
||||
set { _showScreenBounds = value; }
|
||||
}
|
||||
[SerializeField] bool _showSelfDepends = false;
|
||||
public bool isShowSelfDepends {
|
||||
get { return _showSelfDepends; }
|
||||
set { _showSelfDepends = value; }
|
||||
}
|
||||
[SerializeField] bool _showTheirDepends = false;
|
||||
public bool isShowTheirDepends {
|
||||
get { return _showTheirDepends; }
|
||||
set { _showTheirDepends = value; }
|
||||
}
|
||||
#endif
|
||||
|
||||
// ---------------------------------------------------------------------
|
||||
//
|
||||
// Functions
|
||||
@@ -357,35 +327,36 @@ namespace IsoTools {
|
||||
}
|
||||
|
||||
void OnDrawGizmos() {
|
||||
if ( isShowIsoBounds && isoWorld ) {
|
||||
if ( isoWorld && isoWorld.isShowIsoBounds ) {
|
||||
IsoUtils.DrawIsoCube(
|
||||
isoWorld,
|
||||
position + size * 0.5f,
|
||||
size,
|
||||
Color.red);
|
||||
}
|
||||
if ( isShowScreenBounds ) {
|
||||
if ( isoWorld && isoWorld.isShowScreenBounds ) {
|
||||
IsoUtils.DrawRect(
|
||||
Internal.ScreenBounds,
|
||||
Color.green);
|
||||
}
|
||||
if ( isShowSelfDepends ) {
|
||||
}
|
||||
|
||||
void OnDrawGizmosSelected() {
|
||||
if ( isoWorld && isoWorld.isShowDepends ) {
|
||||
for ( int i = 0, e = Internal.SelfDepends.Count; i < e; ++i ) {
|
||||
IsoUtils.DrawLine(
|
||||
Internal.ScreenBounds.center,
|
||||
Internal.SelfDepends[i].Internal.ScreenBounds.center,
|
||||
Color.blue,
|
||||
Color.red,
|
||||
0.75f);
|
||||
Color.yellow,
|
||||
Color.cyan,
|
||||
0.25f);
|
||||
}
|
||||
}
|
||||
if ( isShowTheirDepends ) {
|
||||
for ( int i = 0, e = Internal.TheirDepends.Count; i < e; ++i ) {
|
||||
IsoUtils.DrawLine(
|
||||
Internal.ScreenBounds.center,
|
||||
Internal.TheirDepends[i].Internal.ScreenBounds.center,
|
||||
Color.yellow,
|
||||
Color.cyan,
|
||||
Color.red,
|
||||
0.75f);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -310,6 +310,31 @@ namespace IsoTools {
|
||||
return IsoUtils.Vec3Floor(MouseIsoPosition(camera, iso_z));
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------
|
||||
//
|
||||
// For editor
|
||||
//
|
||||
// ---------------------------------------------------------------------
|
||||
|
||||
#if UNITY_EDITOR
|
||||
[Header("Editor Only")]
|
||||
[SerializeField] bool _showIsoBounds = false;
|
||||
public bool isShowIsoBounds {
|
||||
get { return _showIsoBounds; }
|
||||
set { _showIsoBounds = value; }
|
||||
}
|
||||
[SerializeField] bool _showScreenBounds = false;
|
||||
public bool isShowScreenBounds {
|
||||
get { return _showScreenBounds; }
|
||||
set { _showScreenBounds = value; }
|
||||
}
|
||||
[SerializeField] bool _showDepends = false;
|
||||
public bool isShowDepends {
|
||||
get { return _showDepends; }
|
||||
set { _showDepends = value; }
|
||||
}
|
||||
#endif
|
||||
|
||||
// ---------------------------------------------------------------------
|
||||
//
|
||||
// Internal
|
||||
|
||||
Reference in New Issue
Block a user