Skip to content

Commit

Permalink
Fixed tower arrow pointer not rendering properly
Browse files Browse the repository at this point in the history
  • Loading branch information
ddabble committed Nov 17, 2021
1 parent da07a10 commit 56ecbf7
Show file tree
Hide file tree
Showing 5 changed files with 161 additions and 196 deletions.
82 changes: 81 additions & 1 deletion Assets/Prefabs/Towers/AxeTurret/AxeTurret.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ Transform:
m_Children:
- {fileID: 8637078598880068123}
- {fileID: 7816160981140977133}
- {fileID: 5564782166609652078}
m_Father: {fileID: 8095123865731280178}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: -90, y: 0, z: 0}
Expand Down Expand Up @@ -773,7 +774,7 @@ MonoBehaviour:
canInteract: 1
input: {fileID: 0}
rotAxis: {fileID: 929849385462332844}
arrowPointer: {fileID: 0}
arrowPointer: {fileID: 8198781589771022394}
--- !u!114 &8637078598552028505
MonoBehaviour:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -903,3 +904,82 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
animationController: {fileID: 8637078598552028505}
--- !u!1001 &6788856973596233169
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 929849385462332844}
m_Modifications:
- target: {fileID: 1372699136307061951, guid: ee8fb43cc43677e479751a906e5344d5, type: 3}
propertyPath: m_LocalPosition.x
value: 0.15028092
objectReference: {fileID: 0}
- target: {fileID: 1372699136307061951, guid: ee8fb43cc43677e479751a906e5344d5, type: 3}
propertyPath: m_LocalPosition.y
value: -0.00002850771
objectReference: {fileID: 0}
- target: {fileID: 1372699136307061951, guid: ee8fb43cc43677e479751a906e5344d5, type: 3}
propertyPath: m_LocalPosition.z
value: -0.032606807
objectReference: {fileID: 0}
- target: {fileID: 1372699136307061951, guid: ee8fb43cc43677e479751a906e5344d5, type: 3}
propertyPath: m_LocalRotation.x
value: 0.50000006
objectReference: {fileID: 0}
- target: {fileID: 1372699136307061951, guid: ee8fb43cc43677e479751a906e5344d5, type: 3}
propertyPath: m_LocalRotation.y
value: -0.49999997
objectReference: {fileID: 0}
- target: {fileID: 1372699136307061951, guid: ee8fb43cc43677e479751a906e5344d5, type: 3}
propertyPath: m_LocalRotation.z
value: -0.50000006
objectReference: {fileID: 0}
- target: {fileID: 1372699136307061951, guid: ee8fb43cc43677e479751a906e5344d5, type: 3}
propertyPath: m_LocalRotation.w
value: 0.49999997
objectReference: {fileID: 0}
- target: {fileID: 1372699136307061951, guid: ee8fb43cc43677e479751a906e5344d5, type: 3}
propertyPath: m_RootOrder
value: 2
objectReference: {fileID: 0}
- target: {fileID: 1372699136307061951, guid: ee8fb43cc43677e479751a906e5344d5, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1372699136307061951, guid: ee8fb43cc43677e479751a906e5344d5, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: -90
objectReference: {fileID: 0}
- target: {fileID: 1372699136307061951, guid: ee8fb43cc43677e479751a906e5344d5, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1372699136307061951, guid: ee8fb43cc43677e479751a906e5344d5, type: 3}
propertyPath: m_LocalScale.z
value: 0.010000002
objectReference: {fileID: 0}
- target: {fileID: 1372699136307061951, guid: ee8fb43cc43677e479751a906e5344d5, type: 3}
propertyPath: m_LocalScale.y
value: 0.010000001
objectReference: {fileID: 0}
- target: {fileID: 1372699136307061951, guid: ee8fb43cc43677e479751a906e5344d5, type: 3}
propertyPath: m_LocalScale.x
value: 0.010000002
objectReference: {fileID: 0}
- target: {fileID: 3454596370188697067, guid: ee8fb43cc43677e479751a906e5344d5, type: 3}
propertyPath: m_Name
value: pointerArrow
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: ee8fb43cc43677e479751a906e5344d5, type: 3}
--- !u!4 &5564782166609652078 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 1372699136307061951, guid: ee8fb43cc43677e479751a906e5344d5, type: 3}
m_PrefabInstance: {fileID: 6788856973596233169}
m_PrefabAsset: {fileID: 0}
--- !u!1 &8198781589771022394 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 3454596370188697067, guid: ee8fb43cc43677e479751a906e5344d5, type: 3}
m_PrefabInstance: {fileID: 6788856973596233169}
m_PrefabAsset: {fileID: 0}
12 changes: 6 additions & 6 deletions Assets/Prefabs/Towers/WheelTurret/WheelTurret.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ MonoBehaviour:
canInteract: 1
input: {fileID: 0}
rotAxis: {fileID: 769070955576516685}
arrowPointer: {fileID: 8557351424284430801}
arrowPointer: {fileID: 8246341762033966926}
--- !u!114 &2609491176346275453
MonoBehaviour:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -643,13 +643,13 @@ PrefabInstance:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: ee8fb43cc43677e479751a906e5344d5, type: 3}
--- !u!1 &8246341762033966926 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 3454596370188697067, guid: ee8fb43cc43677e479751a906e5344d5, type: 3}
m_PrefabInstance: {fileID: 6737900972572648101}
m_PrefabAsset: {fileID: 0}
--- !u!4 &5660210728513226266 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 1372699136307061951, guid: ee8fb43cc43677e479751a906e5344d5, type: 3}
m_PrefabInstance: {fileID: 6737900972572648101}
m_PrefabAsset: {fileID: 0}
--- !u!1 &8557351424284430801 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 3116496389356106612, guid: ee8fb43cc43677e479751a906e5344d5, type: 3}
m_PrefabInstance: {fileID: 6737900972572648101}
m_PrefabAsset: {fileID: 0}
2 changes: 1 addition & 1 deletion Assets/Prefabs/Towers/pointerArrow.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ MeshRenderer:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3116496389356106612}
m_Enabled: 0
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
Expand Down
Loading

0 comments on commit 56ecbf7

Please sign in to comment.