prefab bug fix!

This commit is contained in:
2015-08-26 00:26:05 +06:00
parent 706b13d990
commit d83fe0f094
15 changed files with 583 additions and 275 deletions

View File

@@ -42,7 +42,7 @@ Transform:
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 124842}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -23.7793655, y: 45.2162933, z: 14.0350876}
m_LocalPosition: {x: -.966036737, y: 1.83691168, z: 14.0350876}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 491986}

View File

@@ -57,6 +57,10 @@ GameObject:
m_Component:
- 4: {fileID: 460460}
- 114: {fileID: 11456498}
- 114: {fileID: 11402184}
- 114: {fileID: 11434552}
- 114: {fileID: 11465338}
- 114: {fileID: 11476164}
m_Layer: 0
m_Name: Building
m_TagString: Untagged
@@ -83,7 +87,7 @@ Transform:
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 199876}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: .649999499, y: 2.27499962, z: 52.7777863}
m_LocalPosition: {x: 0, y: 0, z: 1}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 492676}
@@ -115,6 +119,35 @@ Transform:
m_Children: []
m_Father: {fileID: 460460}
m_RootOrder: 0
--- !u!114 &11402184
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 199876}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: b256250c588ee4e4590a3e58eaa69b1d, type: 3}
m_Name:
m_EditorClassIdentifier:
_material: {fileID: 0}
_isTrigger: 0
_size: {x: 1, y: 1, z: 2}
_offset: {x: .5, y: .5, z: 1}
--- !u!114 &11434552
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 199876}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4febe544112bb4678bdd59fa963c802d, type: 3}
m_Name:
m_EditorClassIdentifier:
_isKinematic: 1
_interpolation: 0
_collisionDetectionMode: 0
--- !u!114 &11456498
MonoBehaviour:
m_ObjectHideFlags: 1
@@ -128,9 +161,38 @@ MonoBehaviour:
m_EditorClassIdentifier:
_mode: 0
_size: {x: 1, y: 1, z: 2}
_position: {x: 4, y: 3, z: 0}
_position: {x: 0, y: 0, z: 0}
_isAlignment: 1
_isShowBounds: 0
--- !u!114 &11465338
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 199876}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: b256250c588ee4e4590a3e58eaa69b1d, type: 3}
m_Name:
m_EditorClassIdentifier:
_material: {fileID: 0}
_isTrigger: 0
_size: {x: 1, y: 1, z: 2}
_offset: {x: .5, y: .5, z: 1}
--- !u!114 &11476164
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 199876}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4febe544112bb4678bdd59fa963c802d, type: 3}
m_Name:
m_EditorClassIdentifier:
_isKinematic: 1
_interpolation: 0
_collisionDetectionMode: 0
--- !u!212 &21224890
SpriteRenderer:
m_ObjectHideFlags: 1

View File

@@ -9,6 +9,8 @@ GameObject:
m_Component:
- 4: {fileID: 436798}
- 114: {fileID: 11470110}
- 114: {fileID: 11460480}
- 114: {fileID: 11461334}
m_Layer: 0
m_Name: Fence
m_TagString: Untagged
@@ -51,12 +53,41 @@ Transform:
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 129934}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: .344499975, z: 0}
m_LocalPosition: {x: .649999976, y: .669499874, z: 1.10000002}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 403766}
m_Father: {fileID: 0}
m_RootOrder: 0
--- !u!114 &11460480
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 129934}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: b256250c588ee4e4590a3e58eaa69b1d, type: 3}
m_Name:
m_EditorClassIdentifier:
_material: {fileID: 0}
_isTrigger: 0
_size: {x: 1, y: .0700000003, z: .430000007}
_offset: {x: .5, y: .0350000001, z: .215000004}
--- !u!114 &11461334
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 129934}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4febe544112bb4678bdd59fa963c802d, type: 3}
m_Name:
m_EditorClassIdentifier:
_isKinematic: 1
_interpolation: 0
_collisionDetectionMode: 0
--- !u!114 &11470110
MonoBehaviour:
m_ObjectHideFlags: 1
@@ -70,7 +101,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
_mode: 0
_size: {x: 1, y: .0700000003, z: .430000007}
_position: {x: 0, y: 0, z: .529999971}
_position: {x: .99999994, y: -2.53778239e-07, z: .529999971}
_isAlignment: 0
_isShowBounds: 0
--- !u!212 &21295688

View File

@@ -77,7 +77,23 @@ Prefab:
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications: []
m_Modifications:
- target: {fileID: 0}
propertyPath: _position.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: _position.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 0}
m_RootGameObject: {fileID: 117528}

View File

@@ -40,6 +40,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 9a9c584f9a39449438abc7ba59a68778, type: 3}
m_Name:
m_EditorClassIdentifier:
_mode: 0
_size: {x: 1, y: 0, z: 1}
_position: {x: 0, y: 0, z: 0}
_isAlignment: 1

View File

@@ -24,7 +24,7 @@ Transform:
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 173450}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -0, y: 0, z: 0}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
@@ -40,6 +40,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 9a9c584f9a39449438abc7ba59a68778, type: 3}
m_Name:
m_EditorClassIdentifier:
_mode: 0
_size: {x: 0, y: 3, z: 1}
_position: {x: -0, y: 0, z: 0}
_isAlignment: 1

View File

@@ -40,6 +40,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 9a9c584f9a39449438abc7ba59a68778, type: 3}
m_Name:
m_EditorClassIdentifier:
_mode: 0
_size: {x: 3, y: 0, z: 1}
_position: {x: 0, y: 0, z: 0}
_isAlignment: 1