code style

This commit is contained in:
2016-02-07 04:40:36 +06:00
parent 4bf3be6c79
commit aa6637bb3d
9 changed files with 1098 additions and 69 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 221bc03dca62748f284639c0b399875b
timeCreated: 1454796632
timeCreated: 1454797935
licenseType: Free
TextureImporter:
fileIDToRecycleName:
@@ -68,7 +68,7 @@ TextureImporter:
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
spritePixelsToUnits: 1
alphaIsTransparency: 1
textureType: 8
buildTargetSettings: []

View File

@@ -1,5 +1,5 @@
<?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>
<property name="Test Map Property" value="test value"/>
</properties>
@@ -2552,7 +2552,7 @@
<tile gid="1"/>
</data>
</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>
<property name="em" value=""/>
<property name="layer prop" value="765"/>
@@ -5060,7 +5060,7 @@
<tile gid="0"/>
</data>
</layer>
<objectgroup name="Object Layer 1" visible="0">
<objectgroup name="Object Layer 1">
<properties>
<property name="Layer Custom Prop" value="hello"/>
<property name="Layer Custom Prop 2" value="world"/>
@@ -5070,6 +5070,12 @@
<property name="Test Object prop" value=":)"/>
</properties>
</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>
<imagelayer name="Image Layer 1" visible="0">
<image source="../../../../../../../Dropbox/My/Foto.png"/>

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: e7e6bc4bffa144ad4863e494f08333a4
timeCreated: 1454796632
timeCreated: 1454797935
licenseType: Free
TextureImporter:
fileIDToRecycleName:
@@ -68,7 +68,7 @@ TextureImporter:
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
spritePixelsToUnits: 1
alphaIsTransparency: 1
textureType: 8
buildTargetSettings: []

File diff suppressed because one or more lines are too long

View File

@@ -8,18 +8,6 @@ namespace IsoTools.Tiled.Internal {
class TiledMapMapEditor : Editor {
TiledMap _map = null;
// ------------------------------------------------------------------------
//
// Functions
//
// ------------------------------------------------------------------------
// ------------------------------------------------------------------------
//
// Messages
//
// ------------------------------------------------------------------------
void OnEnable() {
_map = target as TiledMap;
}

View File

@@ -8,18 +8,6 @@ namespace IsoTools.Tiled.Internal {
class TiledMapLayerEditor : Editor {
TiledMapLayer _layer = null;
// ------------------------------------------------------------------------
//
// Functions
//
// ------------------------------------------------------------------------
// ------------------------------------------------------------------------
//
// Messages
//
// ------------------------------------------------------------------------
void OnEnable() {
_layer = target as TiledMapLayer;
}

View File

@@ -8,18 +8,6 @@ namespace IsoTools.Tiled.Internal {
class TiledMapTileEditor : Editor {
TiledMapTileset _tileset = null;
// ------------------------------------------------------------------------
//
// Functions
//
// ------------------------------------------------------------------------
// ------------------------------------------------------------------------
//
// Messages
//
// ------------------------------------------------------------------------
void OnEnable() {
_tileset = target as TiledMapTileset;
}

View File

@@ -29,35 +29,13 @@ namespace IsoTools.Tiled {
}
#endif
// ---------------------------------------------------------------------
//
// Functions
//
// ---------------------------------------------------------------------
// ---------------------------------------------------------------------
//
// Messages
//
// ---------------------------------------------------------------------
void Awake() {
}
void OnEnable() {
}
void OnDisable() {
}
#if UNITY_EDITOR
void Reset() {
}
void OnValidate() {
}
void OnDrawGizmos() {
var iso_object = GetComponent<IsoObject>();
if ( isShowGrid && iso_object && iso_object.isoWorld ) {
@@ -67,9 +45,6 @@ namespace IsoTools.Tiled {
IsoUtils.ColorChangeA(Color.green, 0.5f));
}
}
void Update() {
}
#endif
}
}