mirror of
https://github.com/BlackMATov/unity-iso-tools.git
synced 2025-12-15 01:12:05 +07:00
code style
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1,6 +1,6 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 221bc03dca62748f284639c0b399875b
|
guid: 221bc03dca62748f284639c0b399875b
|
||||||
timeCreated: 1454796632
|
timeCreated: 1454797935
|
||||||
licenseType: Free
|
licenseType: Free
|
||||||
TextureImporter:
|
TextureImporter:
|
||||||
fileIDToRecycleName:
|
fileIDToRecycleName:
|
||||||
@@ -68,7 +68,7 @@ TextureImporter:
|
|||||||
alignment: 0
|
alignment: 0
|
||||||
spritePivot: {x: 0.5, y: 0.5}
|
spritePivot: {x: 0.5, y: 0.5}
|
||||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||||
spritePixelsToUnits: 100
|
spritePixelsToUnits: 1
|
||||||
alphaIsTransparency: 1
|
alphaIsTransparency: 1
|
||||||
textureType: 8
|
textureType: 8
|
||||||
buildTargetSettings: []
|
buildTargetSettings: []
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<map version="1.0" orientation="isometric" renderorder="right-down" width="50" height="50" tilewidth="64" tileheight="32" nextobjectid="2">
|
<map version="1.0" orientation="isometric" renderorder="right-down" width="50" height="50" tilewidth="64" tileheight="32" nextobjectid="9">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="Test Map Property" value="test value"/>
|
<property name="Test Map Property" value="test value"/>
|
||||||
</properties>
|
</properties>
|
||||||
@@ -2552,7 +2552,7 @@
|
|||||||
<tile gid="1"/>
|
<tile gid="1"/>
|
||||||
</data>
|
</data>
|
||||||
</layer>
|
</layer>
|
||||||
<layer name="Tile Layer 2" width="50" height="50" visible="0" offsetx="0" offsety="-100">
|
<layer name="Tile Layer 2" width="50" height="50" offsetx="0" offsety="-100">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="em" value=""/>
|
<property name="em" value=""/>
|
||||||
<property name="layer prop" value="765"/>
|
<property name="layer prop" value="765"/>
|
||||||
@@ -5060,7 +5060,7 @@
|
|||||||
<tile gid="0"/>
|
<tile gid="0"/>
|
||||||
</data>
|
</data>
|
||||||
</layer>
|
</layer>
|
||||||
<objectgroup name="Object Layer 1" visible="0">
|
<objectgroup name="Object Layer 1">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="Layer Custom Prop" value="hello"/>
|
<property name="Layer Custom Prop" value="hello"/>
|
||||||
<property name="Layer Custom Prop 2" value="world"/>
|
<property name="Layer Custom Prop 2" value="world"/>
|
||||||
@@ -5070,6 +5070,12 @@
|
|||||||
<property name="Test Object prop" value=":)"/>
|
<property name="Test Object prop" value=":)"/>
|
||||||
</properties>
|
</properties>
|
||||||
</object>
|
</object>
|
||||||
|
<object id="2" name="TestCircle" x="671.357" y="779.307" width="497.713" height="369.201">
|
||||||
|
<ellipse/>
|
||||||
|
</object>
|
||||||
|
<object id="7" x="627.794" y="300.109">
|
||||||
|
<polygon points="0,0 113.265,-213.461 519.495,173.165 273.361,336.528 170.987,-44.6526"/>
|
||||||
|
</object>
|
||||||
</objectgroup>
|
</objectgroup>
|
||||||
<imagelayer name="Image Layer 1" visible="0">
|
<imagelayer name="Image Layer 1" visible="0">
|
||||||
<image source="../../../../../../../Dropbox/My/Foto.png"/>
|
<image source="../../../../../../../Dropbox/My/Foto.png"/>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: e7e6bc4bffa144ad4863e494f08333a4
|
guid: e7e6bc4bffa144ad4863e494f08333a4
|
||||||
timeCreated: 1454796632
|
timeCreated: 1454797935
|
||||||
licenseType: Free
|
licenseType: Free
|
||||||
TextureImporter:
|
TextureImporter:
|
||||||
fileIDToRecycleName:
|
fileIDToRecycleName:
|
||||||
@@ -68,7 +68,7 @@ TextureImporter:
|
|||||||
alignment: 0
|
alignment: 0
|
||||||
spritePivot: {x: 0.5, y: 0.5}
|
spritePivot: {x: 0.5, y: 0.5}
|
||||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||||
spritePixelsToUnits: 100
|
spritePixelsToUnits: 1
|
||||||
alphaIsTransparency: 1
|
alphaIsTransparency: 1
|
||||||
textureType: 8
|
textureType: 8
|
||||||
buildTargetSettings: []
|
buildTargetSettings: []
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -8,18 +8,6 @@ namespace IsoTools.Tiled.Internal {
|
|||||||
class TiledMapMapEditor : Editor {
|
class TiledMapMapEditor : Editor {
|
||||||
TiledMap _map = null;
|
TiledMap _map = null;
|
||||||
|
|
||||||
// ------------------------------------------------------------------------
|
|
||||||
//
|
|
||||||
// Functions
|
|
||||||
//
|
|
||||||
// ------------------------------------------------------------------------
|
|
||||||
|
|
||||||
// ------------------------------------------------------------------------
|
|
||||||
//
|
|
||||||
// Messages
|
|
||||||
//
|
|
||||||
// ------------------------------------------------------------------------
|
|
||||||
|
|
||||||
void OnEnable() {
|
void OnEnable() {
|
||||||
_map = target as TiledMap;
|
_map = target as TiledMap;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,18 +8,6 @@ namespace IsoTools.Tiled.Internal {
|
|||||||
class TiledMapLayerEditor : Editor {
|
class TiledMapLayerEditor : Editor {
|
||||||
TiledMapLayer _layer = null;
|
TiledMapLayer _layer = null;
|
||||||
|
|
||||||
// ------------------------------------------------------------------------
|
|
||||||
//
|
|
||||||
// Functions
|
|
||||||
//
|
|
||||||
// ------------------------------------------------------------------------
|
|
||||||
|
|
||||||
// ------------------------------------------------------------------------
|
|
||||||
//
|
|
||||||
// Messages
|
|
||||||
//
|
|
||||||
// ------------------------------------------------------------------------
|
|
||||||
|
|
||||||
void OnEnable() {
|
void OnEnable() {
|
||||||
_layer = target as TiledMapLayer;
|
_layer = target as TiledMapLayer;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,18 +8,6 @@ namespace IsoTools.Tiled.Internal {
|
|||||||
class TiledMapTileEditor : Editor {
|
class TiledMapTileEditor : Editor {
|
||||||
TiledMapTileset _tileset = null;
|
TiledMapTileset _tileset = null;
|
||||||
|
|
||||||
// ------------------------------------------------------------------------
|
|
||||||
//
|
|
||||||
// Functions
|
|
||||||
//
|
|
||||||
// ------------------------------------------------------------------------
|
|
||||||
|
|
||||||
// ------------------------------------------------------------------------
|
|
||||||
//
|
|
||||||
// Messages
|
|
||||||
//
|
|
||||||
// ------------------------------------------------------------------------
|
|
||||||
|
|
||||||
void OnEnable() {
|
void OnEnable() {
|
||||||
_tileset = target as TiledMapTileset;
|
_tileset = target as TiledMapTileset;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,35 +29,13 @@ namespace IsoTools.Tiled {
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// ---------------------------------------------------------------------
|
|
||||||
//
|
|
||||||
// Functions
|
|
||||||
//
|
|
||||||
// ---------------------------------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
// ---------------------------------------------------------------------
|
// ---------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// Messages
|
// Messages
|
||||||
//
|
//
|
||||||
// ---------------------------------------------------------------------
|
// ---------------------------------------------------------------------
|
||||||
|
|
||||||
void Awake() {
|
|
||||||
}
|
|
||||||
|
|
||||||
void OnEnable() {
|
|
||||||
}
|
|
||||||
|
|
||||||
void OnDisable() {
|
|
||||||
}
|
|
||||||
|
|
||||||
#if UNITY_EDITOR
|
#if UNITY_EDITOR
|
||||||
void Reset() {
|
|
||||||
}
|
|
||||||
|
|
||||||
void OnValidate() {
|
|
||||||
}
|
|
||||||
|
|
||||||
void OnDrawGizmos() {
|
void OnDrawGizmos() {
|
||||||
var iso_object = GetComponent<IsoObject>();
|
var iso_object = GetComponent<IsoObject>();
|
||||||
if ( isShowGrid && iso_object && iso_object.isoWorld ) {
|
if ( isShowGrid && iso_object && iso_object.isoWorld ) {
|
||||||
@@ -67,9 +45,6 @@ namespace IsoTools.Tiled {
|
|||||||
IsoUtils.ColorChangeA(Color.green, 0.5f));
|
IsoUtils.ColorChangeA(Color.green, 0.5f));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Update() {
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user