From be4ca04e3b0ebf4c02a2fd661c0ba624139891df Mon Sep 17 00:00:00 2001 From: BlackMATov Date: Mon, 8 Feb 2016 00:55:01 +0600 Subject: [PATCH] code style --- Assets/IsoTools/Scripts/IsoObject.cs | 4 ++-- .../Tiled/Internal/Editor/TiledMapAssetEditor.cs | 1 + Assets/IsoTools/Tiled/TiledMap.cs | 4 ++-- UnityIso.userprefs | 9 +++++---- 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/Assets/IsoTools/Scripts/IsoObject.cs b/Assets/IsoTools/Scripts/IsoObject.cs index 5e83c62..6eab1aa 100644 --- a/Assets/IsoTools/Scripts/IsoObject.cs +++ b/Assets/IsoTools/Scripts/IsoObject.cs @@ -184,7 +184,7 @@ namespace IsoTools { // // --------------------------------------------------------------------- - #if UNITY_EDITOR + #if UNITY_EDITOR Vector3 _lastSize = Vector3.zero; Vector3 _lastPosition = Vector3.zero; Vector2 _lastTransPos = Vector2.zero; @@ -201,7 +201,7 @@ namespace IsoTools { get { return _isShowBounds; } set { _isShowBounds = value; } } - #endif + #endif // --------------------------------------------------------------------- // diff --git a/Assets/IsoTools/Tiled/Internal/Editor/TiledMapAssetEditor.cs b/Assets/IsoTools/Tiled/Internal/Editor/TiledMapAssetEditor.cs index 3edc984..aaa29ed 100644 --- a/Assets/IsoTools/Tiled/Internal/Editor/TiledMapAssetEditor.cs +++ b/Assets/IsoTools/Tiled/Internal/Editor/TiledMapAssetEditor.cs @@ -81,6 +81,7 @@ namespace IsoTools.Tiled.Internal { mesh_filter.mesh = GetTilesetMesh(tileset_index, layer_index); var mesh_renderer = tileset.gameObject.AddComponent(); mesh_renderer.sharedMaterial = GetTilesetMaterial(tileset_index); + mesh_renderer.useLightProbes = false; mesh_renderer.receiveShadows = false; mesh_renderer.shadowCastingMode = ShadowCastingMode.Off; mesh_renderer.reflectionProbeUsage = ReflectionProbeUsage.Off; diff --git a/Assets/IsoTools/Tiled/TiledMap.cs b/Assets/IsoTools/Tiled/TiledMap.cs index 0f800c6..25836aa 100644 --- a/Assets/IsoTools/Tiled/TiledMap.cs +++ b/Assets/IsoTools/Tiled/TiledMap.cs @@ -20,14 +20,14 @@ namespace IsoTools.Tiled { // // --------------------------------------------------------------------- - #if UNITY_EDITOR + #if UNITY_EDITOR [SerializeField] bool _isShowGrid = false; public bool isShowGrid { get { return _isShowGrid; } set { _isShowGrid = value; } } - #endif + #endif // --------------------------------------------------------------------- // diff --git a/UnityIso.userprefs b/UnityIso.userprefs index 425c6a0..26925e2 100644 --- a/UnityIso.userprefs +++ b/UnityIso.userprefs @@ -1,9 +1,10 @@  - - + + - - + + +