mirror of
https://github.com/BlackMATov/unity-iso-tools.git
synced 2025-12-15 09:16:08 +07:00
code style
This commit is contained in:
@@ -184,7 +184,7 @@ namespace IsoTools {
|
|||||||
//
|
//
|
||||||
// ---------------------------------------------------------------------
|
// ---------------------------------------------------------------------
|
||||||
|
|
||||||
#if UNITY_EDITOR
|
#if UNITY_EDITOR
|
||||||
Vector3 _lastSize = Vector3.zero;
|
Vector3 _lastSize = Vector3.zero;
|
||||||
Vector3 _lastPosition = Vector3.zero;
|
Vector3 _lastPosition = Vector3.zero;
|
||||||
Vector2 _lastTransPos = Vector2.zero;
|
Vector2 _lastTransPos = Vector2.zero;
|
||||||
@@ -201,7 +201,7 @@ namespace IsoTools {
|
|||||||
get { return _isShowBounds; }
|
get { return _isShowBounds; }
|
||||||
set { _isShowBounds = value; }
|
set { _isShowBounds = value; }
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// ---------------------------------------------------------------------
|
// ---------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -81,6 +81,7 @@ namespace IsoTools.Tiled.Internal {
|
|||||||
mesh_filter.mesh = GetTilesetMesh(tileset_index, layer_index);
|
mesh_filter.mesh = GetTilesetMesh(tileset_index, layer_index);
|
||||||
var mesh_renderer = tileset.gameObject.AddComponent<MeshRenderer>();
|
var mesh_renderer = tileset.gameObject.AddComponent<MeshRenderer>();
|
||||||
mesh_renderer.sharedMaterial = GetTilesetMaterial(tileset_index);
|
mesh_renderer.sharedMaterial = GetTilesetMaterial(tileset_index);
|
||||||
|
mesh_renderer.useLightProbes = false;
|
||||||
mesh_renderer.receiveShadows = false;
|
mesh_renderer.receiveShadows = false;
|
||||||
mesh_renderer.shadowCastingMode = ShadowCastingMode.Off;
|
mesh_renderer.shadowCastingMode = ShadowCastingMode.Off;
|
||||||
mesh_renderer.reflectionProbeUsage = ReflectionProbeUsage.Off;
|
mesh_renderer.reflectionProbeUsage = ReflectionProbeUsage.Off;
|
||||||
|
|||||||
@@ -20,14 +20,14 @@ namespace IsoTools.Tiled {
|
|||||||
//
|
//
|
||||||
// ---------------------------------------------------------------------
|
// ---------------------------------------------------------------------
|
||||||
|
|
||||||
#if UNITY_EDITOR
|
#if UNITY_EDITOR
|
||||||
[SerializeField] bool _isShowGrid = false;
|
[SerializeField] bool _isShowGrid = false;
|
||||||
|
|
||||||
public bool isShowGrid {
|
public bool isShowGrid {
|
||||||
get { return _isShowGrid; }
|
get { return _isShowGrid; }
|
||||||
set { _isShowGrid = value; }
|
set { _isShowGrid = value; }
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// ---------------------------------------------------------------------
|
// ---------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<Properties StartupItem="Assembly-CSharp.csproj">
|
<Properties StartupItem="Assembly-CSharp.csproj">
|
||||||
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" PreferredExecutionTarget="MonoDevelop.Default" />
|
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" PreferredExecutionTarget="Unity.Instance.Unity Editor" />
|
||||||
<MonoDevelop.Ide.Workbench ActiveDocument="Assets/IsoTools/Tiled/TiledMapAsset.cs">
|
<MonoDevelop.Ide.Workbench ActiveDocument="Assets/IsoTools/Tiled/TiledMap.cs">
|
||||||
<Files>
|
<Files>
|
||||||
<File FileName="Assets/IsoTools/Tiled/Internal/Editor/TiledMapPostprocessor.cs" Line="166" Column="60" />
|
<File FileName="Assets/IsoTools/Tiled/Internal/Editor/TiledMapPostprocessor.cs" Line="147" Column="38" />
|
||||||
<File FileName="Assets/IsoTools/Tiled/TiledMapAsset.cs" Line="24" Column="39" />
|
<File FileName="Assets/IsoTools/Tiled/TiledMapTileset.cs" Line="17" Column="1" />
|
||||||
|
<File FileName="Assets/IsoTools/Tiled/TiledMap.cs" Line="31" Column="3" />
|
||||||
</Files>
|
</Files>
|
||||||
</MonoDevelop.Ide.Workbench>
|
</MonoDevelop.Ide.Workbench>
|
||||||
<MonoDevelop.Ide.DebuggingService.Breakpoints>
|
<MonoDevelop.Ide.DebuggingService.Breakpoints>
|
||||||
|
|||||||
Reference in New Issue
Block a user