Aug19 serv build
This commit is contained in:
parent
19fff3745e
commit
907924c620
BIN
Assets/.DS_Store
vendored
BIN
Assets/.DS_Store
vendored
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
|
@ -71,6 +71,7 @@ Transform:
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children:
|
m_Children:
|
||||||
- {fileID: 8890752418855122191}
|
- {fileID: 8890752418855122191}
|
||||||
|
- {fileID: 2244585490397578698}
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
--- !u!33 &541726386239973379
|
--- !u!33 &541726386239973379
|
||||||
|
|
@ -265,12 +266,14 @@ MonoBehaviour:
|
||||||
isInAttackRange: 0
|
isInAttackRange: 0
|
||||||
uiEnemy: {fileID: 8890752418855122191}
|
uiEnemy: {fileID: 8890752418855122191}
|
||||||
enemyAttackDamage: 5
|
enemyAttackDamage: 5
|
||||||
hitVfx: {fileID: 0}
|
|
||||||
level: 0
|
level: 0
|
||||||
defScale: {x: 0.47, y: 0.47, z: 0.47}
|
defScale: {x: 0.47, y: 0.47, z: 0.47}
|
||||||
directionString: Side
|
directionString: Side
|
||||||
animationString: Idle
|
animationString: Idle
|
||||||
maxHealth: 0
|
maxHealth: 0
|
||||||
|
shieldUI: {fileID: 8804263351493683255}
|
||||||
|
shieldIconUI: {fileID: 8487906592990933205}
|
||||||
|
shieldBreakVfx: {fileID: 2244585490397578697}
|
||||||
--- !u!114 &6910786805781803145
|
--- !u!114 &6910786805781803145
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
@ -336,6 +339,103 @@ MonoBehaviour:
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
enemy: {fileID: 1503341026146379345}
|
enemy: {fileID: 1503341026146379345}
|
||||||
|
--- !u!1 &1299878089345620191
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 520922967073505071}
|
||||||
|
- component: {fileID: 8487906592990933205}
|
||||||
|
- component: {fileID: 254134095995187589}
|
||||||
|
m_Layer: 7
|
||||||
|
m_Name: ShieldIcon
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &520922967073505071
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1299878089345620191}
|
||||||
|
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 0.65, y: 0.51, z: 0}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 8804263351493683255}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: -2.58, y: 5.13}
|
||||||
|
m_SizeDelta: {x: -0.54, y: 0.09}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!212 &8487906592990933205
|
||||||
|
SpriteRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1299878089345620191}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_CastShadows: 0
|
||||||
|
m_ReceiveShadows: 0
|
||||||
|
m_DynamicOccludee: 1
|
||||||
|
m_StaticShadowCaster: 0
|
||||||
|
m_MotionVectors: 1
|
||||||
|
m_LightProbeUsage: 1
|
||||||
|
m_ReflectionProbeUsage: 1
|
||||||
|
m_RayTracingMode: 0
|
||||||
|
m_RayTraceProcedural: 0
|
||||||
|
m_RenderingLayerMask: 1
|
||||||
|
m_RendererPriority: 0
|
||||||
|
m_Materials:
|
||||||
|
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_StaticBatchInfo:
|
||||||
|
firstSubMesh: 0
|
||||||
|
subMeshCount: 0
|
||||||
|
m_StaticBatchRoot: {fileID: 0}
|
||||||
|
m_ProbeAnchor: {fileID: 0}
|
||||||
|
m_LightProbeVolumeOverride: {fileID: 0}
|
||||||
|
m_ScaleInLightmap: 1
|
||||||
|
m_ReceiveGI: 1
|
||||||
|
m_PreserveUVs: 0
|
||||||
|
m_IgnoreNormalsForChartDetection: 0
|
||||||
|
m_ImportantGI: 0
|
||||||
|
m_StitchLightmapSeams: 1
|
||||||
|
m_SelectedEditorRenderState: 0
|
||||||
|
m_MinimumChartSize: 4
|
||||||
|
m_AutoUVMaxDistance: 0.5
|
||||||
|
m_AutoUVMaxAngle: 89
|
||||||
|
m_LightmapParameters: {fileID: 0}
|
||||||
|
m_SortingLayerID: 0
|
||||||
|
m_SortingLayer: 0
|
||||||
|
m_SortingOrder: 20
|
||||||
|
m_Sprite: {fileID: 21300000, guid: e8b3a0fffd376644ba4f9392d89d5016, type: 3}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_FlipX: 0
|
||||||
|
m_FlipY: 0
|
||||||
|
m_DrawMode: 0
|
||||||
|
m_Size: {x: 0.52, y: 0.09}
|
||||||
|
m_AdaptiveModeThreshold: 0.5
|
||||||
|
m_SpriteTileMode: 0
|
||||||
|
m_WasSpriteAssigned: 1
|
||||||
|
m_MaskInteraction: 0
|
||||||
|
m_SpriteSortPoint: 0
|
||||||
|
--- !u!222 &254134095995187589
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1299878089345620191}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
--- !u!1 &1672692904241662118
|
--- !u!1 &1672692904241662118
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
@ -365,6 +465,7 @@ Transform:
|
||||||
m_LocalScale: {x: 1, y: 1, z: 0}
|
m_LocalScale: {x: 1, y: 1, z: 0}
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children:
|
m_Children:
|
||||||
|
- {fileID: 520922967073505071}
|
||||||
- {fileID: 20142901320141619}
|
- {fileID: 20142901320141619}
|
||||||
- {fileID: 5780847139131698005}
|
- {fileID: 5780847139131698005}
|
||||||
m_Father: {fileID: 8890752418855122191}
|
m_Father: {fileID: 8890752418855122191}
|
||||||
|
|
@ -1225,3 +1326,82 @@ SpriteRenderer:
|
||||||
m_WasSpriteAssigned: 1
|
m_WasSpriteAssigned: 1
|
||||||
m_MaskInteraction: 0
|
m_MaskInteraction: 0
|
||||||
m_SpriteSortPoint: 0
|
m_SpriteSortPoint: 0
|
||||||
|
--- !u!1001 &6885849934993956084
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransformParent: {fileID: 6996804995074212180}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 4659302104648833331, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Poof_electric
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalScale.x
|
||||||
|
value: 4
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalScale.y
|
||||||
|
value: 4
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalScale.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0.026958551
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 2.42
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_RemovedGameObjects: []
|
||||||
|
m_AddedGameObjects: []
|
||||||
|
m_AddedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
--- !u!198 &2244585490397578697 stripped
|
||||||
|
ParticleSystem:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 4659302104648833341, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 6885849934993956084}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
--- !u!4 &2244585490397578698 stripped
|
||||||
|
Transform:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 6885849934993956084}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -71,6 +71,7 @@ Transform:
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children:
|
m_Children:
|
||||||
- {fileID: 437086168465758400}
|
- {fileID: 437086168465758400}
|
||||||
|
- {fileID: 5011897821477705271}
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
--- !u!33 &541726386239973379
|
--- !u!33 &541726386239973379
|
||||||
|
|
@ -265,12 +266,14 @@ MonoBehaviour:
|
||||||
isInAttackRange: 0
|
isInAttackRange: 0
|
||||||
uiEnemy: {fileID: 437086168465758400}
|
uiEnemy: {fileID: 437086168465758400}
|
||||||
enemyAttackDamage: 7
|
enemyAttackDamage: 7
|
||||||
hitVfx: {fileID: 0}
|
|
||||||
level: 0
|
level: 0
|
||||||
defScale: {x: 0.47, y: 0.47, z: 0.47}
|
defScale: {x: 0.47, y: 0.47, z: 0.47}
|
||||||
directionString: Side
|
directionString: Side
|
||||||
animationString: Idle
|
animationString: Idle
|
||||||
maxHealth: 0
|
maxHealth: 0
|
||||||
|
shieldUI: {fileID: 4168104139217719120}
|
||||||
|
shieldIconUI: {fileID: 7470167112776426391}
|
||||||
|
shieldBreakVfx: {fileID: 5011897821477705268}
|
||||||
--- !u!114 &6910786805781803145
|
--- !u!114 &6910786805781803145
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
@ -647,6 +650,7 @@ Transform:
|
||||||
m_LocalScale: {x: 1, y: 1, z: 0}
|
m_LocalScale: {x: 1, y: 1, z: 0}
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children:
|
m_Children:
|
||||||
|
- {fileID: 4073418579067875186}
|
||||||
- {fileID: 8826131781685144263}
|
- {fileID: 8826131781685144263}
|
||||||
- {fileID: 8138893460700823084}
|
- {fileID: 8138893460700823084}
|
||||||
m_Father: {fileID: 437086168465758400}
|
m_Father: {fileID: 437086168465758400}
|
||||||
|
|
@ -1225,3 +1229,167 @@ Transform:
|
||||||
- {fileID: 2555275301442748421}
|
- {fileID: 2555275301442748421}
|
||||||
m_Father: {fileID: 4168104139217719120}
|
m_Father: {fileID: 4168104139217719120}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
--- !u!1 &8788661526777726956
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 4073418579067875186}
|
||||||
|
- component: {fileID: 7470167112776426391}
|
||||||
|
- component: {fileID: 1467745123178609967}
|
||||||
|
m_Layer: 7
|
||||||
|
m_Name: ShieldIcon
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &4073418579067875186
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8788661526777726956}
|
||||||
|
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 0.65, y: 0.51, z: 0}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 4168104139217719120}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: -2.6, y: 5.1000004}
|
||||||
|
m_SizeDelta: {x: -0.54, y: 0.09}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!212 &7470167112776426391
|
||||||
|
SpriteRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8788661526777726956}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_CastShadows: 0
|
||||||
|
m_ReceiveShadows: 0
|
||||||
|
m_DynamicOccludee: 1
|
||||||
|
m_StaticShadowCaster: 0
|
||||||
|
m_MotionVectors: 1
|
||||||
|
m_LightProbeUsage: 1
|
||||||
|
m_ReflectionProbeUsage: 1
|
||||||
|
m_RayTracingMode: 0
|
||||||
|
m_RayTraceProcedural: 0
|
||||||
|
m_RenderingLayerMask: 1
|
||||||
|
m_RendererPriority: 0
|
||||||
|
m_Materials:
|
||||||
|
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_StaticBatchInfo:
|
||||||
|
firstSubMesh: 0
|
||||||
|
subMeshCount: 0
|
||||||
|
m_StaticBatchRoot: {fileID: 0}
|
||||||
|
m_ProbeAnchor: {fileID: 0}
|
||||||
|
m_LightProbeVolumeOverride: {fileID: 0}
|
||||||
|
m_ScaleInLightmap: 1
|
||||||
|
m_ReceiveGI: 1
|
||||||
|
m_PreserveUVs: 0
|
||||||
|
m_IgnoreNormalsForChartDetection: 0
|
||||||
|
m_ImportantGI: 0
|
||||||
|
m_StitchLightmapSeams: 1
|
||||||
|
m_SelectedEditorRenderState: 0
|
||||||
|
m_MinimumChartSize: 4
|
||||||
|
m_AutoUVMaxDistance: 0.5
|
||||||
|
m_AutoUVMaxAngle: 89
|
||||||
|
m_LightmapParameters: {fileID: 0}
|
||||||
|
m_SortingLayerID: 0
|
||||||
|
m_SortingLayer: 0
|
||||||
|
m_SortingOrder: 20
|
||||||
|
m_Sprite: {fileID: 21300000, guid: e8b3a0fffd376644ba4f9392d89d5016, type: 3}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_FlipX: 0
|
||||||
|
m_FlipY: 0
|
||||||
|
m_DrawMode: 0
|
||||||
|
m_Size: {x: 0.52, y: 0.09}
|
||||||
|
m_AdaptiveModeThreshold: 0.5
|
||||||
|
m_SpriteTileMode: 0
|
||||||
|
m_WasSpriteAssigned: 1
|
||||||
|
m_MaskInteraction: 0
|
||||||
|
m_SpriteSortPoint: 0
|
||||||
|
--- !u!222 &1467745123178609967
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8788661526777726956}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!1001 &370698248075693833
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransformParent: {fileID: 6996804995074212180}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 4659302104648833331, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Poof_electric
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 1.82
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_RemovedGameObjects: []
|
||||||
|
m_AddedGameObjects: []
|
||||||
|
m_AddedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
--- !u!198 &5011897821477705268 stripped
|
||||||
|
ParticleSystem:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 4659302104648833341, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 370698248075693833}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
--- !u!4 &5011897821477705271 stripped
|
||||||
|
Transform:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 370698248075693833}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
|
|
||||||
|
|
@ -71,6 +71,7 @@ Transform:
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children:
|
m_Children:
|
||||||
- {fileID: 6553627824343142004}
|
- {fileID: 6553627824343142004}
|
||||||
|
- {fileID: 3157719857713184272}
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
--- !u!33 &541726386239973379
|
--- !u!33 &541726386239973379
|
||||||
|
|
@ -265,12 +266,14 @@ MonoBehaviour:
|
||||||
isInAttackRange: 0
|
isInAttackRange: 0
|
||||||
uiEnemy: {fileID: 6553627824343142004}
|
uiEnemy: {fileID: 6553627824343142004}
|
||||||
enemyAttackDamage: 7
|
enemyAttackDamage: 7
|
||||||
hitVfx: {fileID: 0}
|
|
||||||
level: 0
|
level: 0
|
||||||
defScale: {x: 0.47, y: 0.47, z: 0.47}
|
defScale: {x: 0.47, y: 0.47, z: 0.47}
|
||||||
directionString: Side
|
directionString: Side
|
||||||
animationString: Idle
|
animationString: Idle
|
||||||
maxHealth: 0
|
maxHealth: 0
|
||||||
|
shieldUI: {fileID: 2028339836095968879}
|
||||||
|
shieldIconUI: {fileID: 5556217223617724048}
|
||||||
|
shieldBreakVfx: {fileID: 3157719857713184275}
|
||||||
--- !u!114 &6910786805781803145
|
--- !u!114 &6910786805781803145
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
@ -661,8 +664,8 @@ Transform:
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children:
|
m_Children:
|
||||||
- {fileID: 8964528504973515913}
|
- {fileID: 8964528504973515913}
|
||||||
- {fileID: 4744380201510388511}
|
|
||||||
- {fileID: 3648012348632283978}
|
- {fileID: 3648012348632283978}
|
||||||
|
- {fileID: 4744380201510388511}
|
||||||
m_Father: {fileID: 6553627824343142004}
|
m_Father: {fileID: 6553627824343142004}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
--- !u!1 &4219437323657878317
|
--- !u!1 &4219437323657878317
|
||||||
|
|
@ -839,7 +842,7 @@ GameObject:
|
||||||
m_Component:
|
m_Component:
|
||||||
- component: {fileID: 2028339836095968879}
|
- component: {fileID: 2028339836095968879}
|
||||||
m_Layer: 7
|
m_Layer: 7
|
||||||
m_Name: MagicalRes
|
m_Name: Shield
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
|
|
@ -859,9 +862,107 @@ Transform:
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children:
|
m_Children:
|
||||||
- {fileID: 4959125589177985481}
|
- {fileID: 4959125589177985481}
|
||||||
|
- {fileID: 7003610854703978796}
|
||||||
- {fileID: 4536626752077848554}
|
- {fileID: 4536626752077848554}
|
||||||
m_Father: {fileID: 6553627824343142004}
|
m_Father: {fileID: 6553627824343142004}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
--- !u!1 &6367285883159757018
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 7003610854703978796}
|
||||||
|
- component: {fileID: 214255819118624285}
|
||||||
|
- component: {fileID: 3563876841877001155}
|
||||||
|
m_Layer: 7
|
||||||
|
m_Name: ShieldIcon
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &7003610854703978796
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 6367285883159757018}
|
||||||
|
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 0.65, y: 0.51, z: 0.65}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 2028339836095968879}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: -2.49, y: 5.113}
|
||||||
|
m_SizeDelta: {x: -0.54, y: 0.09}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!212 &214255819118624285
|
||||||
|
SpriteRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 6367285883159757018}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_CastShadows: 0
|
||||||
|
m_ReceiveShadows: 0
|
||||||
|
m_DynamicOccludee: 1
|
||||||
|
m_StaticShadowCaster: 0
|
||||||
|
m_MotionVectors: 1
|
||||||
|
m_LightProbeUsage: 1
|
||||||
|
m_ReflectionProbeUsage: 1
|
||||||
|
m_RayTracingMode: 0
|
||||||
|
m_RayTraceProcedural: 0
|
||||||
|
m_RenderingLayerMask: 1
|
||||||
|
m_RendererPriority: 0
|
||||||
|
m_Materials:
|
||||||
|
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_StaticBatchInfo:
|
||||||
|
firstSubMesh: 0
|
||||||
|
subMeshCount: 0
|
||||||
|
m_StaticBatchRoot: {fileID: 0}
|
||||||
|
m_ProbeAnchor: {fileID: 0}
|
||||||
|
m_LightProbeVolumeOverride: {fileID: 0}
|
||||||
|
m_ScaleInLightmap: 1
|
||||||
|
m_ReceiveGI: 1
|
||||||
|
m_PreserveUVs: 0
|
||||||
|
m_IgnoreNormalsForChartDetection: 0
|
||||||
|
m_ImportantGI: 0
|
||||||
|
m_StitchLightmapSeams: 1
|
||||||
|
m_SelectedEditorRenderState: 0
|
||||||
|
m_MinimumChartSize: 4
|
||||||
|
m_AutoUVMaxDistance: 0.5
|
||||||
|
m_AutoUVMaxAngle: 89
|
||||||
|
m_LightmapParameters: {fileID: 0}
|
||||||
|
m_SortingLayerID: 0
|
||||||
|
m_SortingLayer: 0
|
||||||
|
m_SortingOrder: 20
|
||||||
|
m_Sprite: {fileID: 21300000, guid: e8b3a0fffd376644ba4f9392d89d5016, type: 3}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_FlipX: 0
|
||||||
|
m_FlipY: 0
|
||||||
|
m_DrawMode: 0
|
||||||
|
m_Size: {x: 0.52, y: 0.09}
|
||||||
|
m_AdaptiveModeThreshold: 0.5
|
||||||
|
m_SpriteTileMode: 0
|
||||||
|
m_WasSpriteAssigned: 1
|
||||||
|
m_MaskInteraction: 0
|
||||||
|
m_SpriteSortPoint: 0
|
||||||
|
--- !u!222 &3563876841877001155
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 6367285883159757018}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
--- !u!1 &7560883661715122194
|
--- !u!1 &7560883661715122194
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
@ -1225,3 +1326,74 @@ SpriteRenderer:
|
||||||
m_WasSpriteAssigned: 1
|
m_WasSpriteAssigned: 1
|
||||||
m_MaskInteraction: 0
|
m_MaskInteraction: 0
|
||||||
m_SpriteSortPoint: 0
|
m_SpriteSortPoint: 0
|
||||||
|
--- !u!1001 &7744876269952706350
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransformParent: {fileID: 6996804995074212180}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 4659302104648833331, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Poof_electric
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833331, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_IsActive
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 1.82
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_RemovedGameObjects: []
|
||||||
|
m_AddedGameObjects: []
|
||||||
|
m_AddedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
--- !u!4 &3157719857713184272 stripped
|
||||||
|
Transform:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 7744876269952706350}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
--- !u!198 &3157719857713184275 stripped
|
||||||
|
ParticleSystem:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 4659302104648833341, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 7744876269952706350}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
|
|
||||||
|
|
@ -168,6 +168,7 @@ Transform:
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children:
|
m_Children:
|
||||||
- {fileID: 4823730940860246971}
|
- {fileID: 4823730940860246971}
|
||||||
|
- {fileID: 7604350615089841888}
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
--- !u!33 &541726386239973379
|
--- !u!33 &541726386239973379
|
||||||
|
|
@ -362,12 +363,14 @@ MonoBehaviour:
|
||||||
isInAttackRange: 0
|
isInAttackRange: 0
|
||||||
uiEnemy: {fileID: 4823730940860246971}
|
uiEnemy: {fileID: 4823730940860246971}
|
||||||
enemyAttackDamage: 7
|
enemyAttackDamage: 7
|
||||||
hitVfx: {fileID: 0}
|
|
||||||
level: 0
|
level: 0
|
||||||
defScale: {x: 0.47, y: 0.47, z: 0.47}
|
defScale: {x: 0.47, y: 0.47, z: 0.47}
|
||||||
directionString: Side
|
directionString: Side
|
||||||
animationString: Idle
|
animationString: Idle
|
||||||
maxHealth: 0
|
maxHealth: 0
|
||||||
|
shieldUI: {fileID: 7820688229898850416}
|
||||||
|
shieldIconUI: {fileID: 5577737370374663793}
|
||||||
|
shieldBreakVfx: {fileID: 7604350615089841891}
|
||||||
--- !u!114 &6910786805781803145
|
--- !u!114 &6910786805781803145
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
@ -995,6 +998,7 @@ Transform:
|
||||||
m_LocalScale: {x: 1, y: 1, z: 0}
|
m_LocalScale: {x: 1, y: 1, z: 0}
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children:
|
m_Children:
|
||||||
|
- {fileID: 1109597740833762055}
|
||||||
- {fileID: 3896238875870760639}
|
- {fileID: 3896238875870760639}
|
||||||
- {fileID: 5690042296298702950}
|
- {fileID: 5690042296298702950}
|
||||||
m_Father: {fileID: 4823730940860246971}
|
m_Father: {fileID: 4823730940860246971}
|
||||||
|
|
@ -1212,3 +1216,179 @@ TextMesh:
|
||||||
m_Color:
|
m_Color:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
rgba: 4294967295
|
rgba: 4294967295
|
||||||
|
--- !u!1 &8174512390216354203
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 1109597740833762055}
|
||||||
|
- component: {fileID: 5577737370374663793}
|
||||||
|
- component: {fileID: 3200253335038845738}
|
||||||
|
m_Layer: 7
|
||||||
|
m_Name: ShieldIcon
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &1109597740833762055
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8174512390216354203}
|
||||||
|
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 0.65, y: 0.51, z: 0}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 7820688229898850416}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: -2.571, y: 5.12}
|
||||||
|
m_SizeDelta: {x: -0.54, y: 0.09}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!212 &5577737370374663793
|
||||||
|
SpriteRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8174512390216354203}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_CastShadows: 0
|
||||||
|
m_ReceiveShadows: 0
|
||||||
|
m_DynamicOccludee: 1
|
||||||
|
m_StaticShadowCaster: 0
|
||||||
|
m_MotionVectors: 1
|
||||||
|
m_LightProbeUsage: 1
|
||||||
|
m_ReflectionProbeUsage: 1
|
||||||
|
m_RayTracingMode: 0
|
||||||
|
m_RayTraceProcedural: 0
|
||||||
|
m_RenderingLayerMask: 1
|
||||||
|
m_RendererPriority: 0
|
||||||
|
m_Materials:
|
||||||
|
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_StaticBatchInfo:
|
||||||
|
firstSubMesh: 0
|
||||||
|
subMeshCount: 0
|
||||||
|
m_StaticBatchRoot: {fileID: 0}
|
||||||
|
m_ProbeAnchor: {fileID: 0}
|
||||||
|
m_LightProbeVolumeOverride: {fileID: 0}
|
||||||
|
m_ScaleInLightmap: 1
|
||||||
|
m_ReceiveGI: 1
|
||||||
|
m_PreserveUVs: 0
|
||||||
|
m_IgnoreNormalsForChartDetection: 0
|
||||||
|
m_ImportantGI: 0
|
||||||
|
m_StitchLightmapSeams: 1
|
||||||
|
m_SelectedEditorRenderState: 0
|
||||||
|
m_MinimumChartSize: 4
|
||||||
|
m_AutoUVMaxDistance: 0.5
|
||||||
|
m_AutoUVMaxAngle: 89
|
||||||
|
m_LightmapParameters: {fileID: 0}
|
||||||
|
m_SortingLayerID: 0
|
||||||
|
m_SortingLayer: 0
|
||||||
|
m_SortingOrder: 20
|
||||||
|
m_Sprite: {fileID: 21300000, guid: e8b3a0fffd376644ba4f9392d89d5016, type: 3}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_FlipX: 0
|
||||||
|
m_FlipY: 0
|
||||||
|
m_DrawMode: 0
|
||||||
|
m_Size: {x: 0.52, y: 0.09}
|
||||||
|
m_AdaptiveModeThreshold: 0.5
|
||||||
|
m_SpriteTileMode: 0
|
||||||
|
m_WasSpriteAssigned: 1
|
||||||
|
m_MaskInteraction: 0
|
||||||
|
m_SpriteSortPoint: 0
|
||||||
|
--- !u!222 &3200253335038845738
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8174512390216354203}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!1001 &2963718252240756702
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransformParent: {fileID: 6996804995074212180}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 4659302104648833331, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Poof_electric
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalScale.x
|
||||||
|
value: 4.255319
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalScale.y
|
||||||
|
value: 4.255319
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalScale.z
|
||||||
|
value: 4.255319
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0.32414478
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 1.91
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_RemovedGameObjects: []
|
||||||
|
m_AddedGameObjects: []
|
||||||
|
m_AddedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
--- !u!4 &7604350615089841888 stripped
|
||||||
|
Transform:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 2963718252240756702}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
--- !u!198 &7604350615089841891 stripped
|
||||||
|
ParticleSystem:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 4659302104648833341, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 2963718252240756702}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
|
|
||||||
|
|
@ -168,6 +168,7 @@ Transform:
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children:
|
m_Children:
|
||||||
- {fileID: 3772381091555662337}
|
- {fileID: 3772381091555662337}
|
||||||
|
- {fileID: 2731853175034905841}
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
--- !u!33 &541726386239973379
|
--- !u!33 &541726386239973379
|
||||||
|
|
@ -347,7 +348,6 @@ MonoBehaviour:
|
||||||
syncInterval: 0
|
syncInterval: 0
|
||||||
health: 100
|
health: 100
|
||||||
magicalHealth: 0
|
magicalHealth: 0
|
||||||
shieldBreak: 0
|
|
||||||
healthBar: {fileID: 3653340846896160726}
|
healthBar: {fileID: 3653340846896160726}
|
||||||
MagicalhealthBar: {fileID: 3972942435470074426}
|
MagicalhealthBar: {fileID: 3972942435470074426}
|
||||||
speed: -0.65
|
speed: -0.65
|
||||||
|
|
@ -363,12 +363,14 @@ MonoBehaviour:
|
||||||
isInAttackRange: 0
|
isInAttackRange: 0
|
||||||
uiEnemy: {fileID: 3772381091555662337}
|
uiEnemy: {fileID: 3772381091555662337}
|
||||||
enemyAttackDamage: 5
|
enemyAttackDamage: 5
|
||||||
hitVfx: {fileID: 0}
|
|
||||||
level: 0
|
level: 0
|
||||||
defScale: {x: 0.47, y: 0.47, z: 0.47}
|
defScale: {x: 0.47, y: 0.47, z: 0.47}
|
||||||
directionString: Side
|
directionString: Side
|
||||||
animationString: Idle
|
animationString: Idle
|
||||||
maxHealth: 0
|
maxHealth: 0
|
||||||
|
shieldUI: {fileID: 2821587341131724907}
|
||||||
|
shieldIconUI: {fileID: 9121292783252203230}
|
||||||
|
shieldBreakVfx: {fileID: 2731853175034905842}
|
||||||
--- !u!114 &6910786805781803145
|
--- !u!114 &6910786805781803145
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
@ -660,6 +662,7 @@ Transform:
|
||||||
m_LocalScale: {x: 1, y: 1, z: 0}
|
m_LocalScale: {x: 1, y: 1, z: 0}
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children:
|
m_Children:
|
||||||
|
- {fileID: 7729233256753962311}
|
||||||
- {fileID: 3643126710200941610}
|
- {fileID: 3643126710200941610}
|
||||||
- {fileID: 6026525598218971238}
|
- {fileID: 6026525598218971238}
|
||||||
m_Father: {fileID: 3772381091555662337}
|
m_Father: {fileID: 3772381091555662337}
|
||||||
|
|
@ -698,6 +701,103 @@ Transform:
|
||||||
- {fileID: 3648012348632283978}
|
- {fileID: 3648012348632283978}
|
||||||
m_Father: {fileID: 3772381091555662337}
|
m_Father: {fileID: 3772381091555662337}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
--- !u!1 &4883142950007688966
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 7729233256753962311}
|
||||||
|
- component: {fileID: 9121292783252203230}
|
||||||
|
- component: {fileID: 6568471462263604600}
|
||||||
|
m_Layer: 7
|
||||||
|
m_Name: ShieldIcon
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &7729233256753962311
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4883142950007688966}
|
||||||
|
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 0.65, y: 0.51, z: 0}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 2821587341131724907}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: -2.5850005, y: 5.1060004}
|
||||||
|
m_SizeDelta: {x: -0.54, y: 0.09}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!212 &9121292783252203230
|
||||||
|
SpriteRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4883142950007688966}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_CastShadows: 0
|
||||||
|
m_ReceiveShadows: 0
|
||||||
|
m_DynamicOccludee: 1
|
||||||
|
m_StaticShadowCaster: 0
|
||||||
|
m_MotionVectors: 1
|
||||||
|
m_LightProbeUsage: 1
|
||||||
|
m_ReflectionProbeUsage: 1
|
||||||
|
m_RayTracingMode: 0
|
||||||
|
m_RayTraceProcedural: 0
|
||||||
|
m_RenderingLayerMask: 1
|
||||||
|
m_RendererPriority: 0
|
||||||
|
m_Materials:
|
||||||
|
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_StaticBatchInfo:
|
||||||
|
firstSubMesh: 0
|
||||||
|
subMeshCount: 0
|
||||||
|
m_StaticBatchRoot: {fileID: 0}
|
||||||
|
m_ProbeAnchor: {fileID: 0}
|
||||||
|
m_LightProbeVolumeOverride: {fileID: 0}
|
||||||
|
m_ScaleInLightmap: 1
|
||||||
|
m_ReceiveGI: 1
|
||||||
|
m_PreserveUVs: 0
|
||||||
|
m_IgnoreNormalsForChartDetection: 0
|
||||||
|
m_ImportantGI: 0
|
||||||
|
m_StitchLightmapSeams: 1
|
||||||
|
m_SelectedEditorRenderState: 0
|
||||||
|
m_MinimumChartSize: 4
|
||||||
|
m_AutoUVMaxDistance: 0.5
|
||||||
|
m_AutoUVMaxAngle: 89
|
||||||
|
m_LightmapParameters: {fileID: 0}
|
||||||
|
m_SortingLayerID: 0
|
||||||
|
m_SortingLayer: 0
|
||||||
|
m_SortingOrder: 20
|
||||||
|
m_Sprite: {fileID: 21300000, guid: e8b3a0fffd376644ba4f9392d89d5016, type: 3}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_FlipX: 0
|
||||||
|
m_FlipY: 0
|
||||||
|
m_DrawMode: 0
|
||||||
|
m_Size: {x: 0.52, y: 0.09}
|
||||||
|
m_AdaptiveModeThreshold: 0.5
|
||||||
|
m_SpriteTileMode: 0
|
||||||
|
m_WasSpriteAssigned: 1
|
||||||
|
m_MaskInteraction: 0
|
||||||
|
m_SpriteSortPoint: 0
|
||||||
|
--- !u!222 &6568471462263604600
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4883142950007688966}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
--- !u!1 &5017303759967367556
|
--- !u!1 &5017303759967367556
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
@ -1226,3 +1326,82 @@ SpriteRenderer:
|
||||||
m_WasSpriteAssigned: 1
|
m_WasSpriteAssigned: 1
|
||||||
m_MaskInteraction: 0
|
m_MaskInteraction: 0
|
||||||
m_SpriteSortPoint: 0
|
m_SpriteSortPoint: 0
|
||||||
|
--- !u!1001 &7295927505304182223
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransformParent: {fileID: 6996804995074212180}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 4659302104648833331, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Poof_electric
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalScale.x
|
||||||
|
value: 4.255319
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalScale.y
|
||||||
|
value: 4.255319
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalScale.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: -0.2894077
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 1.64
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_RemovedGameObjects: []
|
||||||
|
m_AddedGameObjects: []
|
||||||
|
m_AddedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
--- !u!4 &2731853175034905841 stripped
|
||||||
|
Transform:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 7295927505304182223}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
--- !u!198 &2731853175034905842 stripped
|
||||||
|
ParticleSystem:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 4659302104648833341, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 7295927505304182223}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
|
|
||||||
|
|
@ -187,6 +187,7 @@ Transform:
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children:
|
m_Children:
|
||||||
- {fileID: 437086168465758400}
|
- {fileID: 437086168465758400}
|
||||||
|
- {fileID: 9002972303841228876}
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
--- !u!33 &541726386239973379
|
--- !u!33 &541726386239973379
|
||||||
|
|
@ -366,7 +367,6 @@ MonoBehaviour:
|
||||||
syncInterval: 0
|
syncInterval: 0
|
||||||
health: 100
|
health: 100
|
||||||
magicalHealth: 0
|
magicalHealth: 0
|
||||||
shieldBreak: 0
|
|
||||||
healthBar: {fileID: 3653340846896160726}
|
healthBar: {fileID: 3653340846896160726}
|
||||||
MagicalhealthBar: {fileID: 2197384177600481826}
|
MagicalhealthBar: {fileID: 2197384177600481826}
|
||||||
speed: -0.55
|
speed: -0.55
|
||||||
|
|
@ -382,12 +382,14 @@ MonoBehaviour:
|
||||||
isInAttackRange: 0
|
isInAttackRange: 0
|
||||||
uiEnemy: {fileID: 437086168465758400}
|
uiEnemy: {fileID: 437086168465758400}
|
||||||
enemyAttackDamage: 5
|
enemyAttackDamage: 5
|
||||||
hitVfx: {fileID: 0}
|
|
||||||
level: 0
|
level: 0
|
||||||
defScale: {x: 0.47, y: 0.47, z: 0.47}
|
defScale: {x: 0.47, y: 0.47, z: 0.47}
|
||||||
directionString: Side
|
directionString: Side
|
||||||
animationString: Idle
|
animationString: Idle
|
||||||
maxHealth: 0
|
maxHealth: 0
|
||||||
|
shieldUI: {fileID: 2324485362800312333}
|
||||||
|
shieldIconUI: {fileID: 8992933265807998062}
|
||||||
|
shieldBreakVfx: {fileID: 9002972303841228879}
|
||||||
--- !u!114 &6910786805781803145
|
--- !u!114 &6910786805781803145
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
@ -453,6 +455,103 @@ MonoBehaviour:
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
enemy: {fileID: 1503341026146379345}
|
enemy: {fileID: 1503341026146379345}
|
||||||
|
--- !u!1 &2309395779831724438
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 7900083008218915929}
|
||||||
|
- component: {fileID: 8992933265807998062}
|
||||||
|
- component: {fileID: 7332057857321422091}
|
||||||
|
m_Layer: 7
|
||||||
|
m_Name: ShieldIcon
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &7900083008218915929
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2309395779831724438}
|
||||||
|
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 0.65, y: 0.51, z: 0}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 2324485362800312333}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: -2.540001, y: 5.183}
|
||||||
|
m_SizeDelta: {x: -0.54, y: 0.09}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!212 &8992933265807998062
|
||||||
|
SpriteRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2309395779831724438}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_CastShadows: 0
|
||||||
|
m_ReceiveShadows: 0
|
||||||
|
m_DynamicOccludee: 1
|
||||||
|
m_StaticShadowCaster: 0
|
||||||
|
m_MotionVectors: 1
|
||||||
|
m_LightProbeUsage: 1
|
||||||
|
m_ReflectionProbeUsage: 1
|
||||||
|
m_RayTracingMode: 0
|
||||||
|
m_RayTraceProcedural: 0
|
||||||
|
m_RenderingLayerMask: 1
|
||||||
|
m_RendererPriority: 0
|
||||||
|
m_Materials:
|
||||||
|
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_StaticBatchInfo:
|
||||||
|
firstSubMesh: 0
|
||||||
|
subMeshCount: 0
|
||||||
|
m_StaticBatchRoot: {fileID: 0}
|
||||||
|
m_ProbeAnchor: {fileID: 0}
|
||||||
|
m_LightProbeVolumeOverride: {fileID: 0}
|
||||||
|
m_ScaleInLightmap: 1
|
||||||
|
m_ReceiveGI: 1
|
||||||
|
m_PreserveUVs: 0
|
||||||
|
m_IgnoreNormalsForChartDetection: 0
|
||||||
|
m_ImportantGI: 0
|
||||||
|
m_StitchLightmapSeams: 1
|
||||||
|
m_SelectedEditorRenderState: 0
|
||||||
|
m_MinimumChartSize: 4
|
||||||
|
m_AutoUVMaxDistance: 0.5
|
||||||
|
m_AutoUVMaxAngle: 89
|
||||||
|
m_LightmapParameters: {fileID: 0}
|
||||||
|
m_SortingLayerID: 0
|
||||||
|
m_SortingLayer: 0
|
||||||
|
m_SortingOrder: 20
|
||||||
|
m_Sprite: {fileID: 21300000, guid: e8b3a0fffd376644ba4f9392d89d5016, type: 3}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_FlipX: 0
|
||||||
|
m_FlipY: 0
|
||||||
|
m_DrawMode: 0
|
||||||
|
m_Size: {x: 0.52, y: 0.09}
|
||||||
|
m_AdaptiveModeThreshold: 0.5
|
||||||
|
m_SpriteTileMode: 0
|
||||||
|
m_WasSpriteAssigned: 1
|
||||||
|
m_MaskInteraction: 0
|
||||||
|
m_SpriteSortPoint: 0
|
||||||
|
--- !u!222 &7332057857321422091
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2309395779831724438}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
--- !u!1 &2415194049197135260
|
--- !u!1 &2415194049197135260
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
@ -1090,6 +1189,7 @@ Transform:
|
||||||
m_LocalScale: {x: 1, y: 1, z: 0}
|
m_LocalScale: {x: 1, y: 1, z: 0}
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children:
|
m_Children:
|
||||||
|
- {fileID: 7900083008218915929}
|
||||||
- {fileID: 4857957903878656049}
|
- {fileID: 4857957903878656049}
|
||||||
- {fileID: 5910728305015542187}
|
- {fileID: 5910728305015542187}
|
||||||
m_Father: {fileID: 437086168465758400}
|
m_Father: {fileID: 437086168465758400}
|
||||||
|
|
@ -1226,3 +1326,70 @@ SpriteRenderer:
|
||||||
m_WasSpriteAssigned: 1
|
m_WasSpriteAssigned: 1
|
||||||
m_MaskInteraction: 0
|
m_MaskInteraction: 0
|
||||||
m_SpriteSortPoint: 0
|
m_SpriteSortPoint: 0
|
||||||
|
--- !u!1001 &4348736748800450930
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransformParent: {fileID: 6996804995074212180}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 4659302104648833331, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Poof_electric
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 1.82
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_RemovedGameObjects: []
|
||||||
|
m_AddedGameObjects: []
|
||||||
|
m_AddedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
--- !u!4 &9002972303841228876 stripped
|
||||||
|
Transform:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 4348736748800450930}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
--- !u!198 &9002972303841228879 stripped
|
||||||
|
ParticleSystem:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 4659302104648833341, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 4348736748800450930}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
|
|
||||||
|
|
@ -71,6 +71,7 @@ Transform:
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children:
|
m_Children:
|
||||||
- {fileID: 8890752418855122191}
|
- {fileID: 8890752418855122191}
|
||||||
|
- {fileID: 7657779830752437043}
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
--- !u!33 &541726386239973379
|
--- !u!33 &541726386239973379
|
||||||
|
|
@ -250,7 +251,6 @@ MonoBehaviour:
|
||||||
syncInterval: 0
|
syncInterval: 0
|
||||||
health: 100
|
health: 100
|
||||||
magicalHealth: 0
|
magicalHealth: 0
|
||||||
shieldBreak: 0
|
|
||||||
healthBar: {fileID: 3653340846896160726}
|
healthBar: {fileID: 3653340846896160726}
|
||||||
MagicalhealthBar: {fileID: 5662903864418491351}
|
MagicalhealthBar: {fileID: 5662903864418491351}
|
||||||
speed: -0.8
|
speed: -0.8
|
||||||
|
|
@ -266,12 +266,14 @@ MonoBehaviour:
|
||||||
isInAttackRange: 0
|
isInAttackRange: 0
|
||||||
uiEnemy: {fileID: 8890752418855122191}
|
uiEnemy: {fileID: 8890752418855122191}
|
||||||
enemyAttackDamage: 5
|
enemyAttackDamage: 5
|
||||||
hitVfx: {fileID: 0}
|
|
||||||
level: 0
|
level: 0
|
||||||
defScale: {x: 0.47, y: 0.47, z: 0.47}
|
defScale: {x: 0.47, y: 0.47, z: 0.47}
|
||||||
directionString: Side
|
directionString: Side
|
||||||
animationString: Idle
|
animationString: Idle
|
||||||
maxHealth: 0
|
maxHealth: 0
|
||||||
|
shieldUI: {fileID: 3283631584437078361}
|
||||||
|
shieldIconUI: {fileID: 3196285282846475889}
|
||||||
|
shieldBreakVfx: {fileID: 7657779830752437040}
|
||||||
--- !u!114 &6910786805781803145
|
--- !u!114 &6910786805781803145
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
@ -385,6 +387,103 @@ SortingGroup:
|
||||||
m_SortingLayer: 0
|
m_SortingLayer: 0
|
||||||
m_SortingOrder: 25
|
m_SortingOrder: 25
|
||||||
m_SortAtRoot: 0
|
m_SortAtRoot: 0
|
||||||
|
--- !u!1 &2323895470671528718
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 5880813416849800062}
|
||||||
|
- component: {fileID: 3196285282846475889}
|
||||||
|
- component: {fileID: 230028550508267436}
|
||||||
|
m_Layer: 7
|
||||||
|
m_Name: ShieldIcon
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &5880813416849800062
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2323895470671528718}
|
||||||
|
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 0.65, y: 0.51, z: 0}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 3283631584437078361}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: -2.63, y: 5.09}
|
||||||
|
m_SizeDelta: {x: -0.54, y: 0.09}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!212 &3196285282846475889
|
||||||
|
SpriteRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2323895470671528718}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_CastShadows: 0
|
||||||
|
m_ReceiveShadows: 0
|
||||||
|
m_DynamicOccludee: 1
|
||||||
|
m_StaticShadowCaster: 0
|
||||||
|
m_MotionVectors: 1
|
||||||
|
m_LightProbeUsage: 1
|
||||||
|
m_ReflectionProbeUsage: 1
|
||||||
|
m_RayTracingMode: 0
|
||||||
|
m_RayTraceProcedural: 0
|
||||||
|
m_RenderingLayerMask: 1
|
||||||
|
m_RendererPriority: 0
|
||||||
|
m_Materials:
|
||||||
|
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_StaticBatchInfo:
|
||||||
|
firstSubMesh: 0
|
||||||
|
subMeshCount: 0
|
||||||
|
m_StaticBatchRoot: {fileID: 0}
|
||||||
|
m_ProbeAnchor: {fileID: 0}
|
||||||
|
m_LightProbeVolumeOverride: {fileID: 0}
|
||||||
|
m_ScaleInLightmap: 1
|
||||||
|
m_ReceiveGI: 1
|
||||||
|
m_PreserveUVs: 0
|
||||||
|
m_IgnoreNormalsForChartDetection: 0
|
||||||
|
m_ImportantGI: 0
|
||||||
|
m_StitchLightmapSeams: 1
|
||||||
|
m_SelectedEditorRenderState: 0
|
||||||
|
m_MinimumChartSize: 4
|
||||||
|
m_AutoUVMaxDistance: 0.5
|
||||||
|
m_AutoUVMaxAngle: 89
|
||||||
|
m_LightmapParameters: {fileID: 0}
|
||||||
|
m_SortingLayerID: 0
|
||||||
|
m_SortingLayer: 0
|
||||||
|
m_SortingOrder: 20
|
||||||
|
m_Sprite: {fileID: 21300000, guid: e8b3a0fffd376644ba4f9392d89d5016, type: 3}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_FlipX: 0
|
||||||
|
m_FlipY: 0
|
||||||
|
m_DrawMode: 0
|
||||||
|
m_Size: {x: 0.52, y: 0.09}
|
||||||
|
m_AdaptiveModeThreshold: 0.5
|
||||||
|
m_SpriteTileMode: 0
|
||||||
|
m_WasSpriteAssigned: 1
|
||||||
|
m_MaskInteraction: 0
|
||||||
|
m_SpriteSortPoint: 0
|
||||||
|
--- !u!222 &230028550508267436
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2323895470671528718}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
--- !u!1 &2415194049197135260
|
--- !u!1 &2415194049197135260
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
@ -695,8 +794,8 @@ Transform:
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children:
|
m_Children:
|
||||||
- {fileID: 8964528504973515913}
|
- {fileID: 8964528504973515913}
|
||||||
- {fileID: 4744380201510388511}
|
|
||||||
- {fileID: 3648012348632283978}
|
- {fileID: 3648012348632283978}
|
||||||
|
- {fileID: 4744380201510388511}
|
||||||
m_Father: {fileID: 8890752418855122191}
|
m_Father: {fileID: 8890752418855122191}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
--- !u!1 &4209867818744213455
|
--- !u!1 &4209867818744213455
|
||||||
|
|
@ -1138,6 +1237,7 @@ Transform:
|
||||||
m_LocalScale: {x: 1, y: 1, z: 0}
|
m_LocalScale: {x: 1, y: 1, z: 0}
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children:
|
m_Children:
|
||||||
|
- {fileID: 5880813416849800062}
|
||||||
- {fileID: 7611597923345294679}
|
- {fileID: 7611597923345294679}
|
||||||
- {fileID: 1449554240864759761}
|
- {fileID: 1449554240864759761}
|
||||||
m_Father: {fileID: 8890752418855122191}
|
m_Father: {fileID: 8890752418855122191}
|
||||||
|
|
@ -1226,3 +1326,70 @@ SpriteRenderer:
|
||||||
m_WasSpriteAssigned: 1
|
m_WasSpriteAssigned: 1
|
||||||
m_MaskInteraction: 0
|
m_MaskInteraction: 0
|
||||||
m_SpriteSortPoint: 0
|
m_SpriteSortPoint: 0
|
||||||
|
--- !u!1001 &3093072147442350605
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransformParent: {fileID: 6996804995074212180}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 4659302104648833331, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Poof_electric
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 1.82
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_RemovedGameObjects: []
|
||||||
|
m_AddedGameObjects: []
|
||||||
|
m_AddedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
--- !u!198 &7657779830752437040 stripped
|
||||||
|
ParticleSystem:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 4659302104648833341, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 3093072147442350605}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
--- !u!4 &7657779830752437043 stripped
|
||||||
|
Transform:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 3093072147442350605}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
|
|
||||||
|
|
@ -61,6 +61,7 @@ Transform:
|
||||||
m_LocalScale: {x: 1, y: 1, z: 0}
|
m_LocalScale: {x: 1, y: 1, z: 0}
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children:
|
m_Children:
|
||||||
|
- {fileID: 2982921890359402930}
|
||||||
- {fileID: 4862474287095145940}
|
- {fileID: 4862474287095145940}
|
||||||
- {fileID: 6621384745784260226}
|
- {fileID: 6621384745784260226}
|
||||||
m_Father: {fileID: 6553627824343142004}
|
m_Father: {fileID: 6553627824343142004}
|
||||||
|
|
@ -104,6 +105,7 @@ Transform:
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children:
|
m_Children:
|
||||||
- {fileID: 6553627824343142004}
|
- {fileID: 6553627824343142004}
|
||||||
|
- {fileID: 5079724611112957741}
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
--- !u!33 &541726386239973379
|
--- !u!33 &541726386239973379
|
||||||
|
|
@ -283,7 +285,6 @@ MonoBehaviour:
|
||||||
syncInterval: 0
|
syncInterval: 0
|
||||||
health: 100
|
health: 100
|
||||||
magicalHealth: 0
|
magicalHealth: 0
|
||||||
shieldBreak: 0
|
|
||||||
healthBar: {fileID: 3653340846896160726}
|
healthBar: {fileID: 3653340846896160726}
|
||||||
MagicalhealthBar: {fileID: 6929609094885432149}
|
MagicalhealthBar: {fileID: 6929609094885432149}
|
||||||
speed: -0.5
|
speed: -0.5
|
||||||
|
|
@ -299,12 +300,14 @@ MonoBehaviour:
|
||||||
isInAttackRange: 0
|
isInAttackRange: 0
|
||||||
uiEnemy: {fileID: 6553627824343142004}
|
uiEnemy: {fileID: 6553627824343142004}
|
||||||
enemyAttackDamage: 5
|
enemyAttackDamage: 5
|
||||||
hitVfx: {fileID: 0}
|
|
||||||
level: 0
|
level: 0
|
||||||
defScale: {x: 0.47, y: 0.47, z: 0.47}
|
defScale: {x: 0.47, y: 0.47, z: 0.47}
|
||||||
directionString: Side
|
directionString: Side
|
||||||
animationString: Idle
|
animationString: Idle
|
||||||
maxHealth: 0
|
maxHealth: 0
|
||||||
|
shieldUI: {fileID: 2706871704866700234}
|
||||||
|
shieldIconUI: {fileID: 2726175677824098692}
|
||||||
|
shieldBreakVfx: {fileID: 5079724611112957742}
|
||||||
--- !u!114 &6910786805781803145
|
--- !u!114 &6910786805781803145
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
@ -598,6 +601,103 @@ MonoBehaviour:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
healthBarFill: {fileID: 3648012348632283978}
|
healthBarFill: {fileID: 3648012348632283978}
|
||||||
health: 0
|
health: 0
|
||||||
|
--- !u!1 &3420261716999320807
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 2982921890359402930}
|
||||||
|
- component: {fileID: 2726175677824098692}
|
||||||
|
- component: {fileID: 5393464541187379700}
|
||||||
|
m_Layer: 7
|
||||||
|
m_Name: ShieldIcon
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &2982921890359402930
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 3420261716999320807}
|
||||||
|
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 0.65, y: 0.51, z: 0}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 2706871704866700234}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: -2.58, y: 5.09}
|
||||||
|
m_SizeDelta: {x: -0.54, y: 0.09}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!212 &2726175677824098692
|
||||||
|
SpriteRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 3420261716999320807}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_CastShadows: 0
|
||||||
|
m_ReceiveShadows: 0
|
||||||
|
m_DynamicOccludee: 1
|
||||||
|
m_StaticShadowCaster: 0
|
||||||
|
m_MotionVectors: 1
|
||||||
|
m_LightProbeUsage: 1
|
||||||
|
m_ReflectionProbeUsage: 1
|
||||||
|
m_RayTracingMode: 0
|
||||||
|
m_RayTraceProcedural: 0
|
||||||
|
m_RenderingLayerMask: 1
|
||||||
|
m_RendererPriority: 0
|
||||||
|
m_Materials:
|
||||||
|
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_StaticBatchInfo:
|
||||||
|
firstSubMesh: 0
|
||||||
|
subMeshCount: 0
|
||||||
|
m_StaticBatchRoot: {fileID: 0}
|
||||||
|
m_ProbeAnchor: {fileID: 0}
|
||||||
|
m_LightProbeVolumeOverride: {fileID: 0}
|
||||||
|
m_ScaleInLightmap: 1
|
||||||
|
m_ReceiveGI: 1
|
||||||
|
m_PreserveUVs: 0
|
||||||
|
m_IgnoreNormalsForChartDetection: 0
|
||||||
|
m_ImportantGI: 0
|
||||||
|
m_StitchLightmapSeams: 1
|
||||||
|
m_SelectedEditorRenderState: 0
|
||||||
|
m_MinimumChartSize: 4
|
||||||
|
m_AutoUVMaxDistance: 0.5
|
||||||
|
m_AutoUVMaxAngle: 89
|
||||||
|
m_LightmapParameters: {fileID: 0}
|
||||||
|
m_SortingLayerID: 0
|
||||||
|
m_SortingLayer: 0
|
||||||
|
m_SortingOrder: 20
|
||||||
|
m_Sprite: {fileID: 21300000, guid: e8b3a0fffd376644ba4f9392d89d5016, type: 3}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_FlipX: 0
|
||||||
|
m_FlipY: 0
|
||||||
|
m_DrawMode: 0
|
||||||
|
m_Size: {x: 0.52, y: 0.09}
|
||||||
|
m_AdaptiveModeThreshold: 0.5
|
||||||
|
m_SpriteTileMode: 0
|
||||||
|
m_WasSpriteAssigned: 1
|
||||||
|
m_MaskInteraction: 0
|
||||||
|
m_SpriteSortPoint: 0
|
||||||
|
--- !u!222 &5393464541187379700
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 3420261716999320807}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
--- !u!1 &4138028292173026706
|
--- !u!1 &4138028292173026706
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
@ -1226,3 +1326,70 @@ TextMesh:
|
||||||
m_Color:
|
m_Color:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
rgba: 4293917421
|
rgba: 4293917421
|
||||||
|
--- !u!1001 &493113419224886803
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransformParent: {fileID: 6996804995074212180}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 4659302104648833331, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Poof_electric
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 1.82
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_RemovedGameObjects: []
|
||||||
|
m_AddedGameObjects: []
|
||||||
|
m_AddedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
--- !u!4 &5079724611112957741 stripped
|
||||||
|
Transform:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 493113419224886803}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
--- !u!198 &5079724611112957742 stripped
|
||||||
|
ParticleSystem:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 4659302104648833341, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 493113419224886803}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
|
|
||||||
|
|
@ -168,6 +168,7 @@ Transform:
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children:
|
m_Children:
|
||||||
- {fileID: 4823730940860246971}
|
- {fileID: 4823730940860246971}
|
||||||
|
- {fileID: 5047418616799170012}
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
--- !u!33 &541726386239973379
|
--- !u!33 &541726386239973379
|
||||||
|
|
@ -347,7 +348,6 @@ MonoBehaviour:
|
||||||
syncInterval: 0
|
syncInterval: 0
|
||||||
health: 100
|
health: 100
|
||||||
magicalHealth: 0
|
magicalHealth: 0
|
||||||
shieldBreak: 0
|
|
||||||
healthBar: {fileID: 3653340846896160726}
|
healthBar: {fileID: 3653340846896160726}
|
||||||
MagicalhealthBar: {fileID: 2709162945487164275}
|
MagicalhealthBar: {fileID: 2709162945487164275}
|
||||||
speed: -0.5
|
speed: -0.5
|
||||||
|
|
@ -363,12 +363,14 @@ MonoBehaviour:
|
||||||
isInAttackRange: 0
|
isInAttackRange: 0
|
||||||
uiEnemy: {fileID: 4823730940860246971}
|
uiEnemy: {fileID: 4823730940860246971}
|
||||||
enemyAttackDamage: 5
|
enemyAttackDamage: 5
|
||||||
hitVfx: {fileID: 0}
|
|
||||||
level: 0
|
level: 0
|
||||||
defScale: {x: 0.47, y: 0.47, z: 0.47}
|
defScale: {x: 0.47, y: 0.47, z: 0.47}
|
||||||
directionString: Side
|
directionString: Side
|
||||||
animationString: Idle
|
animationString: Idle
|
||||||
maxHealth: 0
|
maxHealth: 0
|
||||||
|
shieldUI: {fileID: 8153166232711862060}
|
||||||
|
shieldIconUI: {fileID: 2364042955288513246}
|
||||||
|
shieldBreakVfx: {fileID: 5047418616799170015}
|
||||||
--- !u!114 &6910786805781803145
|
--- !u!114 &6910786805781803145
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
@ -597,6 +599,7 @@ Transform:
|
||||||
m_LocalScale: {x: 1, y: 1, z: 0}
|
m_LocalScale: {x: 1, y: 1, z: 0}
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children:
|
m_Children:
|
||||||
|
- {fileID: 9157254233152635596}
|
||||||
- {fileID: 8216762809602117158}
|
- {fileID: 8216762809602117158}
|
||||||
- {fileID: 4781289244599139407}
|
- {fileID: 4781289244599139407}
|
||||||
m_Father: {fileID: 4823730940860246971}
|
m_Father: {fileID: 4823730940860246971}
|
||||||
|
|
@ -902,6 +905,103 @@ SpriteRenderer:
|
||||||
m_WasSpriteAssigned: 1
|
m_WasSpriteAssigned: 1
|
||||||
m_MaskInteraction: 0
|
m_MaskInteraction: 0
|
||||||
m_SpriteSortPoint: 0
|
m_SpriteSortPoint: 0
|
||||||
|
--- !u!1 &5515566198635134754
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 9157254233152635596}
|
||||||
|
- component: {fileID: 2364042955288513246}
|
||||||
|
- component: {fileID: 3472240878054523717}
|
||||||
|
m_Layer: 7
|
||||||
|
m_Name: ShieldIcon
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &9157254233152635596
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5515566198635134754}
|
||||||
|
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 0.65, y: 0.51, z: 0}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 8153166232711862060}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: -2.63, y: 5.11}
|
||||||
|
m_SizeDelta: {x: -0.54, y: 0.09}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!212 &2364042955288513246
|
||||||
|
SpriteRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5515566198635134754}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_CastShadows: 0
|
||||||
|
m_ReceiveShadows: 0
|
||||||
|
m_DynamicOccludee: 1
|
||||||
|
m_StaticShadowCaster: 0
|
||||||
|
m_MotionVectors: 1
|
||||||
|
m_LightProbeUsage: 1
|
||||||
|
m_ReflectionProbeUsage: 1
|
||||||
|
m_RayTracingMode: 0
|
||||||
|
m_RayTraceProcedural: 0
|
||||||
|
m_RenderingLayerMask: 1
|
||||||
|
m_RendererPriority: 0
|
||||||
|
m_Materials:
|
||||||
|
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_StaticBatchInfo:
|
||||||
|
firstSubMesh: 0
|
||||||
|
subMeshCount: 0
|
||||||
|
m_StaticBatchRoot: {fileID: 0}
|
||||||
|
m_ProbeAnchor: {fileID: 0}
|
||||||
|
m_LightProbeVolumeOverride: {fileID: 0}
|
||||||
|
m_ScaleInLightmap: 1
|
||||||
|
m_ReceiveGI: 1
|
||||||
|
m_PreserveUVs: 0
|
||||||
|
m_IgnoreNormalsForChartDetection: 0
|
||||||
|
m_ImportantGI: 0
|
||||||
|
m_StitchLightmapSeams: 1
|
||||||
|
m_SelectedEditorRenderState: 0
|
||||||
|
m_MinimumChartSize: 4
|
||||||
|
m_AutoUVMaxDistance: 0.5
|
||||||
|
m_AutoUVMaxAngle: 89
|
||||||
|
m_LightmapParameters: {fileID: 0}
|
||||||
|
m_SortingLayerID: 0
|
||||||
|
m_SortingLayer: 0
|
||||||
|
m_SortingOrder: 20
|
||||||
|
m_Sprite: {fileID: 21300000, guid: e8b3a0fffd376644ba4f9392d89d5016, type: 3}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_FlipX: 0
|
||||||
|
m_FlipY: 0
|
||||||
|
m_DrawMode: 0
|
||||||
|
m_Size: {x: 0.52, y: 0.09}
|
||||||
|
m_AdaptiveModeThreshold: 0.5
|
||||||
|
m_SpriteTileMode: 0
|
||||||
|
m_WasSpriteAssigned: 1
|
||||||
|
m_MaskInteraction: 0
|
||||||
|
m_SpriteSortPoint: 0
|
||||||
|
--- !u!222 &3472240878054523717
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5515566198635134754}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
--- !u!1 &6635900882198866496
|
--- !u!1 &6635900882198866496
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
@ -1213,3 +1313,70 @@ TextMesh:
|
||||||
m_Color:
|
m_Color:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
rgba: 4294967295
|
rgba: 4294967295
|
||||||
|
--- !u!1001 &478827320980853986
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransformParent: {fileID: 6996804995074212180}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 4659302104648833331, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Poof_electric
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 1.82
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_RemovedGameObjects: []
|
||||||
|
m_AddedGameObjects: []
|
||||||
|
m_AddedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
--- !u!4 &5047418616799170012 stripped
|
||||||
|
Transform:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 4659302104648833342, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 478827320980853986}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
--- !u!198 &5047418616799170015 stripped
|
||||||
|
ParticleSystem:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 4659302104648833341, guid: 8e9df0984803142d3b9db57def88c773, type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 478827320980853986}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
|
|
||||||
24440
Assets/MultiplayerPrefab/Poof_electric.prefab
Normal file
24440
Assets/MultiplayerPrefab/Poof_electric.prefab
Normal file
File diff suppressed because it is too large
Load Diff
7
Assets/MultiplayerPrefab/Poof_electric.prefab.meta
Normal file
7
Assets/MultiplayerPrefab/Poof_electric.prefab.meta
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 8e9df0984803142d3b9db57def88c773
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -999,13 +999,18 @@ MonoBehaviour:
|
||||||
- {fileID: 1325592028891530182}
|
- {fileID: 1325592028891530182}
|
||||||
- {fileID: 8544371250899602976}
|
- {fileID: 8544371250899602976}
|
||||||
- {fileID: 6640962408516583351}
|
- {fileID: 6640962408516583351}
|
||||||
|
sliderAnimationDuration: 0.8
|
||||||
|
sliderEase: 9
|
||||||
|
animateSliderValue: 1
|
||||||
scaleDuration: 0.45
|
scaleDuration: 0.45
|
||||||
colorDuration: 0.35
|
colorDuration: 0.35
|
||||||
activeScale: {x: 1.25, y: 1.25, z: 1.25}
|
activeScale: {x: 1.25, y: 1.25, z: 1.25}
|
||||||
inactiveScale: {x: 1, y: 1, z: 1}
|
inactiveScale: {x: 1, y: 1, z: 1}
|
||||||
scaleEase: 27
|
scaleEase: 27
|
||||||
|
dotStaggerDelay: 0.1
|
||||||
inactiveColor: {r: 0.5, g: 0.5, b: 0.5, a: 0.6}
|
inactiveColor: {r: 0.5, g: 0.5, b: 0.5, a: 0.6}
|
||||||
activeColor: {r: 0.4, g: 0.73333335, b: 0.41568628, a: 1}
|
activeColor: {r: 0.4, g: 0.73333335, b: 0.41568628, a: 1}
|
||||||
|
pulseColor: {r: 1, g: 1, b: 0.5, a: 1}
|
||||||
--- !u!1 &177668735588459695
|
--- !u!1 &177668735588459695
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
@ -13430,13 +13435,13 @@ RectTransform:
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children:
|
m_Children:
|
||||||
- {fileID: 8166902231851495312}
|
|
||||||
- {fileID: 3717092127935413092}
|
- {fileID: 3717092127935413092}
|
||||||
|
- {fileID: 8166902231851495312}
|
||||||
m_Father: {fileID: 511407495820869468}
|
m_Father: {fileID: 511407495820869468}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
m_AnchoredPosition: {x: -158.08, y: -182}
|
m_AnchoredPosition: {x: -178.2, y: 25.840015}
|
||||||
m_SizeDelta: {x: 141.78, y: 73.751}
|
m_SizeDelta: {x: 141.78, y: 73.751}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!222 &8266173285451127304
|
--- !u!222 &8266173285451127304
|
||||||
|
|
@ -13467,7 +13472,7 @@ MonoBehaviour:
|
||||||
m_OnCullStateChanged:
|
m_OnCullStateChanged:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
m_Calls: []
|
m_Calls: []
|
||||||
m_text: + XP
|
m_text:
|
||||||
m_isRightToLeft: 0
|
m_isRightToLeft: 0
|
||||||
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
||||||
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
||||||
|
|
@ -45676,24 +45681,24 @@ MonoBehaviour:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
stats:
|
stats:
|
||||||
- name: intelligence
|
- name: intelligence
|
||||||
baseValue: 1
|
baseValue: 0
|
||||||
incrementalValue: 2
|
incrementalValue: 1
|
||||||
statText: {fileID: 466129903040823078}
|
statText: {fileID: 466129903040823078}
|
||||||
- name: strength
|
- name: strength
|
||||||
baseValue: 10
|
baseValue: 0
|
||||||
incrementalValue: 2
|
incrementalValue: 1
|
||||||
statText: {fileID: 3019618770848668820}
|
statText: {fileID: 3019618770848668820}
|
||||||
- name: dexterity
|
- name: dexterity
|
||||||
baseValue: 0
|
baseValue: 0
|
||||||
incrementalValue: 10
|
incrementalValue: 1
|
||||||
statText: {fileID: 2778892068730036253}
|
statText: {fileID: 2778892068730036253}
|
||||||
- name: health
|
- name: health
|
||||||
baseValue: 100
|
baseValue: 100
|
||||||
incrementalValue: 1
|
incrementalValue: 4
|
||||||
statText: {fileID: 9055461829390079078}
|
statText: {fileID: 9055461829390079078}
|
||||||
- name: defence
|
- name: defence
|
||||||
baseValue: 50
|
baseValue: 0
|
||||||
incrementalValue: 5
|
incrementalValue: 1
|
||||||
statText: {fileID: 5186295615856495833}
|
statText: {fileID: 5186295615856495833}
|
||||||
availablepointsTXT: {fileID: 5129912917216686193}
|
availablepointsTXT: {fileID: 5129912917216686193}
|
||||||
--- !u!1 &6997665189600935630
|
--- !u!1 &6997665189600935630
|
||||||
|
|
@ -49095,10 +49100,10 @@ MonoBehaviour:
|
||||||
m_OnCullStateChanged:
|
m_OnCullStateChanged:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
m_Calls: []
|
m_Calls: []
|
||||||
m_text: Level Up
|
m_text: Level Up !
|
||||||
m_isRightToLeft: 0
|
m_isRightToLeft: 0
|
||||||
m_fontAsset: {fileID: 11400000, guid: c416dba26a5cc4682af5161d902cf565, type: 2}
|
m_fontAsset: {fileID: 11400000, guid: d67edce7cf9164e1293042f9d9da494d, type: 2}
|
||||||
m_sharedMaterial: {fileID: 3201670982812318815, guid: c416dba26a5cc4682af5161d902cf565, type: 2}
|
m_sharedMaterial: {fileID: -4171563015097924827, guid: d67edce7cf9164e1293042f9d9da494d, type: 2}
|
||||||
m_fontSharedMaterials: []
|
m_fontSharedMaterials: []
|
||||||
m_fontMaterial: {fileID: 0}
|
m_fontMaterial: {fileID: 0}
|
||||||
m_fontMaterials: []
|
m_fontMaterials: []
|
||||||
|
|
@ -53586,8 +53591,8 @@ RectTransform:
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
m_AnchoredPosition: {x: -15.2, y: -0.0000040561}
|
m_AnchoredPosition: {x: -16.9468, y: 8.7}
|
||||||
m_SizeDelta: {x: 60.5623, y: 73.751}
|
m_SizeDelta: {x: 223.0224, y: 73.751}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!222 &3235856924834176125
|
--- !u!222 &3235856924834176125
|
||||||
CanvasRenderer:
|
CanvasRenderer:
|
||||||
|
|
@ -53619,8 +53624,8 @@ MonoBehaviour:
|
||||||
m_Calls: []
|
m_Calls: []
|
||||||
m_text:
|
m_text:
|
||||||
m_isRightToLeft: 0
|
m_isRightToLeft: 0
|
||||||
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
m_fontAsset: {fileID: 11400000, guid: 18e5ede33e490485d9576cb16d82ad1e, type: 2}
|
||||||
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
m_sharedMaterial: {fileID: -4171563015097924827, guid: 18e5ede33e490485d9576cb16d82ad1e, type: 2}
|
||||||
m_fontSharedMaterials: []
|
m_fontSharedMaterials: []
|
||||||
m_fontMaterial: {fileID: 0}
|
m_fontMaterial: {fileID: 0}
|
||||||
m_fontMaterials: []
|
m_fontMaterials: []
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,6 @@ RenderSettings:
|
||||||
m_ReflectionIntensity: 1
|
m_ReflectionIntensity: 1
|
||||||
m_CustomReflection: {fileID: 0}
|
m_CustomReflection: {fileID: 0}
|
||||||
m_Sun: {fileID: 0}
|
m_Sun: {fileID: 0}
|
||||||
m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
|
|
||||||
m_UseRadianceAmbientProbe: 0
|
m_UseRadianceAmbientProbe: 0
|
||||||
--- !u!157 &3
|
--- !u!157 &3
|
||||||
LightmapSettings:
|
LightmapSettings:
|
||||||
|
|
@ -904,13 +903,15 @@ ParticleSystemRenderer:
|
||||||
m_RenderAlignment: 0
|
m_RenderAlignment: 0
|
||||||
m_Pivot: {x: 0, y: 0, z: 0}
|
m_Pivot: {x: 0, y: 0, z: 0}
|
||||||
m_Flip: {x: 0, y: 0, z: 0}
|
m_Flip: {x: 0, y: 0, z: 0}
|
||||||
m_UseCustomVertexStreams: 0
|
|
||||||
m_EnableGPUInstancing: 1
|
m_EnableGPUInstancing: 1
|
||||||
m_ApplyActiveColorSpace: 1
|
m_ApplyActiveColorSpace: 1
|
||||||
m_AllowRoll: 1
|
m_AllowRoll: 1
|
||||||
m_FreeformStretching: 0
|
m_FreeformStretching: 0
|
||||||
m_RotateWithStretchDirection: 1
|
m_RotateWithStretchDirection: 1
|
||||||
|
m_UseCustomVertexStreams: 0
|
||||||
m_VertexStreams: 00010304
|
m_VertexStreams: 00010304
|
||||||
|
m_UseCustomTrailVertexStreams: 0
|
||||||
|
m_TrailVertexStreams: 00010304
|
||||||
m_Mesh: {fileID: 0}
|
m_Mesh: {fileID: 0}
|
||||||
m_Mesh1: {fileID: 0}
|
m_Mesh1: {fileID: 0}
|
||||||
m_Mesh2: {fileID: 0}
|
m_Mesh2: {fileID: 0}
|
||||||
|
|
@ -6485,13 +6486,15 @@ ParticleSystemRenderer:
|
||||||
m_RenderAlignment: 0
|
m_RenderAlignment: 0
|
||||||
m_Pivot: {x: 0, y: 0, z: 0}
|
m_Pivot: {x: 0, y: 0, z: 0}
|
||||||
m_Flip: {x: 0, y: 0, z: 0}
|
m_Flip: {x: 0, y: 0, z: 0}
|
||||||
m_UseCustomVertexStreams: 0
|
|
||||||
m_EnableGPUInstancing: 0
|
m_EnableGPUInstancing: 0
|
||||||
m_ApplyActiveColorSpace: 1
|
m_ApplyActiveColorSpace: 1
|
||||||
m_AllowRoll: 1
|
m_AllowRoll: 1
|
||||||
m_FreeformStretching: 0
|
m_FreeformStretching: 0
|
||||||
m_RotateWithStretchDirection: 1
|
m_RotateWithStretchDirection: 1
|
||||||
|
m_UseCustomVertexStreams: 0
|
||||||
m_VertexStreams: 0001030405
|
m_VertexStreams: 0001030405
|
||||||
|
m_UseCustomTrailVertexStreams: 0
|
||||||
|
m_TrailVertexStreams: 00010304
|
||||||
m_Mesh: {fileID: 0}
|
m_Mesh: {fileID: 0}
|
||||||
m_Mesh1: {fileID: 0}
|
m_Mesh1: {fileID: 0}
|
||||||
m_Mesh2: {fileID: 0}
|
m_Mesh2: {fileID: 0}
|
||||||
|
|
@ -11836,13 +11839,15 @@ ParticleSystemRenderer:
|
||||||
m_RenderAlignment: 2
|
m_RenderAlignment: 2
|
||||||
m_Pivot: {x: 0, y: 0, z: 0}
|
m_Pivot: {x: 0, y: 0, z: 0}
|
||||||
m_Flip: {x: 0, y: 0, z: 0}
|
m_Flip: {x: 0, y: 0, z: 0}
|
||||||
m_UseCustomVertexStreams: 0
|
|
||||||
m_EnableGPUInstancing: 1
|
m_EnableGPUInstancing: 1
|
||||||
m_ApplyActiveColorSpace: 1
|
m_ApplyActiveColorSpace: 1
|
||||||
m_AllowRoll: 1
|
m_AllowRoll: 1
|
||||||
m_FreeformStretching: 0
|
m_FreeformStretching: 0
|
||||||
m_RotateWithStretchDirection: 1
|
m_RotateWithStretchDirection: 1
|
||||||
|
m_UseCustomVertexStreams: 0
|
||||||
m_VertexStreams: 00010304
|
m_VertexStreams: 00010304
|
||||||
|
m_UseCustomTrailVertexStreams: 0
|
||||||
|
m_TrailVertexStreams: 00010304
|
||||||
m_Mesh: {fileID: 0}
|
m_Mesh: {fileID: 0}
|
||||||
m_Mesh1: {fileID: 0}
|
m_Mesh1: {fileID: 0}
|
||||||
m_Mesh2: {fileID: 0}
|
m_Mesh2: {fileID: 0}
|
||||||
|
|
@ -16952,13 +16957,15 @@ ParticleSystemRenderer:
|
||||||
m_RenderAlignment: 0
|
m_RenderAlignment: 0
|
||||||
m_Pivot: {x: 0, y: 0.3, z: 0}
|
m_Pivot: {x: 0, y: 0.3, z: 0}
|
||||||
m_Flip: {x: 0, y: 0, z: 0}
|
m_Flip: {x: 0, y: 0, z: 0}
|
||||||
m_UseCustomVertexStreams: 0
|
|
||||||
m_EnableGPUInstancing: 1
|
m_EnableGPUInstancing: 1
|
||||||
m_ApplyActiveColorSpace: 1
|
m_ApplyActiveColorSpace: 1
|
||||||
m_AllowRoll: 1
|
m_AllowRoll: 1
|
||||||
m_FreeformStretching: 0
|
m_FreeformStretching: 0
|
||||||
m_RotateWithStretchDirection: 1
|
m_RotateWithStretchDirection: 1
|
||||||
|
m_UseCustomVertexStreams: 0
|
||||||
m_VertexStreams: 00010304
|
m_VertexStreams: 00010304
|
||||||
|
m_UseCustomTrailVertexStreams: 0
|
||||||
|
m_TrailVertexStreams: 00010304
|
||||||
m_Mesh: {fileID: 0}
|
m_Mesh: {fileID: 0}
|
||||||
m_Mesh1: {fileID: 0}
|
m_Mesh1: {fileID: 0}
|
||||||
m_Mesh2: {fileID: 0}
|
m_Mesh2: {fileID: 0}
|
||||||
|
|
@ -22167,6 +22174,7 @@ MonoBehaviour:
|
||||||
count: 0
|
count: 0
|
||||||
spawnProbability: 0
|
spawnProbability: 0
|
||||||
inventoryItems: {fileID: 11400000, guid: 6294ffab408434613b9a1b8e86f89d78, type: 2}
|
inventoryItems: {fileID: 11400000, guid: 6294ffab408434613b9a1b8e86f89d78, type: 2}
|
||||||
|
monsterspawnDelay: 45
|
||||||
--- !u!4 &608202480
|
--- !u!4 &608202480
|
||||||
Transform:
|
Transform:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
@ -22831,13 +22839,15 @@ ParticleSystemRenderer:
|
||||||
m_RenderAlignment: 2
|
m_RenderAlignment: 2
|
||||||
m_Pivot: {x: 0, y: 0, z: 0}
|
m_Pivot: {x: 0, y: 0, z: 0}
|
||||||
m_Flip: {x: 0, y: 0, z: 0}
|
m_Flip: {x: 0, y: 0, z: 0}
|
||||||
m_UseCustomVertexStreams: 0
|
|
||||||
m_EnableGPUInstancing: 1
|
m_EnableGPUInstancing: 1
|
||||||
m_ApplyActiveColorSpace: 1
|
m_ApplyActiveColorSpace: 1
|
||||||
m_AllowRoll: 1
|
m_AllowRoll: 1
|
||||||
m_FreeformStretching: 0
|
m_FreeformStretching: 0
|
||||||
m_RotateWithStretchDirection: 1
|
m_RotateWithStretchDirection: 1
|
||||||
|
m_UseCustomVertexStreams: 0
|
||||||
m_VertexStreams: 00010304
|
m_VertexStreams: 00010304
|
||||||
|
m_UseCustomTrailVertexStreams: 0
|
||||||
|
m_TrailVertexStreams: 00010304
|
||||||
m_Mesh: {fileID: 0}
|
m_Mesh: {fileID: 0}
|
||||||
m_Mesh1: {fileID: 0}
|
m_Mesh1: {fileID: 0}
|
||||||
m_Mesh2: {fileID: 0}
|
m_Mesh2: {fileID: 0}
|
||||||
|
|
@ -30067,9 +30077,19 @@ MonoBehaviour:
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
focus: {fileID: 0}
|
focus: {fileID: 0}
|
||||||
smoothTime: 1.65
|
offset: {x: 0, y: 0, z: -50}
|
||||||
offset: {x: -0.1, y: -0.51, z: 15.5}
|
followSpeed: 2
|
||||||
isPaused: 0
|
useSmoothing: 1
|
||||||
|
useDeadzone: 1
|
||||||
|
deadzoneSize: {x: 3.5, y: 1}
|
||||||
|
useBounds: 0
|
||||||
|
minBounds: {x: -10, y: -10}
|
||||||
|
maxBounds: {x: 10, y: 10}
|
||||||
|
useLookAhead: 0
|
||||||
|
lookAheadDistance: 20
|
||||||
|
lookAheadSpeed: 1
|
||||||
|
shakeDuration: 0.5
|
||||||
|
shakeStrength: 1
|
||||||
--- !u!114 &864703088
|
--- !u!114 &864703088
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
@ -30670,13 +30690,15 @@ ParticleSystemRenderer:
|
||||||
m_RenderAlignment: 0
|
m_RenderAlignment: 0
|
||||||
m_Pivot: {x: 0, y: 0, z: 0}
|
m_Pivot: {x: 0, y: 0, z: 0}
|
||||||
m_Flip: {x: 0, y: 0, z: 0}
|
m_Flip: {x: 0, y: 0, z: 0}
|
||||||
m_UseCustomVertexStreams: 0
|
|
||||||
m_EnableGPUInstancing: 1
|
m_EnableGPUInstancing: 1
|
||||||
m_ApplyActiveColorSpace: 1
|
m_ApplyActiveColorSpace: 1
|
||||||
m_AllowRoll: 1
|
m_AllowRoll: 1
|
||||||
m_FreeformStretching: 0
|
m_FreeformStretching: 0
|
||||||
m_RotateWithStretchDirection: 1
|
m_RotateWithStretchDirection: 1
|
||||||
|
m_UseCustomVertexStreams: 0
|
||||||
m_VertexStreams: 00010304
|
m_VertexStreams: 00010304
|
||||||
|
m_UseCustomTrailVertexStreams: 0
|
||||||
|
m_TrailVertexStreams: 00010304
|
||||||
m_Mesh: {fileID: 0}
|
m_Mesh: {fileID: 0}
|
||||||
m_Mesh1: {fileID: 0}
|
m_Mesh1: {fileID: 0}
|
||||||
m_Mesh2: {fileID: 0}
|
m_Mesh2: {fileID: 0}
|
||||||
|
|
@ -35568,13 +35590,15 @@ ParticleSystemRenderer:
|
||||||
m_RenderAlignment: 0
|
m_RenderAlignment: 0
|
||||||
m_Pivot: {x: 0, y: 0, z: 0}
|
m_Pivot: {x: 0, y: 0, z: 0}
|
||||||
m_Flip: {x: 0, y: 0, z: 0}
|
m_Flip: {x: 0, y: 0, z: 0}
|
||||||
m_UseCustomVertexStreams: 0
|
|
||||||
m_EnableGPUInstancing: 1
|
m_EnableGPUInstancing: 1
|
||||||
m_ApplyActiveColorSpace: 1
|
m_ApplyActiveColorSpace: 1
|
||||||
m_AllowRoll: 1
|
m_AllowRoll: 1
|
||||||
m_FreeformStretching: 0
|
m_FreeformStretching: 0
|
||||||
m_RotateWithStretchDirection: 1
|
m_RotateWithStretchDirection: 1
|
||||||
|
m_UseCustomVertexStreams: 0
|
||||||
m_VertexStreams: 00010304
|
m_VertexStreams: 00010304
|
||||||
|
m_UseCustomTrailVertexStreams: 0
|
||||||
|
m_TrailVertexStreams: 00010304
|
||||||
m_Mesh: {fileID: 0}
|
m_Mesh: {fileID: 0}
|
||||||
m_Mesh1: {fileID: 0}
|
m_Mesh1: {fileID: 0}
|
||||||
m_Mesh2: {fileID: 0}
|
m_Mesh2: {fileID: 0}
|
||||||
|
|
@ -41076,13 +41100,15 @@ ParticleSystemRenderer:
|
||||||
m_RenderAlignment: 0
|
m_RenderAlignment: 0
|
||||||
m_Pivot: {x: 0, y: 0, z: 0}
|
m_Pivot: {x: 0, y: 0, z: 0}
|
||||||
m_Flip: {x: 0, y: 0, z: 0}
|
m_Flip: {x: 0, y: 0, z: 0}
|
||||||
m_UseCustomVertexStreams: 0
|
|
||||||
m_EnableGPUInstancing: 1
|
m_EnableGPUInstancing: 1
|
||||||
m_ApplyActiveColorSpace: 1
|
m_ApplyActiveColorSpace: 1
|
||||||
m_AllowRoll: 1
|
m_AllowRoll: 1
|
||||||
m_FreeformStretching: 0
|
m_FreeformStretching: 0
|
||||||
m_RotateWithStretchDirection: 1
|
m_RotateWithStretchDirection: 1
|
||||||
|
m_UseCustomVertexStreams: 0
|
||||||
m_VertexStreams: 00010304
|
m_VertexStreams: 00010304
|
||||||
|
m_UseCustomTrailVertexStreams: 0
|
||||||
|
m_TrailVertexStreams: 00010304
|
||||||
m_Mesh: {fileID: -7909654892493620595, guid: cd20e8790f3e4884ca3c74989aa84a83, type: 3}
|
m_Mesh: {fileID: -7909654892493620595, guid: cd20e8790f3e4884ca3c74989aa84a83, type: 3}
|
||||||
m_Mesh1: {fileID: 0}
|
m_Mesh1: {fileID: 0}
|
||||||
m_Mesh2: {fileID: 0}
|
m_Mesh2: {fileID: 0}
|
||||||
|
|
@ -46351,13 +46377,15 @@ ParticleSystemRenderer:
|
||||||
m_RenderAlignment: 2
|
m_RenderAlignment: 2
|
||||||
m_Pivot: {x: 0, y: 0, z: 0}
|
m_Pivot: {x: 0, y: 0, z: 0}
|
||||||
m_Flip: {x: 0, y: 0, z: 0}
|
m_Flip: {x: 0, y: 0, z: 0}
|
||||||
m_UseCustomVertexStreams: 0
|
|
||||||
m_EnableGPUInstancing: 1
|
m_EnableGPUInstancing: 1
|
||||||
m_ApplyActiveColorSpace: 1
|
m_ApplyActiveColorSpace: 1
|
||||||
m_AllowRoll: 1
|
m_AllowRoll: 1
|
||||||
m_FreeformStretching: 0
|
m_FreeformStretching: 0
|
||||||
m_RotateWithStretchDirection: 1
|
m_RotateWithStretchDirection: 1
|
||||||
|
m_UseCustomVertexStreams: 0
|
||||||
m_VertexStreams: 00010304
|
m_VertexStreams: 00010304
|
||||||
|
m_UseCustomTrailVertexStreams: 0
|
||||||
|
m_TrailVertexStreams: 00010304
|
||||||
m_Mesh: {fileID: 0}
|
m_Mesh: {fileID: 0}
|
||||||
m_Mesh1: {fileID: 0}
|
m_Mesh1: {fileID: 0}
|
||||||
m_Mesh2: {fileID: 0}
|
m_Mesh2: {fileID: 0}
|
||||||
|
|
@ -52101,13 +52129,15 @@ ParticleSystemRenderer:
|
||||||
m_RenderAlignment: 2
|
m_RenderAlignment: 2
|
||||||
m_Pivot: {x: 0, y: 0, z: 0}
|
m_Pivot: {x: 0, y: 0, z: 0}
|
||||||
m_Flip: {x: 0, y: 0, z: 0}
|
m_Flip: {x: 0, y: 0, z: 0}
|
||||||
m_UseCustomVertexStreams: 0
|
|
||||||
m_EnableGPUInstancing: 1
|
m_EnableGPUInstancing: 1
|
||||||
m_ApplyActiveColorSpace: 1
|
m_ApplyActiveColorSpace: 1
|
||||||
m_AllowRoll: 1
|
m_AllowRoll: 1
|
||||||
m_FreeformStretching: 0
|
m_FreeformStretching: 0
|
||||||
m_RotateWithStretchDirection: 1
|
m_RotateWithStretchDirection: 1
|
||||||
|
m_UseCustomVertexStreams: 0
|
||||||
m_VertexStreams: 00010304
|
m_VertexStreams: 00010304
|
||||||
|
m_UseCustomTrailVertexStreams: 0
|
||||||
|
m_TrailVertexStreams: 00010304
|
||||||
m_Mesh: {fileID: 0}
|
m_Mesh: {fileID: 0}
|
||||||
m_Mesh1: {fileID: 0}
|
m_Mesh1: {fileID: 0}
|
||||||
m_Mesh2: {fileID: 0}
|
m_Mesh2: {fileID: 0}
|
||||||
|
|
@ -297745,13 +297775,15 @@ ParticleSystemRenderer:
|
||||||
m_RenderAlignment: 0
|
m_RenderAlignment: 0
|
||||||
m_Pivot: {x: 0, y: 4.34, z: 0}
|
m_Pivot: {x: 0, y: 4.34, z: 0}
|
||||||
m_Flip: {x: 0, y: 0, z: 0}
|
m_Flip: {x: 0, y: 0, z: 0}
|
||||||
m_UseCustomVertexStreams: 0
|
|
||||||
m_EnableGPUInstancing: 1
|
m_EnableGPUInstancing: 1
|
||||||
m_ApplyActiveColorSpace: 1
|
m_ApplyActiveColorSpace: 1
|
||||||
m_AllowRoll: 1
|
m_AllowRoll: 1
|
||||||
m_FreeformStretching: 0
|
m_FreeformStretching: 0
|
||||||
m_RotateWithStretchDirection: 1
|
m_RotateWithStretchDirection: 1
|
||||||
|
m_UseCustomVertexStreams: 0
|
||||||
m_VertexStreams: 00010304
|
m_VertexStreams: 00010304
|
||||||
|
m_UseCustomTrailVertexStreams: 0
|
||||||
|
m_TrailVertexStreams: 00010304
|
||||||
m_Mesh: {fileID: 0}
|
m_Mesh: {fileID: 0}
|
||||||
m_Mesh1: {fileID: 0}
|
m_Mesh1: {fileID: 0}
|
||||||
m_Mesh2: {fileID: 0}
|
m_Mesh2: {fileID: 0}
|
||||||
|
|
@ -303463,13 +303495,15 @@ ParticleSystemRenderer:
|
||||||
m_RenderAlignment: 2
|
m_RenderAlignment: 2
|
||||||
m_Pivot: {x: 0, y: 0, z: 0}
|
m_Pivot: {x: 0, y: 0, z: 0}
|
||||||
m_Flip: {x: 0, y: 0, z: 0}
|
m_Flip: {x: 0, y: 0, z: 0}
|
||||||
m_UseCustomVertexStreams: 0
|
|
||||||
m_EnableGPUInstancing: 1
|
m_EnableGPUInstancing: 1
|
||||||
m_ApplyActiveColorSpace: 1
|
m_ApplyActiveColorSpace: 1
|
||||||
m_AllowRoll: 1
|
m_AllowRoll: 1
|
||||||
m_FreeformStretching: 0
|
m_FreeformStretching: 0
|
||||||
m_RotateWithStretchDirection: 1
|
m_RotateWithStretchDirection: 1
|
||||||
|
m_UseCustomVertexStreams: 0
|
||||||
m_VertexStreams: 00010304
|
m_VertexStreams: 00010304
|
||||||
|
m_UseCustomTrailVertexStreams: 0
|
||||||
|
m_TrailVertexStreams: 00010304
|
||||||
m_Mesh: {fileID: 0}
|
m_Mesh: {fileID: 0}
|
||||||
m_Mesh1: {fileID: 0}
|
m_Mesh1: {fileID: 0}
|
||||||
m_Mesh2: {fileID: 0}
|
m_Mesh2: {fileID: 0}
|
||||||
|
|
@ -312943,13 +312977,15 @@ ParticleSystemRenderer:
|
||||||
m_RenderAlignment: 0
|
m_RenderAlignment: 0
|
||||||
m_Pivot: {x: 0, y: 0, z: 0}
|
m_Pivot: {x: 0, y: 0, z: 0}
|
||||||
m_Flip: {x: 0, y: 0, z: 0}
|
m_Flip: {x: 0, y: 0, z: 0}
|
||||||
m_UseCustomVertexStreams: 0
|
|
||||||
m_EnableGPUInstancing: 1
|
m_EnableGPUInstancing: 1
|
||||||
m_ApplyActiveColorSpace: 1
|
m_ApplyActiveColorSpace: 1
|
||||||
m_AllowRoll: 1
|
m_AllowRoll: 1
|
||||||
m_FreeformStretching: 0
|
m_FreeformStretching: 0
|
||||||
m_RotateWithStretchDirection: 1
|
m_RotateWithStretchDirection: 1
|
||||||
|
m_UseCustomVertexStreams: 0
|
||||||
m_VertexStreams: 00010304
|
m_VertexStreams: 00010304
|
||||||
|
m_UseCustomTrailVertexStreams: 0
|
||||||
|
m_TrailVertexStreams: 00010304
|
||||||
m_Mesh: {fileID: -7909654892493620595, guid: cd20e8790f3e4884ca3c74989aa84a83, type: 3}
|
m_Mesh: {fileID: -7909654892493620595, guid: cd20e8790f3e4884ca3c74989aa84a83, type: 3}
|
||||||
m_Mesh1: {fileID: 0}
|
m_Mesh1: {fileID: 0}
|
||||||
m_Mesh2: {fileID: 0}
|
m_Mesh2: {fileID: 0}
|
||||||
|
|
@ -335514,13 +335550,15 @@ ParticleSystemRenderer:
|
||||||
m_RenderAlignment: 2
|
m_RenderAlignment: 2
|
||||||
m_Pivot: {x: 0, y: 0, z: 0}
|
m_Pivot: {x: 0, y: 0, z: 0}
|
||||||
m_Flip: {x: 0, y: 0, z: 0}
|
m_Flip: {x: 0, y: 0, z: 0}
|
||||||
m_UseCustomVertexStreams: 0
|
|
||||||
m_EnableGPUInstancing: 1
|
m_EnableGPUInstancing: 1
|
||||||
m_ApplyActiveColorSpace: 1
|
m_ApplyActiveColorSpace: 1
|
||||||
m_AllowRoll: 1
|
m_AllowRoll: 1
|
||||||
m_FreeformStretching: 0
|
m_FreeformStretching: 0
|
||||||
m_RotateWithStretchDirection: 1
|
m_RotateWithStretchDirection: 1
|
||||||
|
m_UseCustomVertexStreams: 0
|
||||||
m_VertexStreams: 00010304
|
m_VertexStreams: 00010304
|
||||||
|
m_UseCustomTrailVertexStreams: 0
|
||||||
|
m_TrailVertexStreams: 00010304
|
||||||
m_Mesh: {fileID: 0}
|
m_Mesh: {fileID: 0}
|
||||||
m_Mesh1: {fileID: 0}
|
m_Mesh1: {fileID: 0}
|
||||||
m_Mesh2: {fileID: 0}
|
m_Mesh2: {fileID: 0}
|
||||||
|
|
@ -340492,13 +340530,15 @@ ParticleSystemRenderer:
|
||||||
m_RenderAlignment: 0
|
m_RenderAlignment: 0
|
||||||
m_Pivot: {x: 0, y: 0, z: 0}
|
m_Pivot: {x: 0, y: 0, z: 0}
|
||||||
m_Flip: {x: 0, y: 0, z: 0}
|
m_Flip: {x: 0, y: 0, z: 0}
|
||||||
m_UseCustomVertexStreams: 0
|
|
||||||
m_EnableGPUInstancing: 0
|
m_EnableGPUInstancing: 0
|
||||||
m_ApplyActiveColorSpace: 1
|
m_ApplyActiveColorSpace: 1
|
||||||
m_AllowRoll: 1
|
m_AllowRoll: 1
|
||||||
m_FreeformStretching: 0
|
m_FreeformStretching: 0
|
||||||
m_RotateWithStretchDirection: 1
|
m_RotateWithStretchDirection: 1
|
||||||
|
m_UseCustomVertexStreams: 0
|
||||||
m_VertexStreams: 0001030405
|
m_VertexStreams: 0001030405
|
||||||
|
m_UseCustomTrailVertexStreams: 0
|
||||||
|
m_TrailVertexStreams: 00010304
|
||||||
m_Mesh: {fileID: 0}
|
m_Mesh: {fileID: 0}
|
||||||
m_Mesh1: {fileID: 0}
|
m_Mesh1: {fileID: 0}
|
||||||
m_Mesh2: {fileID: 0}
|
m_Mesh2: {fileID: 0}
|
||||||
|
|
@ -365948,13 +365988,15 @@ ParticleSystemRenderer:
|
||||||
m_RenderAlignment: 0
|
m_RenderAlignment: 0
|
||||||
m_Pivot: {x: 0, y: 0, z: 0}
|
m_Pivot: {x: 0, y: 0, z: 0}
|
||||||
m_Flip: {x: 0, y: 0, z: 0}
|
m_Flip: {x: 0, y: 0, z: 0}
|
||||||
m_UseCustomVertexStreams: 0
|
|
||||||
m_EnableGPUInstancing: 1
|
m_EnableGPUInstancing: 1
|
||||||
m_ApplyActiveColorSpace: 1
|
m_ApplyActiveColorSpace: 1
|
||||||
m_AllowRoll: 1
|
m_AllowRoll: 1
|
||||||
m_FreeformStretching: 0
|
m_FreeformStretching: 0
|
||||||
m_RotateWithStretchDirection: 1
|
m_RotateWithStretchDirection: 1
|
||||||
|
m_UseCustomVertexStreams: 0
|
||||||
m_VertexStreams: 00010304
|
m_VertexStreams: 00010304
|
||||||
|
m_UseCustomTrailVertexStreams: 0
|
||||||
|
m_TrailVertexStreams: 00010304
|
||||||
m_Mesh: {fileID: 0}
|
m_Mesh: {fileID: 0}
|
||||||
m_Mesh1: {fileID: 0}
|
m_Mesh1: {fileID: 0}
|
||||||
m_Mesh2: {fileID: 0}
|
m_Mesh2: {fileID: 0}
|
||||||
|
|
@ -371061,13 +371103,15 @@ ParticleSystemRenderer:
|
||||||
m_RenderAlignment: 0
|
m_RenderAlignment: 0
|
||||||
m_Pivot: {x: 0, y: 0.3, z: 0}
|
m_Pivot: {x: 0, y: 0.3, z: 0}
|
||||||
m_Flip: {x: 0, y: 0, z: 0}
|
m_Flip: {x: 0, y: 0, z: 0}
|
||||||
m_UseCustomVertexStreams: 0
|
|
||||||
m_EnableGPUInstancing: 1
|
m_EnableGPUInstancing: 1
|
||||||
m_ApplyActiveColorSpace: 1
|
m_ApplyActiveColorSpace: 1
|
||||||
m_AllowRoll: 1
|
m_AllowRoll: 1
|
||||||
m_FreeformStretching: 0
|
m_FreeformStretching: 0
|
||||||
m_RotateWithStretchDirection: 1
|
m_RotateWithStretchDirection: 1
|
||||||
|
m_UseCustomVertexStreams: 0
|
||||||
m_VertexStreams: 00010304
|
m_VertexStreams: 00010304
|
||||||
|
m_UseCustomTrailVertexStreams: 0
|
||||||
|
m_TrailVertexStreams: 00010304
|
||||||
m_Mesh: {fileID: 0}
|
m_Mesh: {fileID: 0}
|
||||||
m_Mesh1: {fileID: 0}
|
m_Mesh1: {fileID: 0}
|
||||||
m_Mesh2: {fileID: 0}
|
m_Mesh2: {fileID: 0}
|
||||||
|
|
@ -412891,13 +412935,15 @@ ParticleSystemRenderer:
|
||||||
m_RenderAlignment: 0
|
m_RenderAlignment: 0
|
||||||
m_Pivot: {x: 0, y: 0.3, z: 0}
|
m_Pivot: {x: 0, y: 0.3, z: 0}
|
||||||
m_Flip: {x: 0, y: 0, z: 0}
|
m_Flip: {x: 0, y: 0, z: 0}
|
||||||
m_UseCustomVertexStreams: 0
|
|
||||||
m_EnableGPUInstancing: 1
|
m_EnableGPUInstancing: 1
|
||||||
m_ApplyActiveColorSpace: 1
|
m_ApplyActiveColorSpace: 1
|
||||||
m_AllowRoll: 1
|
m_AllowRoll: 1
|
||||||
m_FreeformStretching: 0
|
m_FreeformStretching: 0
|
||||||
m_RotateWithStretchDirection: 1
|
m_RotateWithStretchDirection: 1
|
||||||
|
m_UseCustomVertexStreams: 0
|
||||||
m_VertexStreams: 00010304
|
m_VertexStreams: 00010304
|
||||||
|
m_UseCustomTrailVertexStreams: 0
|
||||||
|
m_TrailVertexStreams: 00010304
|
||||||
m_Mesh: {fileID: 0}
|
m_Mesh: {fileID: 0}
|
||||||
m_Mesh1: {fileID: 0}
|
m_Mesh1: {fileID: 0}
|
||||||
m_Mesh2: {fileID: 0}
|
m_Mesh2: {fileID: 0}
|
||||||
|
|
@ -412981,13 +413027,15 @@ ParticleSystemRenderer:
|
||||||
m_RenderAlignment: 0
|
m_RenderAlignment: 0
|
||||||
m_Pivot: {x: 0, y: 0, z: 0}
|
m_Pivot: {x: 0, y: 0, z: 0}
|
||||||
m_Flip: {x: 0, y: 0, z: 0}
|
m_Flip: {x: 0, y: 0, z: 0}
|
||||||
m_UseCustomVertexStreams: 0
|
|
||||||
m_EnableGPUInstancing: 1
|
m_EnableGPUInstancing: 1
|
||||||
m_ApplyActiveColorSpace: 1
|
m_ApplyActiveColorSpace: 1
|
||||||
m_AllowRoll: 1
|
m_AllowRoll: 1
|
||||||
m_FreeformStretching: 0
|
m_FreeformStretching: 0
|
||||||
m_RotateWithStretchDirection: 1
|
m_RotateWithStretchDirection: 1
|
||||||
|
m_UseCustomVertexStreams: 0
|
||||||
m_VertexStreams: 00010304
|
m_VertexStreams: 00010304
|
||||||
|
m_UseCustomTrailVertexStreams: 0
|
||||||
|
m_TrailVertexStreams: 00010304
|
||||||
m_Mesh: {fileID: 0}
|
m_Mesh: {fileID: 0}
|
||||||
m_Mesh1: {fileID: 0}
|
m_Mesh1: {fileID: 0}
|
||||||
m_Mesh2: {fileID: 0}
|
m_Mesh2: {fileID: 0}
|
||||||
|
|
@ -550934,13 +550982,15 @@ ParticleSystemRenderer:
|
||||||
m_RenderAlignment: 0
|
m_RenderAlignment: 0
|
||||||
m_Pivot: {x: 0, y: 0, z: 0}
|
m_Pivot: {x: 0, y: 0, z: 0}
|
||||||
m_Flip: {x: 0, y: 0, z: 0}
|
m_Flip: {x: 0, y: 0, z: 0}
|
||||||
m_UseCustomVertexStreams: 0
|
|
||||||
m_EnableGPUInstancing: 1
|
m_EnableGPUInstancing: 1
|
||||||
m_ApplyActiveColorSpace: 1
|
m_ApplyActiveColorSpace: 1
|
||||||
m_AllowRoll: 1
|
m_AllowRoll: 1
|
||||||
m_FreeformStretching: 0
|
m_FreeformStretching: 0
|
||||||
m_RotateWithStretchDirection: 1
|
m_RotateWithStretchDirection: 1
|
||||||
|
m_UseCustomVertexStreams: 0
|
||||||
m_VertexStreams: 00010304
|
m_VertexStreams: 00010304
|
||||||
|
m_UseCustomTrailVertexStreams: 0
|
||||||
|
m_TrailVertexStreams: 00010304
|
||||||
m_Mesh: {fileID: -7909654892493620595, guid: cd20e8790f3e4884ca3c74989aa84a83, type: 3}
|
m_Mesh: {fileID: -7909654892493620595, guid: cd20e8790f3e4884ca3c74989aa84a83, type: 3}
|
||||||
m_Mesh1: {fileID: 0}
|
m_Mesh1: {fileID: 0}
|
||||||
m_Mesh2: {fileID: 0}
|
m_Mesh2: {fileID: 0}
|
||||||
|
|
@ -686475,13 +686525,15 @@ ParticleSystemRenderer:
|
||||||
m_RenderAlignment: 2
|
m_RenderAlignment: 2
|
||||||
m_Pivot: {x: 0, y: 0, z: 0}
|
m_Pivot: {x: 0, y: 0, z: 0}
|
||||||
m_Flip: {x: 0, y: 0, z: 0}
|
m_Flip: {x: 0, y: 0, z: 0}
|
||||||
m_UseCustomVertexStreams: 0
|
|
||||||
m_EnableGPUInstancing: 1
|
m_EnableGPUInstancing: 1
|
||||||
m_ApplyActiveColorSpace: 1
|
m_ApplyActiveColorSpace: 1
|
||||||
m_AllowRoll: 1
|
m_AllowRoll: 1
|
||||||
m_FreeformStretching: 0
|
m_FreeformStretching: 0
|
||||||
m_RotateWithStretchDirection: 1
|
m_RotateWithStretchDirection: 1
|
||||||
|
m_UseCustomVertexStreams: 0
|
||||||
m_VertexStreams: 00010304
|
m_VertexStreams: 00010304
|
||||||
|
m_UseCustomTrailVertexStreams: 0
|
||||||
|
m_TrailVertexStreams: 00010304
|
||||||
m_Mesh: {fileID: 0}
|
m_Mesh: {fileID: 0}
|
||||||
m_Mesh1: {fileID: 0}
|
m_Mesh1: {fileID: 0}
|
||||||
m_Mesh2: {fileID: 0}
|
m_Mesh2: {fileID: 0}
|
||||||
|
|
@ -749640,13 +749692,15 @@ ParticleSystemRenderer:
|
||||||
m_RenderAlignment: 0
|
m_RenderAlignment: 0
|
||||||
m_Pivot: {x: 0, y: 4.34, z: 0}
|
m_Pivot: {x: 0, y: 4.34, z: 0}
|
||||||
m_Flip: {x: 0, y: 0, z: 0}
|
m_Flip: {x: 0, y: 0, z: 0}
|
||||||
m_UseCustomVertexStreams: 0
|
|
||||||
m_EnableGPUInstancing: 1
|
m_EnableGPUInstancing: 1
|
||||||
m_ApplyActiveColorSpace: 1
|
m_ApplyActiveColorSpace: 1
|
||||||
m_AllowRoll: 1
|
m_AllowRoll: 1
|
||||||
m_FreeformStretching: 0
|
m_FreeformStretching: 0
|
||||||
m_RotateWithStretchDirection: 1
|
m_RotateWithStretchDirection: 1
|
||||||
|
m_UseCustomVertexStreams: 0
|
||||||
m_VertexStreams: 00010304
|
m_VertexStreams: 00010304
|
||||||
|
m_UseCustomTrailVertexStreams: 0
|
||||||
|
m_TrailVertexStreams: 00010304
|
||||||
m_Mesh: {fileID: 0}
|
m_Mesh: {fileID: 0}
|
||||||
m_Mesh1: {fileID: 0}
|
m_Mesh1: {fileID: 0}
|
||||||
m_Mesh2: {fileID: 0}
|
m_Mesh2: {fileID: 0}
|
||||||
|
|
@ -753092,13 +753146,15 @@ ParticleSystemRenderer:
|
||||||
m_RenderAlignment: 0
|
m_RenderAlignment: 0
|
||||||
m_Pivot: {x: 0, y: 0, z: 0}
|
m_Pivot: {x: 0, y: 0, z: 0}
|
||||||
m_Flip: {x: 0, y: 0, z: 0}
|
m_Flip: {x: 0, y: 0, z: 0}
|
||||||
m_UseCustomVertexStreams: 0
|
|
||||||
m_EnableGPUInstancing: 1
|
m_EnableGPUInstancing: 1
|
||||||
m_ApplyActiveColorSpace: 1
|
m_ApplyActiveColorSpace: 1
|
||||||
m_AllowRoll: 1
|
m_AllowRoll: 1
|
||||||
m_FreeformStretching: 0
|
m_FreeformStretching: 0
|
||||||
m_RotateWithStretchDirection: 1
|
m_RotateWithStretchDirection: 1
|
||||||
|
m_UseCustomVertexStreams: 0
|
||||||
m_VertexStreams: 00010304
|
m_VertexStreams: 00010304
|
||||||
|
m_UseCustomTrailVertexStreams: 0
|
||||||
|
m_TrailVertexStreams: 00010304
|
||||||
m_Mesh: {fileID: 0}
|
m_Mesh: {fileID: 0}
|
||||||
m_Mesh1: {fileID: 0}
|
m_Mesh1: {fileID: 0}
|
||||||
m_Mesh2: {fileID: 0}
|
m_Mesh2: {fileID: 0}
|
||||||
|
|
@ -775118,13 +775174,15 @@ ParticleSystemRenderer:
|
||||||
m_RenderAlignment: 2
|
m_RenderAlignment: 2
|
||||||
m_Pivot: {x: 0, y: 0, z: 0}
|
m_Pivot: {x: 0, y: 0, z: 0}
|
||||||
m_Flip: {x: 0, y: 0, z: 0}
|
m_Flip: {x: 0, y: 0, z: 0}
|
||||||
m_UseCustomVertexStreams: 0
|
|
||||||
m_EnableGPUInstancing: 1
|
m_EnableGPUInstancing: 1
|
||||||
m_ApplyActiveColorSpace: 1
|
m_ApplyActiveColorSpace: 1
|
||||||
m_AllowRoll: 1
|
m_AllowRoll: 1
|
||||||
m_FreeformStretching: 0
|
m_FreeformStretching: 0
|
||||||
m_RotateWithStretchDirection: 1
|
m_RotateWithStretchDirection: 1
|
||||||
|
m_UseCustomVertexStreams: 0
|
||||||
m_VertexStreams: 00010304
|
m_VertexStreams: 00010304
|
||||||
|
m_UseCustomTrailVertexStreams: 0
|
||||||
|
m_TrailVertexStreams: 00010304
|
||||||
m_Mesh: {fileID: 0}
|
m_Mesh: {fileID: 0}
|
||||||
m_Mesh1: {fileID: 0}
|
m_Mesh1: {fileID: 0}
|
||||||
m_Mesh2: {fileID: 0}
|
m_Mesh2: {fileID: 0}
|
||||||
|
|
@ -775205,13 +775263,15 @@ ParticleSystemRenderer:
|
||||||
m_RenderAlignment: 0
|
m_RenderAlignment: 0
|
||||||
m_Pivot: {x: 0, y: 0, z: 0}
|
m_Pivot: {x: 0, y: 0, z: 0}
|
||||||
m_Flip: {x: 0, y: 0, z: 0}
|
m_Flip: {x: 0, y: 0, z: 0}
|
||||||
m_UseCustomVertexStreams: 0
|
|
||||||
m_EnableGPUInstancing: 1
|
m_EnableGPUInstancing: 1
|
||||||
m_ApplyActiveColorSpace: 1
|
m_ApplyActiveColorSpace: 1
|
||||||
m_AllowRoll: 1
|
m_AllowRoll: 1
|
||||||
m_FreeformStretching: 0
|
m_FreeformStretching: 0
|
||||||
m_RotateWithStretchDirection: 1
|
m_RotateWithStretchDirection: 1
|
||||||
|
m_UseCustomVertexStreams: 0
|
||||||
m_VertexStreams: 00010304
|
m_VertexStreams: 00010304
|
||||||
|
m_UseCustomTrailVertexStreams: 0
|
||||||
|
m_TrailVertexStreams: 00010304
|
||||||
m_Mesh: {fileID: 0}
|
m_Mesh: {fileID: 0}
|
||||||
m_Mesh1: {fileID: 0}
|
m_Mesh1: {fileID: 0}
|
||||||
m_Mesh2: {fileID: 0}
|
m_Mesh2: {fileID: 0}
|
||||||
|
|
@ -817727,13 +817787,15 @@ ParticleSystemRenderer:
|
||||||
m_RenderAlignment: 0
|
m_RenderAlignment: 0
|
||||||
m_Pivot: {x: 0, y: 0, z: 0}
|
m_Pivot: {x: 0, y: 0, z: 0}
|
||||||
m_Flip: {x: 0, y: 0, z: 0}
|
m_Flip: {x: 0, y: 0, z: 0}
|
||||||
m_UseCustomVertexStreams: 0
|
|
||||||
m_EnableGPUInstancing: 0
|
m_EnableGPUInstancing: 0
|
||||||
m_ApplyActiveColorSpace: 1
|
m_ApplyActiveColorSpace: 1
|
||||||
m_AllowRoll: 1
|
m_AllowRoll: 1
|
||||||
m_FreeformStretching: 0
|
m_FreeformStretching: 0
|
||||||
m_RotateWithStretchDirection: 1
|
m_RotateWithStretchDirection: 1
|
||||||
|
m_UseCustomVertexStreams: 0
|
||||||
m_VertexStreams: 0001030405
|
m_VertexStreams: 0001030405
|
||||||
|
m_UseCustomTrailVertexStreams: 0
|
||||||
|
m_TrailVertexStreams: 00010304
|
||||||
m_Mesh: {fileID: 0}
|
m_Mesh: {fileID: 0}
|
||||||
m_Mesh1: {fileID: 0}
|
m_Mesh1: {fileID: 0}
|
||||||
m_Mesh2: {fileID: 0}
|
m_Mesh2: {fileID: 0}
|
||||||
|
|
@ -817799,13 +817861,15 @@ ParticleSystemRenderer:
|
||||||
m_RenderAlignment: 0
|
m_RenderAlignment: 0
|
||||||
m_Pivot: {x: 0, y: 0, z: 0}
|
m_Pivot: {x: 0, y: 0, z: 0}
|
||||||
m_Flip: {x: 0, y: 0, z: 0}
|
m_Flip: {x: 0, y: 0, z: 0}
|
||||||
m_UseCustomVertexStreams: 0
|
|
||||||
m_EnableGPUInstancing: 0
|
m_EnableGPUInstancing: 0
|
||||||
m_ApplyActiveColorSpace: 1
|
m_ApplyActiveColorSpace: 1
|
||||||
m_AllowRoll: 1
|
m_AllowRoll: 1
|
||||||
m_FreeformStretching: 0
|
m_FreeformStretching: 0
|
||||||
m_RotateWithStretchDirection: 1
|
m_RotateWithStretchDirection: 1
|
||||||
|
m_UseCustomVertexStreams: 0
|
||||||
m_VertexStreams: 0001030405
|
m_VertexStreams: 0001030405
|
||||||
|
m_UseCustomTrailVertexStreams: 0
|
||||||
|
m_TrailVertexStreams: 00010304
|
||||||
m_Mesh: {fileID: 0}
|
m_Mesh: {fileID: 0}
|
||||||
m_Mesh1: {fileID: 0}
|
m_Mesh1: {fileID: 0}
|
||||||
m_Mesh2: {fileID: 0}
|
m_Mesh2: {fileID: 0}
|
||||||
|
|
@ -838763,13 +838827,15 @@ ParticleSystemRenderer:
|
||||||
m_RenderAlignment: 2
|
m_RenderAlignment: 2
|
||||||
m_Pivot: {x: 0, y: 0, z: 0}
|
m_Pivot: {x: 0, y: 0, z: 0}
|
||||||
m_Flip: {x: 0, y: 0, z: 0}
|
m_Flip: {x: 0, y: 0, z: 0}
|
||||||
m_UseCustomVertexStreams: 0
|
|
||||||
m_EnableGPUInstancing: 1
|
m_EnableGPUInstancing: 1
|
||||||
m_ApplyActiveColorSpace: 1
|
m_ApplyActiveColorSpace: 1
|
||||||
m_AllowRoll: 1
|
m_AllowRoll: 1
|
||||||
m_FreeformStretching: 0
|
m_FreeformStretching: 0
|
||||||
m_RotateWithStretchDirection: 1
|
m_RotateWithStretchDirection: 1
|
||||||
|
m_UseCustomVertexStreams: 0
|
||||||
m_VertexStreams: 00010304
|
m_VertexStreams: 00010304
|
||||||
|
m_UseCustomTrailVertexStreams: 0
|
||||||
|
m_TrailVertexStreams: 00010304
|
||||||
m_Mesh: {fileID: 0}
|
m_Mesh: {fileID: 0}
|
||||||
m_Mesh1: {fileID: 0}
|
m_Mesh1: {fileID: 0}
|
||||||
m_Mesh2: {fileID: 0}
|
m_Mesh2: {fileID: 0}
|
||||||
|
|
@ -849074,13 +849140,15 @@ ParticleSystemRenderer:
|
||||||
m_RenderAlignment: 2
|
m_RenderAlignment: 2
|
||||||
m_Pivot: {x: 0, y: 0, z: 0}
|
m_Pivot: {x: 0, y: 0, z: 0}
|
||||||
m_Flip: {x: 0, y: 0, z: 0}
|
m_Flip: {x: 0, y: 0, z: 0}
|
||||||
m_UseCustomVertexStreams: 0
|
|
||||||
m_EnableGPUInstancing: 1
|
m_EnableGPUInstancing: 1
|
||||||
m_ApplyActiveColorSpace: 1
|
m_ApplyActiveColorSpace: 1
|
||||||
m_AllowRoll: 1
|
m_AllowRoll: 1
|
||||||
m_FreeformStretching: 0
|
m_FreeformStretching: 0
|
||||||
m_RotateWithStretchDirection: 1
|
m_RotateWithStretchDirection: 1
|
||||||
|
m_UseCustomVertexStreams: 0
|
||||||
m_VertexStreams: 00010304
|
m_VertexStreams: 00010304
|
||||||
|
m_UseCustomTrailVertexStreams: 0
|
||||||
|
m_TrailVertexStreams: 00010304
|
||||||
m_Mesh: {fileID: 0}
|
m_Mesh: {fileID: 0}
|
||||||
m_Mesh1: {fileID: 0}
|
m_Mesh1: {fileID: 0}
|
||||||
m_Mesh2: {fileID: 0}
|
m_Mesh2: {fileID: 0}
|
||||||
|
|
@ -849165,13 +849233,15 @@ ParticleSystemRenderer:
|
||||||
m_RenderAlignment: 2
|
m_RenderAlignment: 2
|
||||||
m_Pivot: {x: 0, y: 0, z: 0}
|
m_Pivot: {x: 0, y: 0, z: 0}
|
||||||
m_Flip: {x: 0, y: 0, z: 0}
|
m_Flip: {x: 0, y: 0, z: 0}
|
||||||
m_UseCustomVertexStreams: 0
|
|
||||||
m_EnableGPUInstancing: 1
|
m_EnableGPUInstancing: 1
|
||||||
m_ApplyActiveColorSpace: 1
|
m_ApplyActiveColorSpace: 1
|
||||||
m_AllowRoll: 1
|
m_AllowRoll: 1
|
||||||
m_FreeformStretching: 0
|
m_FreeformStretching: 0
|
||||||
m_RotateWithStretchDirection: 1
|
m_RotateWithStretchDirection: 1
|
||||||
|
m_UseCustomVertexStreams: 0
|
||||||
m_VertexStreams: 00010304
|
m_VertexStreams: 00010304
|
||||||
|
m_UseCustomTrailVertexStreams: 0
|
||||||
|
m_TrailVertexStreams: 00010304
|
||||||
m_Mesh: {fileID: 0}
|
m_Mesh: {fileID: 0}
|
||||||
m_Mesh1: {fileID: 0}
|
m_Mesh1: {fileID: 0}
|
||||||
m_Mesh2: {fileID: 0}
|
m_Mesh2: {fileID: 0}
|
||||||
|
|
@ -860328,13 +860398,15 @@ ParticleSystemRenderer:
|
||||||
m_RenderAlignment: 0
|
m_RenderAlignment: 0
|
||||||
m_Pivot: {x: 0, y: 0, z: 0}
|
m_Pivot: {x: 0, y: 0, z: 0}
|
||||||
m_Flip: {x: 0, y: 0, z: 0}
|
m_Flip: {x: 0, y: 0, z: 0}
|
||||||
m_UseCustomVertexStreams: 0
|
|
||||||
m_EnableGPUInstancing: 1
|
m_EnableGPUInstancing: 1
|
||||||
m_ApplyActiveColorSpace: 1
|
m_ApplyActiveColorSpace: 1
|
||||||
m_AllowRoll: 1
|
m_AllowRoll: 1
|
||||||
m_FreeformStretching: 0
|
m_FreeformStretching: 0
|
||||||
m_RotateWithStretchDirection: 1
|
m_RotateWithStretchDirection: 1
|
||||||
|
m_UseCustomVertexStreams: 0
|
||||||
m_VertexStreams: 00010304
|
m_VertexStreams: 00010304
|
||||||
|
m_UseCustomTrailVertexStreams: 0
|
||||||
|
m_TrailVertexStreams: 00010304
|
||||||
m_Mesh: {fileID: 0}
|
m_Mesh: {fileID: 0}
|
||||||
m_Mesh1: {fileID: 0}
|
m_Mesh1: {fileID: 0}
|
||||||
m_Mesh2: {fileID: 0}
|
m_Mesh2: {fileID: 0}
|
||||||
|
|
@ -862748,13 +862820,15 @@ ParticleSystemRenderer:
|
||||||
m_RenderAlignment: 2
|
m_RenderAlignment: 2
|
||||||
m_Pivot: {x: 0, y: 0, z: 0}
|
m_Pivot: {x: 0, y: 0, z: 0}
|
||||||
m_Flip: {x: 0, y: 0, z: 0}
|
m_Flip: {x: 0, y: 0, z: 0}
|
||||||
m_UseCustomVertexStreams: 0
|
|
||||||
m_EnableGPUInstancing: 1
|
m_EnableGPUInstancing: 1
|
||||||
m_ApplyActiveColorSpace: 1
|
m_ApplyActiveColorSpace: 1
|
||||||
m_AllowRoll: 1
|
m_AllowRoll: 1
|
||||||
m_FreeformStretching: 0
|
m_FreeformStretching: 0
|
||||||
m_RotateWithStretchDirection: 1
|
m_RotateWithStretchDirection: 1
|
||||||
|
m_UseCustomVertexStreams: 0
|
||||||
m_VertexStreams: 00010304
|
m_VertexStreams: 00010304
|
||||||
|
m_UseCustomTrailVertexStreams: 0
|
||||||
|
m_TrailVertexStreams: 00010304
|
||||||
m_Mesh: {fileID: 0}
|
m_Mesh: {fileID: 0}
|
||||||
m_Mesh1: {fileID: 0}
|
m_Mesh1: {fileID: 0}
|
||||||
m_Mesh2: {fileID: 0}
|
m_Mesh2: {fileID: 0}
|
||||||
|
|
@ -927554,13 +927628,15 @@ ParticleSystemRenderer:
|
||||||
m_RenderAlignment: 0
|
m_RenderAlignment: 0
|
||||||
m_Pivot: {x: 0, y: 0, z: 0}
|
m_Pivot: {x: 0, y: 0, z: 0}
|
||||||
m_Flip: {x: 0, y: 0, z: 0}
|
m_Flip: {x: 0, y: 0, z: 0}
|
||||||
m_UseCustomVertexStreams: 0
|
|
||||||
m_EnableGPUInstancing: 1
|
m_EnableGPUInstancing: 1
|
||||||
m_ApplyActiveColorSpace: 1
|
m_ApplyActiveColorSpace: 1
|
||||||
m_AllowRoll: 1
|
m_AllowRoll: 1
|
||||||
m_FreeformStretching: 0
|
m_FreeformStretching: 0
|
||||||
m_RotateWithStretchDirection: 1
|
m_RotateWithStretchDirection: 1
|
||||||
|
m_UseCustomVertexStreams: 0
|
||||||
m_VertexStreams: 00010304
|
m_VertexStreams: 00010304
|
||||||
|
m_UseCustomTrailVertexStreams: 0
|
||||||
|
m_TrailVertexStreams: 00010304
|
||||||
m_Mesh: {fileID: -7909654892493620595, guid: cd20e8790f3e4884ca3c74989aa84a83, type: 3}
|
m_Mesh: {fileID: -7909654892493620595, guid: cd20e8790f3e4884ca3c74989aa84a83, type: 3}
|
||||||
m_Mesh1: {fileID: 0}
|
m_Mesh1: {fileID: 0}
|
||||||
m_Mesh2: {fileID: 0}
|
m_Mesh2: {fileID: 0}
|
||||||
|
|
@ -931563,13 +931639,15 @@ ParticleSystemRenderer:
|
||||||
m_RenderAlignment: 0
|
m_RenderAlignment: 0
|
||||||
m_Pivot: {x: 0, y: 0.3, z: 0}
|
m_Pivot: {x: 0, y: 0.3, z: 0}
|
||||||
m_Flip: {x: 0, y: 0, z: 0}
|
m_Flip: {x: 0, y: 0, z: 0}
|
||||||
m_UseCustomVertexStreams: 0
|
|
||||||
m_EnableGPUInstancing: 1
|
m_EnableGPUInstancing: 1
|
||||||
m_ApplyActiveColorSpace: 1
|
m_ApplyActiveColorSpace: 1
|
||||||
m_AllowRoll: 1
|
m_AllowRoll: 1
|
||||||
m_FreeformStretching: 0
|
m_FreeformStretching: 0
|
||||||
m_RotateWithStretchDirection: 1
|
m_RotateWithStretchDirection: 1
|
||||||
|
m_UseCustomVertexStreams: 0
|
||||||
m_VertexStreams: 00010304
|
m_VertexStreams: 00010304
|
||||||
|
m_UseCustomTrailVertexStreams: 0
|
||||||
|
m_TrailVertexStreams: 00010304
|
||||||
m_Mesh: {fileID: 0}
|
m_Mesh: {fileID: 0}
|
||||||
m_Mesh1: {fileID: 0}
|
m_Mesh1: {fileID: 0}
|
||||||
m_Mesh2: {fileID: 0}
|
m_Mesh2: {fileID: 0}
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ public class PlayerAttack : NetworkBehaviour{
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onStatChange(){
|
public void onStatChange(){
|
||||||
damage = statManager.GetEffectiveValue("strength");
|
damage = statManager.GetEffectiveValue("strength") + 10; // Added base damage bonus of 10
|
||||||
}
|
}
|
||||||
// void Update(){
|
// void Update(){
|
||||||
// //Get player look dir
|
// //Get player look dir
|
||||||
|
|
@ -62,7 +62,7 @@ public class PlayerAttack : NetworkBehaviour{
|
||||||
if(hit.collider == null){return;}
|
if(hit.collider == null){return;}
|
||||||
|
|
||||||
if(hit.collider.transform.GetComponent<enemyScript>() != null){
|
if(hit.collider.transform.GetComponent<enemyScript>() != null){
|
||||||
int damageamount = damage + (pnet.lvl*5);
|
int damageamount = damage + (pnet.lvl*10); // damage amount
|
||||||
if(isMagical){
|
if(isMagical){
|
||||||
hit.collider.transform.GetComponent<enemyScript>().TakeMagicalDamage(damageamount, netId);
|
hit.collider.transform.GetComponent<enemyScript>().TakeMagicalDamage(damageamount, netId);
|
||||||
}else{
|
}else{
|
||||||
|
|
|
||||||
60
Assets/Script/ResistanceTest.cs
Normal file
60
Assets/Script/ResistanceTest.cs
Normal file
|
|
@ -0,0 +1,60 @@
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
public class ResistanceTest : MonoBehaviour
|
||||||
|
{
|
||||||
|
[Header("Test Settings")]
|
||||||
|
public int testLevel = 5;
|
||||||
|
public int testPhysicalDamage = 25; // Increased test damage to show more impact
|
||||||
|
public int testMagicalDamage = 30; // Increased test damage to show more impact
|
||||||
|
|
||||||
|
[Header("Results")]
|
||||||
|
[SerializeField] private string resistanceInfo;
|
||||||
|
[SerializeField] private int effectivePhysicalDamage;
|
||||||
|
[SerializeField] private int effectiveMagicalDamage;
|
||||||
|
[SerializeField] private bool shieldActive;
|
||||||
|
|
||||||
|
private enemyScript testEnemy;
|
||||||
|
|
||||||
|
void Start()
|
||||||
|
{
|
||||||
|
// Create a test enemy
|
||||||
|
GameObject enemyObj = new GameObject("TestEnemy");
|
||||||
|
testEnemy = enemyObj.AddComponent<enemyScript>();
|
||||||
|
|
||||||
|
// Set the enemy level
|
||||||
|
testEnemy.SetLevel(testLevel);
|
||||||
|
|
||||||
|
// Calculate and display results
|
||||||
|
CalculateTestResults();
|
||||||
|
}
|
||||||
|
|
||||||
|
void CalculateTestResults()
|
||||||
|
{
|
||||||
|
if (testEnemy == null) return;
|
||||||
|
|
||||||
|
resistanceInfo = testEnemy.GetResistanceInfo();
|
||||||
|
effectivePhysicalDamage = testEnemy.CalculateEffectiveDamage(testPhysicalDamage, false);
|
||||||
|
effectiveMagicalDamage = testEnemy.CalculateEffectiveDamage(testMagicalDamage, true);
|
||||||
|
shieldActive = testEnemy.IsShieldActive();
|
||||||
|
|
||||||
|
Debug.Log($"=== Resistance & Shield Test Results ===");
|
||||||
|
Debug.Log($"Enemy Level: {testLevel}");
|
||||||
|
Debug.Log($"Resistance: {resistanceInfo}");
|
||||||
|
Debug.Log($"Physical Damage: {testPhysicalDamage} -> {effectivePhysicalDamage}");
|
||||||
|
Debug.Log($"Magical Damage: {testMagicalDamage} -> {effectiveMagicalDamage}");
|
||||||
|
Debug.Log($"Shield Active: {shieldActive}");
|
||||||
|
Debug.Log($"Shield Health: {testEnemy.magicalHealth}");
|
||||||
|
Debug.Log($"Regular Health: {testEnemy.health}");
|
||||||
|
Debug.Log($"===============================");
|
||||||
|
}
|
||||||
|
|
||||||
|
[ContextMenu("Run Test")]
|
||||||
|
void RunTest()
|
||||||
|
{
|
||||||
|
if (testEnemy != null)
|
||||||
|
{
|
||||||
|
testEnemy.SetLevel(testLevel);
|
||||||
|
CalculateTestResults();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
11
Assets/Script/ResistanceTest.cs.meta
Normal file
11
Assets/Script/ResistanceTest.cs.meta
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 5a18c72b0873842d1973b5396e0901cd
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
98
Assets/Script/ResistanceUI.cs
Normal file
98
Assets/Script/ResistanceUI.cs
Normal file
|
|
@ -0,0 +1,98 @@
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
using TMPro;
|
||||||
|
|
||||||
|
public class ResistanceUI : MonoBehaviour
|
||||||
|
{
|
||||||
|
[Header("UI References")]
|
||||||
|
public TextMeshProUGUI resistanceText;
|
||||||
|
public Slider physicalResistanceSlider;
|
||||||
|
public Slider magicalResistanceSlider;
|
||||||
|
public TextMeshProUGUI shieldStatusText;
|
||||||
|
public Image shieldStatusIcon;
|
||||||
|
|
||||||
|
[Header("Target Enemy")]
|
||||||
|
public enemyScript targetEnemy;
|
||||||
|
|
||||||
|
void Start()
|
||||||
|
{
|
||||||
|
// Initialize sliders
|
||||||
|
if (physicalResistanceSlider != null)
|
||||||
|
{
|
||||||
|
physicalResistanceSlider.minValue = 0;
|
||||||
|
physicalResistanceSlider.maxValue = 100;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (magicalResistanceSlider != null)
|
||||||
|
{
|
||||||
|
magicalResistanceSlider.minValue = 0;
|
||||||
|
magicalResistanceSlider.maxValue = 100;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void Update()
|
||||||
|
{
|
||||||
|
if (targetEnemy != null)
|
||||||
|
{
|
||||||
|
UpdateResistanceDisplay();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateResistanceDisplay()
|
||||||
|
{
|
||||||
|
// Update text
|
||||||
|
if (resistanceText != null)
|
||||||
|
{
|
||||||
|
resistanceText.text = $"Resistance: {targetEnemy.GetResistanceInfo()}";
|
||||||
|
}
|
||||||
|
|
||||||
|
// Update sliders
|
||||||
|
if (physicalResistanceSlider != null)
|
||||||
|
{
|
||||||
|
physicalResistanceSlider.value = targetEnemy.physicalResistance;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (magicalResistanceSlider != null)
|
||||||
|
{
|
||||||
|
magicalResistanceSlider.value = targetEnemy.magicalResistance;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Update shield status
|
||||||
|
if (shieldStatusText != null)
|
||||||
|
{
|
||||||
|
string shieldStatus = targetEnemy.IsShieldActive() ? "Shield Active" : "Shield Broken";
|
||||||
|
shieldStatusText.text = shieldStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (shieldStatusIcon != null)
|
||||||
|
{
|
||||||
|
Color shieldColor = targetEnemy.IsShieldActive() ? Color.cyan : Color.gray;
|
||||||
|
shieldStatusIcon.color = shieldColor;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void SetTargetEnemy(enemyScript enemy)
|
||||||
|
{
|
||||||
|
targetEnemy = enemy;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void ClearTarget()
|
||||||
|
{
|
||||||
|
targetEnemy = null;
|
||||||
|
|
||||||
|
if (resistanceText != null)
|
||||||
|
resistanceText.text = "No Target";
|
||||||
|
|
||||||
|
if (physicalResistanceSlider != null)
|
||||||
|
physicalResistanceSlider.value = 0;
|
||||||
|
|
||||||
|
if (magicalResistanceSlider != null)
|
||||||
|
magicalResistanceSlider.value = 0;
|
||||||
|
|
||||||
|
if (shieldStatusText != null)
|
||||||
|
shieldStatusText.text = "No Target";
|
||||||
|
|
||||||
|
if (shieldStatusIcon != null)
|
||||||
|
shieldStatusIcon.color = Color.gray;
|
||||||
|
}
|
||||||
|
}
|
||||||
11
Assets/Script/ResistanceUI.cs.meta
Normal file
11
Assets/Script/ResistanceUI.cs.meta
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 6085d8ce013d8431c97ce8c9a356f781
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
66
Assets/Script/XPTest.cs
Normal file
66
Assets/Script/XPTest.cs
Normal file
|
|
@ -0,0 +1,66 @@
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
public class XPTest : MonoBehaviour
|
||||||
|
{
|
||||||
|
[Header("Test Settings")]
|
||||||
|
public int testPlayerLevel = 1;
|
||||||
|
public int maxEnemyLevel = 50;
|
||||||
|
|
||||||
|
[Header("Results")]
|
||||||
|
[SerializeField] private string xpComparison;
|
||||||
|
|
||||||
|
void Start()
|
||||||
|
{
|
||||||
|
TestXPComparison();
|
||||||
|
}
|
||||||
|
|
||||||
|
void TestXPComparison()
|
||||||
|
{
|
||||||
|
string comparison = "=== XP Comparison (Old vs New System) ===\n";
|
||||||
|
comparison += $"Player Level: {testPlayerLevel}\n\n";
|
||||||
|
comparison += "Enemy Level | Old XP | New XP | Difference\n";
|
||||||
|
comparison += "-----------|--------|--------|------------\n";
|
||||||
|
|
||||||
|
for (int enemyLevel = 1; enemyLevel <= maxEnemyLevel; enemyLevel += 5)
|
||||||
|
{
|
||||||
|
int oldXP = enemyScript.CalculateLegacyXP(enemyLevel);
|
||||||
|
int newXP = enemyScript.CalculateExponentialXP(enemyLevel, testPlayerLevel);
|
||||||
|
int difference = newXP - oldXP;
|
||||||
|
|
||||||
|
comparison += $"{enemyLevel,10} | {oldXP,6} | {newXP,6} | {difference:+0;-0}\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
comparison += "\n=== Key Examples ===\n";
|
||||||
|
comparison += $"Level 10 Enemy: {enemyScript.CalculateExponentialXP(10, testPlayerLevel)} XP\n";
|
||||||
|
comparison += $"Level 20 Enemy: {enemyScript.CalculateExponentialXP(20, testPlayerLevel)} XP\n";
|
||||||
|
comparison += $"Level 30 Enemy: {enemyScript.CalculateExponentialXP(30, testPlayerLevel)} XP\n";
|
||||||
|
comparison += $"Level 40 Enemy: {enemyScript.CalculateExponentialXP(40, testPlayerLevel)} XP\n";
|
||||||
|
comparison += $"Level 50 Enemy: {enemyScript.CalculateExponentialXP(50, testPlayerLevel)} XP\n";
|
||||||
|
comparison += $"Level 60 Enemy: {enemyScript.CalculateExponentialXP(60, testPlayerLevel)} XP (Capped)\n";
|
||||||
|
|
||||||
|
xpComparison = comparison;
|
||||||
|
Debug.Log(comparison);
|
||||||
|
}
|
||||||
|
|
||||||
|
[ContextMenu("Run XP Test")]
|
||||||
|
void RunXPTest()
|
||||||
|
{
|
||||||
|
TestXPComparison();
|
||||||
|
}
|
||||||
|
|
||||||
|
[ContextMenu("Test Risk Reward")]
|
||||||
|
void TestRiskReward()
|
||||||
|
{
|
||||||
|
Debug.Log("=== Risk Reward Testing ===");
|
||||||
|
int enemyLevel = 40;
|
||||||
|
|
||||||
|
for (int playerLevel = 1; playerLevel <= 50; playerLevel += 10)
|
||||||
|
{
|
||||||
|
int xp = enemyScript.CalculateExponentialXP(enemyLevel, playerLevel);
|
||||||
|
int levelDiff = enemyLevel - playerLevel;
|
||||||
|
string risk = levelDiff > 0 ? $"Risk (+{levelDiff} levels)" : "Safe";
|
||||||
|
|
||||||
|
Debug.Log($"Player Level {playerLevel} vs Enemy Level {enemyLevel}: {xp} XP ({risk})");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
11
Assets/Script/XPTest.cs.meta
Normal file
11
Assets/Script/XPTest.cs.meta
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 4765b4891053f4000aa0ae81c8429bd0
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -1,37 +1,199 @@
|
||||||
using System.Collections;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using Unity.VisualScripting;
|
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
using DG.Tweening;
|
||||||
|
|
||||||
public class cameraRPG : MonoBehaviour
|
public class cameraRPG : MonoBehaviour
|
||||||
{
|
{
|
||||||
|
[Header("Core Settings")]
|
||||||
public static cameraRPG instance;
|
public static cameraRPG instance;
|
||||||
|
public Transform focus;
|
||||||
|
public Vector3 offset = new Vector3(0, 0, -10);
|
||||||
|
|
||||||
public Transform focus;
|
[Header("Movement")]
|
||||||
public float smoothTime = 2;
|
public float followSpeed = 2f;
|
||||||
|
public bool useSmoothing = true;
|
||||||
|
|
||||||
public Vector3 offset;
|
[Header("Deadzone (Optional)")]
|
||||||
|
public bool useDeadzone = false;
|
||||||
|
public Vector2 deadzoneSize = new Vector2(2f, 1f);
|
||||||
|
|
||||||
void Awake()
|
|
||||||
|
|
||||||
|
[Header("Look Ahead")]
|
||||||
|
public bool useLookAhead = false;
|
||||||
|
public float lookAheadDistance = 2f;
|
||||||
|
public float lookAheadSpeed = 1f;
|
||||||
|
|
||||||
|
[Header("Shake")]
|
||||||
|
public float shakeDuration = 0.5f;
|
||||||
|
public float shakeStrength = 1f;
|
||||||
|
|
||||||
|
// Private variables
|
||||||
|
private Vector3 targetPosition;
|
||||||
|
private Vector3 lookAheadOffset;
|
||||||
|
private bool isPaused = false;
|
||||||
|
private Tween currentMoveTween;
|
||||||
|
private Camera cam;
|
||||||
|
|
||||||
|
void Awake()
|
||||||
|
{
|
||||||
|
if (instance == null)
|
||||||
{
|
{
|
||||||
instance = this;
|
instance = this;
|
||||||
|
|
||||||
}
|
}
|
||||||
public void SetTarget(Transform target){
|
else
|
||||||
focus = target;
|
|
||||||
//offset = focus.position - transform.position;
|
|
||||||
}
|
|
||||||
public bool isPaused =false;
|
|
||||||
void Update()
|
|
||||||
{
|
{
|
||||||
if(focus == null){return;}
|
Destroy(gameObject);
|
||||||
if(isPaused){return;}
|
return;
|
||||||
transform.position = Vector3.Lerp(transform.position, focus.position - offset, Time.deltaTime * smoothTime);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Teleport(Vector3 newLocation){
|
cam = GetComponent<Camera>();
|
||||||
transform.position = newLocation - offset;
|
}
|
||||||
|
|
||||||
|
void Start()
|
||||||
|
{
|
||||||
|
if (focus != null)
|
||||||
|
{
|
||||||
|
transform.position = focus.position + offset;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void SetTarget(Transform target)
|
||||||
|
{
|
||||||
|
focus = target;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void SetPaused(bool paused)
|
||||||
|
{
|
||||||
|
isPaused = paused;
|
||||||
|
}
|
||||||
|
|
||||||
|
void LateUpdate()
|
||||||
|
{
|
||||||
|
if (focus == null || isPaused) return;
|
||||||
|
|
||||||
|
CalculateTargetPosition();
|
||||||
|
MoveCamera();
|
||||||
|
}
|
||||||
|
|
||||||
|
void CalculateTargetPosition()
|
||||||
|
{
|
||||||
|
targetPosition = focus.position + offset;
|
||||||
|
|
||||||
|
// Look ahead based on movement
|
||||||
|
if (useLookAhead)
|
||||||
|
{
|
||||||
|
Vector3 targetLookAhead = Vector3.zero;
|
||||||
|
|
||||||
|
// You might want to get velocity from your player controller instead
|
||||||
|
Rigidbody2D focusRb = focus.GetComponent<Rigidbody2D>();
|
||||||
|
if (focusRb != null)
|
||||||
|
{
|
||||||
|
Vector3 velocity = focusRb.velocity;
|
||||||
|
targetLookAhead = velocity.normalized * lookAheadDistance;
|
||||||
|
}
|
||||||
|
|
||||||
|
lookAheadOffset = Vector3.Lerp(lookAheadOffset, targetLookAhead, Time.deltaTime * lookAheadSpeed);
|
||||||
|
targetPosition += lookAheadOffset;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Apply deadzone
|
||||||
|
if (useDeadzone)
|
||||||
|
{
|
||||||
|
Vector3 currentPos = transform.position;
|
||||||
|
Vector3 difference = targetPosition - currentPos;
|
||||||
|
|
||||||
|
// Only move if outside deadzone
|
||||||
|
if (Mathf.Abs(difference.x) > deadzoneSize.x / 2f)
|
||||||
|
{
|
||||||
|
targetPosition.x = currentPos.x + (difference.x - Mathf.Sign(difference.x) * deadzoneSize.x / 2f);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
targetPosition.x = currentPos.x;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (Mathf.Abs(difference.y) > deadzoneSize.y / 2f)
|
||||||
|
{
|
||||||
|
targetPosition.y = currentPos.y + (difference.y - Mathf.Sign(difference.y) * deadzoneSize.y / 2f);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
targetPosition.y = currentPos.y;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void MoveCamera()
|
||||||
|
{
|
||||||
|
if (useSmoothing)
|
||||||
|
{
|
||||||
|
transform.position = Vector3.Lerp(transform.position, targetPosition, Time.deltaTime * followSpeed);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
transform.position = targetPosition;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// DOTween enhanced methods
|
||||||
|
public void TeleportTo(Vector3 newPosition)
|
||||||
|
{
|
||||||
|
currentMoveTween?.Kill();
|
||||||
|
transform.position = newPosition + offset;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void SmoothTeleportTo(Vector3 newPosition, float duration = 1f, Ease easeType = Ease.OutCubic)
|
||||||
|
{
|
||||||
|
currentMoveTween?.Kill();
|
||||||
|
Vector3 targetPos = newPosition + offset;
|
||||||
|
|
||||||
|
|
||||||
|
currentMoveTween = transform.DOMove(targetPos, duration).SetEase(easeType);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Shake(float duration = -1, float strength = -1)
|
||||||
|
{
|
||||||
|
if (duration < 0) duration = shakeDuration;
|
||||||
|
if (strength < 0) strength = shakeStrength;
|
||||||
|
|
||||||
|
transform.DOShakePosition(duration, strength);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void ZoomTo(float targetSize, float duration = 1f, Ease easeType = Ease.OutCubic)
|
||||||
|
{
|
||||||
|
if (cam != null)
|
||||||
|
{
|
||||||
|
cam.DOOrthoSize(targetSize, duration).SetEase(easeType);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void PunchScale(float strength = 0.1f, float duration = 0.3f)
|
||||||
|
{
|
||||||
|
transform.DOPunchScale(Vector3.one * strength, duration);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Utility methods
|
||||||
|
public Vector3 GetTargetPosition()
|
||||||
|
{
|
||||||
|
return targetPosition;
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool IsMoving()
|
||||||
|
{
|
||||||
|
return Vector3.Distance(transform.position, targetPosition) > 0.01f;
|
||||||
|
}
|
||||||
|
|
||||||
|
void OnDrawGizmosSelected()
|
||||||
|
{
|
||||||
|
// Draw deadzone
|
||||||
|
if (useDeadzone)
|
||||||
|
{
|
||||||
|
Gizmos.color = Color.yellow;
|
||||||
|
Gizmos.DrawWireCube(transform.position, new Vector3(deadzoneSize.x, deadzoneSize.y, 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -3,115 +3,126 @@ using UnityEngine;
|
||||||
using Spine.Unity;
|
using Spine.Unity;
|
||||||
using Spine.Unity.Examples;
|
using Spine.Unity.Examples;
|
||||||
using Mirror;
|
using Mirror;
|
||||||
|
using DG.Tweening;
|
||||||
|
|
||||||
|
|
||||||
public class enemyScript : NetworkBehaviour
|
public class enemyScript : NetworkBehaviour
|
||||||
{
|
{
|
||||||
|
// Health and Damage Constants
|
||||||
public const int HEALTH_INC = 2;
|
public const int HEALTH_INC = 2;
|
||||||
public const float DAMAGE_INC = 1.2f;
|
public const float DAMAGE_INC = 1.2f;
|
||||||
public const float XP_GAIN = 1.5f;
|
|
||||||
public const int XP_GAIN_Base = 5;
|
// XP System Constants
|
||||||
|
public const float XP_GAIN = 1.5f; // Legacy
|
||||||
|
public const int XP_GAIN_Base = 5; // Legacy
|
||||||
|
public const float XP_EXPONENTIAL_BASE = 1.3f;
|
||||||
|
public const float XP_LEVEL_MULTIPLIER = 8f;
|
||||||
|
public const float XP_PLAYER_LEVEL_BONUS = 0.05f;
|
||||||
|
|
||||||
|
// Resistance and Shield Constants
|
||||||
|
public const int RESISTANCE_INC = 1;
|
||||||
|
public const int MAX_RESISTANCE = 15;
|
||||||
|
public const float SHIELD_DAMAGE_DIVIDER = 2f;
|
||||||
|
|
||||||
|
[Header("Health & Shield System")]
|
||||||
[SyncVar(hook = nameof(OnHealthChange))]
|
[SyncVar(hook = nameof(OnHealthChange))]
|
||||||
public int health;
|
public int health;
|
||||||
[SyncVar(hook = nameof(OnMagicalHealthChange))]
|
[SyncVar(hook = nameof(OnMagicalHealthChange))]
|
||||||
public int magicalHealth;
|
public int magicalHealth;
|
||||||
|
|
||||||
// NEW: Shield break boolean
|
|
||||||
[SyncVar]
|
[SyncVar]
|
||||||
public bool shieldBreak = false;
|
public int physicalResistance;
|
||||||
|
[SyncVar]
|
||||||
|
public int magicalResistance;
|
||||||
|
[SyncVar]
|
||||||
|
public bool shieldActive = true;
|
||||||
|
|
||||||
|
[Header("UI Components")]
|
||||||
public SpriteHealthBar healthBar;
|
public SpriteHealthBar healthBar;
|
||||||
public SpriteHealthBar MagicalhealthBar;
|
public SpriteHealthBar MagicalhealthBar;
|
||||||
|
public Transform uiEnemy;
|
||||||
|
public TextMesh enemyName;
|
||||||
|
public TextMesh enemyLevel;
|
||||||
|
|
||||||
|
[Header("Movement & Combat")]
|
||||||
public float speed;
|
public float speed;
|
||||||
public float chaseRadius;
|
public float chaseRadius;
|
||||||
public float attackRadius;
|
public float attackRadius;
|
||||||
public bool rotate;
|
public bool rotate;
|
||||||
//public LayerMask layerMask;
|
public int enemyAttackDamage = 10;
|
||||||
|
public float damageTimingPercent = 0.6f;
|
||||||
|
|
||||||
|
[Header("Targeting & State")]
|
||||||
public playerNetwork target;
|
public playerNetwork target;
|
||||||
|
public bool isInChaseRange;
|
||||||
|
public bool isInAttackRange;
|
||||||
|
|
||||||
|
[Header("Components")]
|
||||||
private Rigidbody2D rb2;
|
private Rigidbody2D rb2;
|
||||||
public SkeletonAnimation animator;
|
public SkeletonAnimation animator;
|
||||||
private Vector2 movement;
|
private Vector2 movement;
|
||||||
public Vector3 dir;
|
public Vector3 dir;
|
||||||
|
|
||||||
public TextMesh enemyName;
|
|
||||||
public TextMesh enemyLevel;
|
|
||||||
|
|
||||||
public bool isInChaseRange;
|
|
||||||
public bool isInAttackRange;
|
|
||||||
public Transform uiEnemy;
|
|
||||||
|
|
||||||
public int enemyAttackDamage = 10;
|
|
||||||
|
|
||||||
MeshRenderer meshRenderer;
|
MeshRenderer meshRenderer;
|
||||||
public GameObject hitVfx;
|
[SyncVar]
|
||||||
void Awake()
|
public bool hasDealtDamage = false;
|
||||||
{
|
|
||||||
|
void Awake(){
|
||||||
meshRenderer = GetComponent<MeshRenderer>();
|
meshRenderer = GetComponent<MeshRenderer>();
|
||||||
scanCooldown = Random.Range(0.5f, 1.5f);
|
scanCooldown = Random.Range(0.5f, 1.5f);
|
||||||
}
|
}
|
||||||
private void Start()
|
private void Start(){
|
||||||
{
|
|
||||||
rb2 = GetComponent<Rigidbody2D>();
|
rb2 = GetComponent<Rigidbody2D>();
|
||||||
//target = GameObject.FindWithTag("Player").transform;
|
|
||||||
UpdateAnimation(directionString, animationString);
|
UpdateAnimation(directionString, animationString);
|
||||||
defaultPos = transform.position;
|
defaultPos = transform.position;
|
||||||
|
|
||||||
}
|
}
|
||||||
[SyncVar(hook = nameof(OnLevelChanged))]
|
[SyncVar(hook =nameof(OnLevelChanged))]
|
||||||
public int level;
|
public int level;
|
||||||
void OnLevelChanged(int oldVal, int newVal)
|
void OnLevelChanged(int oldVal, int newVal){
|
||||||
{
|
if(isServer){return;}
|
||||||
if (isServer) { return; }
|
|
||||||
|
|
||||||
SetLevel(newVal);
|
SetLevel(newVal);
|
||||||
}
|
}
|
||||||
public void SetLevel(int _level)
|
public void SetLevel(int _level){
|
||||||
{
|
|
||||||
|
|
||||||
if (enemyLevel != null)
|
if(enemyLevel != null){
|
||||||
{
|
|
||||||
enemyLevel.text = _level.ToString();
|
enemyLevel.text = _level.ToString();
|
||||||
}
|
}
|
||||||
|
|
||||||
level = _level;
|
level = _level;
|
||||||
int healthIncrement = level * HEALTH_INC;
|
int healthIncrement =level * HEALTH_INC;
|
||||||
maxHealth = 100 + healthIncrement;
|
maxHealth = 100 + healthIncrement;
|
||||||
|
|
||||||
health = (int)maxHealth;
|
health = (int)maxHealth;
|
||||||
magicalHealth = (int)maxHealth;
|
magicalHealth = (int)maxHealth;
|
||||||
enemyAttackDamage += (int)(level * DAMAGE_INC);
|
enemyAttackDamage += (int)(level * DAMAGE_INC);
|
||||||
|
|
||||||
// MODIFIED: Reset shield break when level is set
|
int resistanceIncrement = level * RESISTANCE_INC;
|
||||||
shieldBreak = false;
|
physicalResistance = Mathf.Min(resistanceIncrement, MAX_RESISTANCE);
|
||||||
|
magicalResistance = Mathf.Min(resistanceIncrement, MAX_RESISTANCE);
|
||||||
// Debug.Log($"{health}/{maxHealth}");
|
|
||||||
|
|
||||||
|
shieldActive = true;
|
||||||
}
|
}
|
||||||
public Vector3 defScale;
|
public Vector3 defScale;
|
||||||
Vector3 defaultPos;
|
Vector3 defaultPos;
|
||||||
|
|
||||||
float playerDistCheckTimer = 0f;
|
|
||||||
void LateUpdate()
|
float playerDistCheckTimer=0f;
|
||||||
{
|
void LateUpdate(){
|
||||||
LOD();
|
LOD();
|
||||||
}
|
}
|
||||||
public const float disappearDistFromPlayer = 15f;
|
public const float disappearDistFromPlayer = 15f;
|
||||||
void LOD()
|
void LOD(){
|
||||||
{
|
if(playerDistCheckTimer > 0){playerDistCheckTimer -= Time.deltaTime;return;}
|
||||||
if (playerDistCheckTimer > 0) { playerDistCheckTimer -= Time.deltaTime; return; }
|
|
||||||
|
|
||||||
playerDistCheckTimer = Random.Range(1.5f, 2.5f);
|
playerDistCheckTimer = Random.Range(1.5f,2.5f);
|
||||||
if (playerNetwork.localPlayerTransform == null) { return; }
|
if(playerNetwork.localPlayerTransform == null){return;}
|
||||||
float distToPlayer = Vector3.Distance(playerNetwork.localPlayerTransform.position, transform.position);
|
float distToPlayer = Vector3.Distance(playerNetwork.localPlayerTransform.position, transform.position);
|
||||||
meshRenderer.enabled = distToPlayer < disappearDistFromPlayer;
|
meshRenderer.enabled = distToPlayer < disappearDistFromPlayer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#if UNITY_SERVER || UNITY_EDITOR
|
#if UNITY_SERVER || UNITY_EDITOR
|
||||||
[Server]
|
[Server]
|
||||||
private void Update()
|
private void Update(){
|
||||||
{
|
|
||||||
|
|
||||||
// animator.skeleton.SetSkin
|
// animator.skeleton.SetSkin
|
||||||
// set animation state to running if in chase Range
|
// set animation state to running if in chase Range
|
||||||
|
|
@ -119,64 +130,52 @@ public class enemyScript : NetworkBehaviour
|
||||||
|
|
||||||
// isInChaseRange = Physics2D.OverlapCircle(transform.position, chaseRadius , layerMask);
|
// isInChaseRange = Physics2D.OverlapCircle(transform.position, chaseRadius , layerMask);
|
||||||
// isInAttackRange = Physics2D.OverlapCircle(transform.position, attackRadius, layerMask);
|
// isInAttackRange = Physics2D.OverlapCircle(transform.position, attackRadius, layerMask);
|
||||||
|
if (health <= 0 ){
|
||||||
// MODIFIED: Check both health and magicalHealth for death condition
|
|
||||||
if (health <= 0 || (shieldBreak && magicalHealth <= 0))
|
|
||||||
{
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if(target != null){
|
||||||
if (target != null)
|
|
||||||
{
|
|
||||||
isInChaseRange = Vector3.Distance(transform.position, target.transform.position) < chaseRadius;
|
isInChaseRange = Vector3.Distance(transform.position, target.transform.position) < chaseRadius;
|
||||||
isInAttackRange = Vector3.Distance(transform.position, target.transform.position) < attackRadius;
|
isInAttackRange = Vector3.Distance(transform.position, target.transform.position) < attackRadius;
|
||||||
}
|
}else{
|
||||||
else
|
|
||||||
{
|
|
||||||
isInChaseRange = false;
|
isInChaseRange = false;
|
||||||
isInAttackRange = false;
|
isInAttackRange = false;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ScanPlayers();
|
ScanPlayers();
|
||||||
if (target != null)
|
if(target !=null){
|
||||||
{
|
|
||||||
enemyFollow();
|
enemyFollow();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
float scanTimer = 0;
|
[Header("Scanning & LOD")]
|
||||||
|
float scanTimer =0;
|
||||||
float scanCooldown;
|
float scanCooldown;
|
||||||
public void ScanPlayers()
|
public void ScanPlayers(){
|
||||||
{
|
|
||||||
|
|
||||||
if (scanTimer > 0) { scanTimer -= Time.deltaTime; return; }
|
if(scanTimer >0){scanTimer-=Time.deltaTime; return;}
|
||||||
|
|
||||||
scanTimer = scanCooldown;
|
scanTimer = scanCooldown;
|
||||||
playerNetwork[] playersinNetwork = FindObjectsOfType<playerNetwork>();
|
playerNetwork[] playersinNetwork = FindObjectsOfType<playerNetwork>();
|
||||||
float closestDist = float.MaxValue;
|
float closestDist = float.MaxValue;
|
||||||
playerNetwork closestPlayer = null;
|
playerNetwork closestPlayer = null;
|
||||||
|
|
||||||
foreach (playerNetwork player in playersinNetwork)
|
foreach(playerNetwork player in playersinNetwork ){
|
||||||
{
|
if(player.health <= 0 ){continue;}
|
||||||
if (player.health <= 0) { continue; }
|
|
||||||
float dist = Vector3.Distance(transform.position, player.transform.position);
|
float dist = Vector3.Distance(transform.position, player.transform.position);
|
||||||
if (dist < closestDist)
|
if(dist < closestDist){
|
||||||
{
|
|
||||||
closestPlayer = player;
|
closestPlayer = player;
|
||||||
closestDist = dist;
|
closestDist = dist;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (closestDist < chaseRadius)
|
if(closestDist < chaseRadius){
|
||||||
{
|
target = closestPlayer ;
|
||||||
target = closestPlayer;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else {
|
||||||
{
|
|
||||||
target = null;
|
target = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -188,130 +187,119 @@ public class enemyScript : NetworkBehaviour
|
||||||
// void RpcUpdateAnim(string animDir , string animName, bool isLoop){
|
// void RpcUpdateAnim(string animDir , string animName, bool isLoop){
|
||||||
// UpdateAnimation(animDir , animName, isLoop);
|
// UpdateAnimation(animDir , animName, isLoop);
|
||||||
// }
|
// }
|
||||||
[SyncVar(hook = nameof(OnFlipped))]
|
[SyncVar(hook =nameof(OnFlipped))]
|
||||||
bool isFlipped = false;
|
bool isFlipped= false;
|
||||||
|
|
||||||
void OnFlipped(bool oldVal, bool newVal)
|
void OnFlipped(bool oldVal, bool newVal){
|
||||||
{
|
if(isServer){return;}
|
||||||
if (isServer) { return; }
|
transform.localScale = new Vector3(defScale.x * (newVal ? -1 : 1),defScale.y,defScale.z);
|
||||||
transform.localScale = new Vector3(defScale.x * (newVal ? -1 : 1), defScale.y, defScale.z);
|
|
||||||
HandleFlip();
|
HandleFlip();
|
||||||
}
|
}
|
||||||
|
|
||||||
void HandleFlip()
|
void HandleFlip(){
|
||||||
{
|
if(uiEnemy == null){
|
||||||
if (uiEnemy == null)
|
return;
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
if (transform.localScale.x < 0)
|
if(transform.localScale.x < 0 ){
|
||||||
{
|
uiEnemy.localScale = new Vector3(-1,1,1);
|
||||||
uiEnemy.localScale = new Vector3(-1, 1, 1);
|
|
||||||
}
|
}
|
||||||
else
|
else{
|
||||||
{
|
uiEnemy.localScale = new Vector3(1,1,1);
|
||||||
uiEnemy.localScale = new Vector3(1, 1, 1);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void enemyFollow()
|
private void enemyFollow(){
|
||||||
{
|
|
||||||
|
|
||||||
if (Mathf.Abs(dir.y) > Mathf.Abs(dir.x))
|
if(Mathf.Abs(dir.y) > Mathf.Abs(dir.x)){
|
||||||
{
|
if(dir.y < 0){
|
||||||
if (dir.y < 0)
|
|
||||||
{
|
|
||||||
directionString = "Back";
|
directionString = "Back";
|
||||||
}
|
}else{
|
||||||
else
|
|
||||||
{
|
|
||||||
directionString = "Front";
|
directionString = "Front";
|
||||||
}
|
}
|
||||||
}
|
}else{
|
||||||
else
|
|
||||||
{
|
|
||||||
directionString = "Side";
|
directionString = "Side";
|
||||||
|
|
||||||
if (dir.x < 0)
|
if(dir.x < 0){
|
||||||
{
|
transform.localScale = new Vector3(defScale.x,defScale.y,0);
|
||||||
transform.localScale = new Vector3(defScale.x, defScale.y, 0);
|
isFlipped=false;
|
||||||
isFlipped = false;
|
}else{
|
||||||
}
|
transform.localScale = new Vector3(-defScale.x,defScale.y,0);
|
||||||
else
|
|
||||||
{
|
|
||||||
transform.localScale = new Vector3(-defScale.x, defScale.y, 0);
|
|
||||||
isFlipped = true;
|
isFlipped = true;
|
||||||
}
|
}
|
||||||
HandleFlip();
|
HandleFlip();
|
||||||
}
|
}
|
||||||
if (animationHistory != directionString + animationString)
|
if(animationHistory != directionString + animationString){
|
||||||
{
|
|
||||||
UpdateAnimation(directionString, animationString);
|
UpdateAnimation(directionString, animationString);
|
||||||
// RpcUpdateAnim(directionString, animationString,true);
|
// RpcUpdateAnim(directionString, animationString,true);
|
||||||
}
|
}
|
||||||
animationHistory = directionString + animationString;
|
animationHistory=directionString + animationString;
|
||||||
|
|
||||||
if (target != null)
|
if(target != null){
|
||||||
{
|
|
||||||
dir = transform.position - target.transform.position;
|
dir = transform.position - target.transform.position;
|
||||||
}
|
}
|
||||||
|
|
||||||
float angle = Mathf.Atan2(dir.y, dir.x) * Mathf.Rad2Deg;
|
float angle = Mathf.Atan2(dir.y , dir.x ) * Mathf.Rad2Deg;
|
||||||
dir.Normalize();
|
dir.Normalize();
|
||||||
|
|
||||||
movement = dir;
|
movement = dir;
|
||||||
|
|
||||||
if (rotate)
|
if(rotate){
|
||||||
{
|
|
||||||
//set anim direction x, y dir
|
//set anim direction x, y dir
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
string animationHistory = "";
|
|
||||||
[SyncVar(hook = nameof(OnAnimationDirectionChanged))]
|
[Header("Animation System")]
|
||||||
|
string animationHistory ="";
|
||||||
|
[SyncVar(hook =nameof(OnAnimationDirectionChanged))]
|
||||||
public string directionString = "Side";
|
public string directionString = "Side";
|
||||||
[SyncVar(hook = nameof(OnAnimationNameChanged))]
|
[SyncVar(hook =nameof(OnAnimationNameChanged))]
|
||||||
public string animationString = "Idle";
|
public string animationString = "Idle";
|
||||||
|
|
||||||
void OnAnimationDirectionChanged(string oldVal, string newVal)
|
void OnAnimationDirectionChanged(string oldVal, string newVal){
|
||||||
{
|
|
||||||
UpdateAnimation(newVal, animationString);
|
UpdateAnimation(newVal, animationString);
|
||||||
}
|
}
|
||||||
|
|
||||||
void OnAnimationNameChanged(string oldVal, string newVal)
|
void OnAnimationNameChanged(string oldVal, string newVal){
|
||||||
{
|
|
||||||
UpdateAnimation(directionString, newVal);
|
UpdateAnimation(directionString, newVal);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Header("Attack Timing")]
|
||||||
float attackTimer = 0f;
|
float attackTimer = 0f;
|
||||||
float attackDuration = 1.4f;
|
float attackDuration = 1.4f;
|
||||||
|
|
||||||
[SyncVar]
|
[SyncVar]
|
||||||
public float maxHealth;
|
public float maxHealth;
|
||||||
|
|
||||||
#if UNITY_SERVER || UNITY_EDITOR
|
#if UNITY_SERVER || UNITY_EDITOR
|
||||||
[Server]
|
[Server]
|
||||||
private void FixedUpdate()
|
private void FixedUpdate() {
|
||||||
|
|
||||||
|
if (health <= 0)
|
||||||
{
|
{
|
||||||
// MODIFIED: Updated death condition
|
return;
|
||||||
if (health <= 0 || (shieldBreak && magicalHealth <= 0))
|
}
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
healthBar.SetHealth(health, maxHealth);
|
healthBar.SetHealth(health, maxHealth);
|
||||||
MagicalhealthBar.SetHealth(magicalHealth, maxHealth);
|
MagicalhealthBar.SetHealth(magicalHealth, maxHealth);
|
||||||
|
|
||||||
if (isInChaseRange && !isInAttackRange)
|
if (isInChaseRange && !isInAttackRange)
|
||||||
|
{
|
||||||
|
MoveEnemy(movement);
|
||||||
|
//Set animation to moving
|
||||||
|
animationString = "Walk";
|
||||||
|
// Reset attack state when not in attack range
|
||||||
|
hasDealtDamage = false;
|
||||||
|
attackTimer = 0;
|
||||||
|
}
|
||||||
|
else if (isInAttackRange)
|
||||||
|
{
|
||||||
|
rb2.velocity = Vector2.zero;
|
||||||
|
|
||||||
|
// MODIFIED: Only attack if enemy has stopped moving (velocity near zero)
|
||||||
|
if (rb2.velocity.magnitude < 0.1f)
|
||||||
{
|
{
|
||||||
MoveEnemy(movement);
|
|
||||||
//Set animation to moving
|
|
||||||
animationString = "Walk";
|
|
||||||
}
|
|
||||||
if (isInAttackRange)
|
|
||||||
{
|
|
||||||
rb2.velocity = Vector2.zero;
|
|
||||||
//Set animation to attack
|
//Set animation to attack
|
||||||
animationString = "Attack";
|
animationString = "Attack";
|
||||||
|
|
||||||
|
|
@ -319,58 +307,58 @@ public class enemyScript : NetworkBehaviour
|
||||||
{
|
{
|
||||||
attackTimer += Time.deltaTime;
|
attackTimer += Time.deltaTime;
|
||||||
|
|
||||||
|
// MODIFIED: Deal damage at specific timing in animation
|
||||||
|
float attackProgress = attackTimer / attackDuration;
|
||||||
|
if (!hasDealtDamage && attackProgress >= damageTimingPercent)
|
||||||
|
{
|
||||||
|
hasDealtDamage = true;
|
||||||
|
Attack();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
// MODIFIED: Reset for next attack cycle
|
||||||
attackTimer = 0;
|
attackTimer = 0;
|
||||||
Attack();
|
hasDealtDamage = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
//TODO: ATTACK HERE
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!isInAttackRange && !isInChaseRange)
|
|
||||||
{
|
|
||||||
//SetAnimation to idle
|
|
||||||
animationString = "Idle";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
|
if (!isInAttackRange && !isInChaseRange)
|
||||||
public void Attack()
|
|
||||||
{
|
{
|
||||||
|
//SetAnimation to idle
|
||||||
|
animationString = "Idle";
|
||||||
|
// Reset attack state when idle
|
||||||
|
hasDealtDamage = false;
|
||||||
|
attackTimer = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
public void Attack(){
|
||||||
target.TakeDamage(enemyAttackDamage);
|
target.TakeDamage(enemyAttackDamage);
|
||||||
}
|
}
|
||||||
private void MoveEnemy(Vector2 dir)
|
private void MoveEnemy(Vector2 dir){
|
||||||
{
|
|
||||||
rb2.MovePosition((Vector2)transform.position + (dir * speed * Time.deltaTime));
|
rb2.MovePosition((Vector2)transform.position + (dir * speed * Time.deltaTime));
|
||||||
}
|
}
|
||||||
void UpdateAnimation(string direction, string animationName)
|
void UpdateAnimation(string direction, string animationName){
|
||||||
{
|
|
||||||
// try{
|
// try{
|
||||||
StartCoroutine(CoroutineUpdateAnim(direction, animationName));
|
StartCoroutine(CoroutineUpdateAnim(direction, animationName));
|
||||||
}
|
}
|
||||||
|
|
||||||
IEnumerator CoroutineUpdateAnim(string direction, string animationName)
|
IEnumerator CoroutineUpdateAnim(string direction, string animationName){
|
||||||
{
|
while(animator == null){
|
||||||
while (animator == null)
|
|
||||||
{
|
|
||||||
yield return new WaitForSeconds(0.1f);
|
yield return new WaitForSeconds(0.1f);
|
||||||
Debug.LogError("animator is null!");
|
Debug.LogError("animator is null!");
|
||||||
}
|
}
|
||||||
while (animator.skeleton == null)
|
while(animator.skeleton == null){
|
||||||
{
|
|
||||||
yield return new WaitForSeconds(0.1f);
|
yield return new WaitForSeconds(0.1f);
|
||||||
Debug.LogError("animator skelton is null!");
|
Debug.LogError("animator skelton is null!");
|
||||||
|
|
||||||
}
|
}
|
||||||
while (animator.AnimationState == null)
|
while(animator.AnimationState == null){
|
||||||
{
|
|
||||||
yield return new WaitForSeconds(0.1f);
|
yield return new WaitForSeconds(0.1f);
|
||||||
Debug.LogError("animator state is null!");
|
Debug.LogError("animator state is null!");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
animator.skeleton.SetSkin(direction);
|
animator.skeleton.SetSkin(direction);
|
||||||
|
|
@ -382,140 +370,124 @@ public class enemyScript : NetworkBehaviour
|
||||||
Debug.Log($"Updating enemy animation {direction}_{animationName}");
|
Debug.Log($"Updating enemy animation {direction}_{animationName}");
|
||||||
}
|
}
|
||||||
|
|
||||||
[Command(requiresAuthority = false)]
|
[Command(requiresAuthority =false)]
|
||||||
void CmdTakeDamage(int damage, uint id)
|
void CmdTakeDamage(int damage,uint id){
|
||||||
{
|
takedmg(damage,id);
|
||||||
takedmg(damage, id);
|
|
||||||
Debug.Log("Enemy Attack Recieved ");
|
Debug.Log("Enemy Attack Recieved ");
|
||||||
}
|
}
|
||||||
|
public void TakeDamage(int damage, uint id){
|
||||||
public void TakeDamage(int damage, uint id)
|
if(isServer){
|
||||||
{
|
takedmg(damage,id);
|
||||||
if (isServer)
|
|
||||||
{
|
|
||||||
takedmg(damage, id);
|
|
||||||
}
|
}
|
||||||
else
|
else{
|
||||||
{
|
CmdTakeDamage(damage,id);
|
||||||
CmdTakeDamage(damage, id);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// MODIFIED: Completely rewritten damage system
|
void takedmg(int damage,uint id){
|
||||||
void takedmg(int damage, uint id)
|
if(health<=0){return;}
|
||||||
{
|
|
||||||
if (health <= 0) { return; }
|
|
||||||
|
|
||||||
int finalDamage = damage;
|
// Apply physical resistance to base damage
|
||||||
|
int damageAfterResistance = Mathf.Max(1, damage - physicalResistance);
|
||||||
|
|
||||||
// If shield is not broken, reduce damage by half and damage magical health
|
// If shield is active, damage goes to both magical health (shield) AND regular health
|
||||||
if (!shieldBreak && magicalHealth > 0)
|
if(shieldActive && magicalHealth > 0){
|
||||||
{
|
// Shield takes full damage after resistance
|
||||||
finalDamage = damage / 2;
|
magicalHealth -= damageAfterResistance;
|
||||||
|
|
||||||
// Calculate magical health damage based on player attack damage + enemy level
|
// Regular health takes reduced damage (divided by shield divider)
|
||||||
int magicalDamage = damage + level;
|
float shieldMultiplier = 1f / SHIELD_DAMAGE_DIVIDER;
|
||||||
magicalHealth -= magicalDamage;
|
int healthDamage = Mathf.Max(1, Mathf.RoundToInt(damageAfterResistance * shieldMultiplier));
|
||||||
|
health -= healthDamage;
|
||||||
|
|
||||||
// Check if shield breaks
|
if(magicalHealth <= 0){
|
||||||
if (magicalHealth <= 0)
|
shieldActive = false;
|
||||||
{
|
PlayShieldBreakAnimation();
|
||||||
shieldBreak = true;
|
|
||||||
magicalHealth = 0;
|
|
||||||
Debug.Log("Shield Broken!");
|
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
// If shield is broken, damage goes directly to health with full resistance
|
||||||
|
health -= damageAfterResistance;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Apply damage to health
|
//hit vfx
|
||||||
health -= finalDamage;
|
// GameObject newObject = Instantiate(hitVfx , transform.position , Quaternion.identity );
|
||||||
|
// newObject.transform.localPosition = Vector3.zero;
|
||||||
// Check for death
|
// newObject.transform.parent = transform;
|
||||||
if (health <= 0)
|
if(health<= 0 ){
|
||||||
{
|
|
||||||
StartCoroutine(couroutineDeath());
|
StartCoroutine(couroutineDeath());
|
||||||
|
|
||||||
foreach (playerNetwork player in FindObjectsOfType<playerNetwork>())
|
foreach(playerNetwork player in FindObjectsOfType<playerNetwork>()){
|
||||||
{
|
if(player.netId == id){
|
||||||
if (player.netId == id)
|
|
||||||
{
|
//This one attacked me
|
||||||
player.OnEnemyKilled(level);
|
player.OnEnemyKilled(level);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Debug.Log($"Enemy Takes Damage: {finalDamage} | Shield Broken: {shieldBreak} | Health: {health} | Magical Health: {magicalHealth}");
|
// Debug logging removed for cleaner code
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[Command(requiresAuthority = false)]
|
[Command(requiresAuthority =false)]
|
||||||
void CmdTakeMagicalDamage(int damage, uint id)
|
void CmdTakeMagicalDamage(int damage,uint id){
|
||||||
{
|
takeMagicalDmg(damage,id);
|
||||||
takeMagicalDmg(damage, id);
|
Debug.Log("Enemy Attack Recieved ");
|
||||||
Debug.Log("Enemy Magical Attack Recieved ");
|
|
||||||
}
|
}
|
||||||
|
public void TakeMagicalDamage(int damage, uint id){
|
||||||
public void TakeMagicalDamage(int damage, uint id)
|
if(isServer){
|
||||||
{
|
takeMagicalDmg(damage,id);
|
||||||
if (isServer)
|
|
||||||
{
|
|
||||||
takeMagicalDmg(damage, id);
|
|
||||||
}
|
}
|
||||||
else
|
else{
|
||||||
{
|
CmdTakeMagicalDamage(damage,id);
|
||||||
CmdTakeMagicalDamage(damage, id);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// MODIFIED: Updated magical damage to use same system
|
void takeMagicalDmg(int damage,uint id){
|
||||||
void takeMagicalDmg(int damage, uint id)
|
if(health<=0){return;}
|
||||||
{
|
|
||||||
if (magicalHealth <= 0 && shieldBreak) { return; }
|
|
||||||
|
|
||||||
int finalDamage = damage;
|
// Apply magical resistance to base damage
|
||||||
|
int damageAfterResistance = Mathf.Max(1, damage - magicalResistance);
|
||||||
|
|
||||||
// If shield is not broken, reduce damage by half and damage magical health
|
// If shield is active, damage goes to both magical health (shield) AND regular health
|
||||||
if (!shieldBreak && magicalHealth > 0)
|
if(shieldActive && magicalHealth > 0){
|
||||||
{
|
// Shield takes full damage after resistance
|
||||||
finalDamage = damage / 2;
|
magicalHealth -= damageAfterResistance;
|
||||||
|
|
||||||
// Calculate magical health damage based on player attack damage + enemy level
|
// Regular health takes reduced damage (divided by shield divider)
|
||||||
int magicalDamage = damage + level;
|
float shieldMultiplier = 1f / SHIELD_DAMAGE_DIVIDER;
|
||||||
magicalHealth -= magicalDamage;
|
int healthDamage = Mathf.Max(1, Mathf.RoundToInt(damageAfterResistance * shieldMultiplier));
|
||||||
|
health -= healthDamage;
|
||||||
|
|
||||||
// Check if shield breaks
|
if(magicalHealth <= 0){
|
||||||
if (magicalHealth <= 0)
|
shieldActive = false;
|
||||||
{
|
PlayShieldBreakAnimation();
|
||||||
shieldBreak = true;
|
|
||||||
magicalHealth = 0;
|
|
||||||
Debug.Log("Shield Broken!");
|
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
// If shield is broken, damage goes directly to health with full resistance
|
||||||
|
health -= damageAfterResistance;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Apply damage to health
|
if(health<= 0 ){
|
||||||
health -= finalDamage;
|
|
||||||
|
|
||||||
// Check for death
|
|
||||||
if (health <= 0)
|
|
||||||
{
|
|
||||||
StartCoroutine(couroutineDeath());
|
StartCoroutine(couroutineDeath());
|
||||||
|
|
||||||
foreach (playerNetwork player in FindObjectsOfType<playerNetwork>())
|
foreach(playerNetwork player in FindObjectsOfType<playerNetwork>()){
|
||||||
{
|
if(player.netId == id){
|
||||||
if (player.netId == id)
|
|
||||||
{
|
//This one attacked me
|
||||||
player.OnEnemyKilled(level);
|
player.OnEnemyKilled(level);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Debug.Log($"Enemy Takes Magical Damage: {finalDamage} | Shield Broken: {shieldBreak} | Health: {health} | Magical Health: {magicalHealth}");
|
// Debug logging removed for cleaner code
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
IEnumerator couroutineDeath()
|
IEnumerator couroutineDeath(){
|
||||||
{
|
|
||||||
|
|
||||||
animationString = "Death";
|
animationString = "Death";
|
||||||
StartCoroutine(PopDisappearUI());
|
UpdateAnimation(directionString , animationString);
|
||||||
UpdateAnimation(directionString, animationString);
|
|
||||||
// RpcUpdateAnim(directionString, animationString,false);
|
// RpcUpdateAnim(directionString, animationString,false);
|
||||||
Vector3 lootSpawnPos = transform.position;
|
Vector3 lootSpawnPos = transform.position;
|
||||||
lootSpawnPos.z = GameManager.instance.LootSpawnPointsParent.GetChild(0).position.z;
|
lootSpawnPos.z = GameManager.instance.LootSpawnPointsParent.GetChild(0).position.z;
|
||||||
|
|
@ -523,8 +495,8 @@ public class enemyScript : NetworkBehaviour
|
||||||
GameObject newLoot = Instantiate(GameManager.instance.GetRandomLoot(), lootSpawnPos, Quaternion.identity);
|
GameObject newLoot = Instantiate(GameManager.instance.GetRandomLoot(), lootSpawnPos, Quaternion.identity);
|
||||||
|
|
||||||
NetworkServer.Spawn(newLoot);
|
NetworkServer.Spawn(newLoot);
|
||||||
|
yield return new WaitForSecondsRealtime(5);
|
||||||
|
|
||||||
yield return new WaitForSecondsRealtime(7);// dead corpse delay
|
|
||||||
|
|
||||||
if (!isServer)
|
if (!isServer)
|
||||||
{
|
{
|
||||||
|
|
@ -534,25 +506,34 @@ public class enemyScript : NetworkBehaviour
|
||||||
{
|
{
|
||||||
GameManager.OnEnemyDeath(this, defaultPos);
|
GameManager.OnEnemyDeath(this, defaultPos);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* transform.position = defaultPos;
|
||||||
|
health = (int)maxHealth;
|
||||||
|
magicalHealth = (int)maxHealth;*/
|
||||||
|
|
||||||
|
//animationString = "Idle";
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
[Command]
|
[Command]
|
||||||
void CmdDie()
|
void CmdDie()
|
||||||
{
|
{
|
||||||
GameManager.OnEnemyDeath(this, defaultPos);
|
GameManager.OnEnemyDeath(this,defaultPos);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void OnHealthChange(int oldVlaue, int newValue)
|
|
||||||
{
|
|
||||||
healthBar.SetHealth(newValue, maxHealth);
|
public void OnHealthChange(int oldVlaue, int newValue){
|
||||||
|
healthBar.SetHealth(newValue,maxHealth);
|
||||||
|
|
||||||
|
}
|
||||||
|
public void OnMagicalHealthChange(int oldVlaue, int newValue){
|
||||||
|
MagicalhealthBar.SetHealth(newValue,maxHealth);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void OnMagicalHealthChange(int oldVlaue, int newValue)
|
//etc for ui Disspear coroutine
|
||||||
{
|
|
||||||
MagicalhealthBar.SetHealth(newValue, maxHealth);
|
|
||||||
}
|
|
||||||
|
|
||||||
//etc for ui Disspear coroutine
|
|
||||||
IEnumerator PopDisappearUI()
|
IEnumerator PopDisappearUI()
|
||||||
{
|
{
|
||||||
Vector3 originalScale = uiEnemy.localScale;
|
Vector3 originalScale = uiEnemy.localScale;
|
||||||
|
|
@ -587,4 +568,75 @@ public class enemyScript : NetworkBehaviour
|
||||||
uiEnemy.localScale = Vector3.zero;
|
uiEnemy.localScale = Vector3.zero;
|
||||||
uiEnemy.gameObject.SetActive(false);
|
uiEnemy.gameObject.SetActive(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Header("Shield Visual Effects")]
|
||||||
|
public Transform shieldUI;
|
||||||
|
public SpriteRenderer shieldIconUI;
|
||||||
|
public ParticleSystem shieldBreakVfx;
|
||||||
|
|
||||||
|
public void PlayShieldBreakAnimation()
|
||||||
|
{
|
||||||
|
if (shieldBreakVfx != null) shieldBreakVfx.Play();
|
||||||
|
|
||||||
|
if (shieldUI != null)
|
||||||
|
{
|
||||||
|
shieldUI.DOScale(1.2f, 0.15f)
|
||||||
|
.SetEase(Ease.OutBack)
|
||||||
|
.OnComplete(() =>
|
||||||
|
{
|
||||||
|
shieldUI.DOScale(0f, 0.3f).SetEase(Ease.InQuad);
|
||||||
|
if (shieldIconUI != null)
|
||||||
|
{
|
||||||
|
shieldIconUI.DOFade(0f, 0.3f).SetEase(Ease.InQuad)
|
||||||
|
.OnComplete(() =>
|
||||||
|
{
|
||||||
|
shieldUI.gameObject.SetActive(false);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Helper method to get resistance info for UI or debugging
|
||||||
|
public string GetResistanceInfo()
|
||||||
|
{
|
||||||
|
string shieldStatus = shieldActive ? "Active" : "Broken";
|
||||||
|
return $"Physical: {physicalResistance}, Magical: {magicalResistance}, Shield: {shieldStatus}";
|
||||||
|
}
|
||||||
|
|
||||||
|
public int CalculateEffectiveDamage(int baseDamage, bool isMagical = false)
|
||||||
|
{
|
||||||
|
int resistance = isMagical ? magicalResistance : physicalResistance;
|
||||||
|
|
||||||
|
if(shieldActive && magicalHealth > 0){
|
||||||
|
float shieldMultiplier = 1f / SHIELD_DAMAGE_DIVIDER;
|
||||||
|
int damageAfterShield = Mathf.RoundToInt(baseDamage * shieldMultiplier);
|
||||||
|
return Mathf.Max(1, damageAfterShield - resistance);
|
||||||
|
} else {
|
||||||
|
return Mathf.Max(1, baseDamage - resistance);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool IsShieldActive()
|
||||||
|
{
|
||||||
|
return shieldActive && magicalHealth > 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static int CalculateExponentialXP(int enemyLevel, int playerLevel = 0)
|
||||||
|
{
|
||||||
|
float baseXP = XP_LEVEL_MULTIPLIER * Mathf.Pow(XP_EXPONENTIAL_BASE, enemyLevel - 1);
|
||||||
|
|
||||||
|
float levelDifference = Mathf.Max(0, enemyLevel - playerLevel);
|
||||||
|
float bonusXP = baseXP * XP_PLAYER_LEVEL_BONUS * levelDifference;
|
||||||
|
|
||||||
|
int totalXP = Mathf.RoundToInt(baseXP + bonusXP);
|
||||||
|
totalXP = Mathf.Min(totalXP, 5000);
|
||||||
|
|
||||||
|
return Mathf.Max(10, totalXP);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static int CalculateLegacyXP(int enemyLevel)
|
||||||
|
{
|
||||||
|
return XP_GAIN_Base + Mathf.FloorToInt(XP_GAIN * (enemyLevel - 1));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -702,7 +702,10 @@ public class playerNetwork : NetworkBehaviour
|
||||||
if (xpTimer > 0) { xpTimer -= Time.deltaTime; return; }
|
if (xpTimer > 0) { xpTimer -= Time.deltaTime; return; }
|
||||||
|
|
||||||
xpTimer = 1;
|
xpTimer = 1;
|
||||||
xpText.text = (Mathf.RoundToInt(XP / 100f) * 100f).ToString();
|
|
||||||
|
int xpInt = Mathf.RoundToInt(XP / 100f) * 100;
|
||||||
|
xpText.text = $"+ {xpInt} XP";
|
||||||
|
|
||||||
xpSlider.value = XpSliderVal;
|
xpSlider.value = XpSliderVal;
|
||||||
|
|
||||||
for (int i = 0; i < 10; i++)
|
for (int i = 0; i < 10; i++)
|
||||||
|
|
@ -722,8 +725,13 @@ public class playerNetwork : NetworkBehaviour
|
||||||
int prevValue = lvl;
|
int prevValue = lvl;
|
||||||
// SavePlayerData();
|
// SavePlayerData();
|
||||||
enemyKillCount++;
|
enemyKillCount++;
|
||||||
//XP += (int)(enemyScript.XP_GAIN * (enemyLevel/2f));
|
|
||||||
XP += enemyScript.XP_GAIN_Base + Mathf.FloorToInt(enemyScript.XP_GAIN * (enemyLevel - 1));
|
// Use new exponential XP system
|
||||||
|
int xpGained = enemyScript.CalculateExponentialXP(enemyLevel, lvl);
|
||||||
|
XP += xpGained;
|
||||||
|
|
||||||
|
// Debug log for XP gain
|
||||||
|
Debug.Log($"Killed Level {enemyLevel} enemy! Gained {xpGained} XP (Player Level: {lvl})");
|
||||||
}
|
}
|
||||||
|
|
||||||
IEnumerator uiTxtDelay(float delayTime, int levelChange)
|
IEnumerator uiTxtDelay(float delayTime, int levelChange)
|
||||||
|
|
@ -1051,7 +1059,7 @@ public class playerNetwork : NetworkBehaviour
|
||||||
{
|
{
|
||||||
//magical damage with intelligance stat ?
|
//magical damage with intelligance stat ?
|
||||||
//int damageamount = magicalDmg + (lvl * 5);
|
//int damageamount = magicalDmg + (lvl * 5);
|
||||||
int damageamount = magicalDmg + (statManager.GetEffectiveValue("intelligence") * 2);
|
int damageamount = magicalDmg + (statManager.GetEffectiveValue("intelligence") * 4) + 15; // Increased intelligence multiplier and added base bonus
|
||||||
Debug.Log("magic damage amount " + damageamount);
|
Debug.Log("magic damage amount " + damageamount);
|
||||||
victim.TakeMagicalDamage(damageamount, netId);
|
victim.TakeMagicalDamage(damageamount, netId);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ public class teleporter : MonoBehaviour
|
||||||
if(other.tag == "Player"){
|
if(other.tag == "Player"){
|
||||||
if(other.transform == playerNetwork.localPlayerTransform){
|
if(other.transform == playerNetwork.localPlayerTransform){
|
||||||
other.transform.position = teleportLocation.position;
|
other.transform.position = teleportLocation.position;
|
||||||
cameraRPG.instance.Teleport(teleportLocation.position);
|
cameraRPG.instance.TeleportTo(teleportLocation.position);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7664,6 +7664,10 @@ MonoBehaviour:
|
||||||
m_Unicode: 102
|
m_Unicode: 102
|
||||||
m_GlyphIndex: 74
|
m_GlyphIndex: 74
|
||||||
m_Scale: 1
|
m_Scale: 1
|
||||||
|
- m_ElementType: 1
|
||||||
|
m_Unicode: 102
|
||||||
|
m_GlyphIndex: 74
|
||||||
|
m_Scale: 1
|
||||||
- m_ElementType: 1
|
- m_ElementType: 1
|
||||||
m_Unicode: 103
|
m_Unicode: 103
|
||||||
m_GlyphIndex: 75
|
m_GlyphIndex: 75
|
||||||
|
|
@ -10956,6 +10960,10 @@ MonoBehaviour:
|
||||||
m_Unicode: 114
|
m_Unicode: 114
|
||||||
m_GlyphIndex: 86
|
m_GlyphIndex: 86
|
||||||
m_Scale: 1
|
m_Scale: 1
|
||||||
|
- m_ElementType: 1
|
||||||
|
m_Unicode: 114
|
||||||
|
m_GlyphIndex: 86
|
||||||
|
m_Scale: 1
|
||||||
- m_ElementType: 1
|
- m_ElementType: 1
|
||||||
m_Unicode: 115
|
m_Unicode: 115
|
||||||
m_GlyphIndex: 87
|
m_GlyphIndex: 87
|
||||||
|
|
@ -13928,6 +13936,10 @@ MonoBehaviour:
|
||||||
m_Unicode: 116
|
m_Unicode: 116
|
||||||
m_GlyphIndex: 88
|
m_GlyphIndex: 88
|
||||||
m_Scale: 1
|
m_Scale: 1
|
||||||
|
- m_ElementType: 1
|
||||||
|
m_Unicode: 116
|
||||||
|
m_GlyphIndex: 88
|
||||||
|
m_Scale: 1
|
||||||
- m_ElementType: 1
|
- m_ElementType: 1
|
||||||
m_Unicode: 117
|
m_Unicode: 117
|
||||||
m_GlyphIndex: 89
|
m_GlyphIndex: 89
|
||||||
|
|
@ -15521,16 +15533,24 @@ MonoBehaviour:
|
||||||
m_GlyphIndex: 459
|
m_GlyphIndex: 459
|
||||||
m_Scale: 1
|
m_Scale: 1
|
||||||
- m_ElementType: 1
|
- m_ElementType: 1
|
||||||
m_Unicode: 114
|
m_Unicode: 8230
|
||||||
m_GlyphIndex: 86
|
m_GlyphIndex: 459
|
||||||
m_Scale: 1
|
m_Scale: 1
|
||||||
- m_ElementType: 1
|
- m_ElementType: 1
|
||||||
m_Unicode: 102
|
m_Unicode: 101
|
||||||
m_GlyphIndex: 74
|
m_GlyphIndex: 73
|
||||||
m_Scale: 1
|
m_Scale: 1
|
||||||
- m_ElementType: 1
|
- m_ElementType: 1
|
||||||
m_Unicode: 116
|
m_Unicode: 118
|
||||||
m_GlyphIndex: 88
|
m_GlyphIndex: 90
|
||||||
|
m_Scale: 1
|
||||||
|
- m_ElementType: 1
|
||||||
|
m_Unicode: 108
|
||||||
|
m_GlyphIndex: 80
|
||||||
|
m_Scale: 1
|
||||||
|
- m_ElementType: 1
|
||||||
|
m_Unicode: 112
|
||||||
|
m_GlyphIndex: 84
|
||||||
m_Scale: 1
|
m_Scale: 1
|
||||||
m_AtlasTextures:
|
m_AtlasTextures:
|
||||||
- {fileID: 6711488626300308827}
|
- {fileID: 6711488626300308827}
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -12,19 +12,28 @@ public class sliderProgressSc : MonoBehaviour
|
||||||
[SerializeField] private List<Transform> dots = new List<Transform>();
|
[SerializeField] private List<Transform> dots = new List<Transform>();
|
||||||
[SerializeField] private List<Image> dotImages = new List<Image>();
|
[SerializeField] private List<Image> dotImages = new List<Image>();
|
||||||
|
|
||||||
[Header("Animation Settings")]
|
[Header("Slider Animation")]
|
||||||
|
[SerializeField] private float sliderAnimationDuration = 0.8f;
|
||||||
|
[SerializeField] private Ease sliderEase = Ease.OutCubic;
|
||||||
|
[SerializeField] private bool animateSliderValue = true;
|
||||||
|
|
||||||
|
[Header("Dot Animation Settings")]
|
||||||
[SerializeField] private float scaleDuration = 0.3f;
|
[SerializeField] private float scaleDuration = 0.3f;
|
||||||
[SerializeField] private float colorDuration = 0.2f;
|
[SerializeField] private float colorDuration = 0.2f;
|
||||||
[SerializeField] private Vector3 activeScale = Vector3.one * 1.2f;
|
[SerializeField] private Vector3 activeScale = Vector3.one * 1.2f;
|
||||||
[SerializeField] private Vector3 inactiveScale = Vector3.one;
|
[SerializeField] private Vector3 inactiveScale = Vector3.one;
|
||||||
[SerializeField] private Ease scaleEase = Ease.OutBack;
|
[SerializeField] private Ease scaleEase = Ease.OutBack;
|
||||||
|
[SerializeField] private float dotStaggerDelay = 0.05f; // Delay between dot activations
|
||||||
|
|
||||||
[Header("Colors")]
|
[Header("Colors")]
|
||||||
[SerializeField] private Color inactiveColor = new Color(0.3f, 0.3f, 0.3f, 0.6f);
|
[SerializeField] private Color inactiveColor = new Color(0.3f, 0.3f, 0.3f, 0.6f);
|
||||||
[SerializeField] private Color activeColor = new Color(0f, 1f, 0.4f, 1f); // Bright green
|
[SerializeField] private Color activeColor = new Color(0f, 1f, 0.4f, 1f); // Bright green
|
||||||
|
[SerializeField] private Color pulseColor = new Color(1f, 1f, 0.4f, 1f); // Yellow pulse
|
||||||
|
|
||||||
private float previousSliderValue;
|
private float previousSliderValue;
|
||||||
private int lastActivatedDot = -1;
|
private int lastActivatedDot = -1;
|
||||||
|
private Tween sliderTween;
|
||||||
|
private bool isAnimating = false;
|
||||||
|
|
||||||
void Start()
|
void Start()
|
||||||
{
|
{
|
||||||
|
|
@ -37,7 +46,14 @@ public class sliderProgressSc : MonoBehaviour
|
||||||
// Check if slider value changed
|
// Check if slider value changed
|
||||||
if (Mathf.Abs(targetSlider.value - previousSliderValue) > 0.001f)
|
if (Mathf.Abs(targetSlider.value - previousSliderValue) > 0.001f)
|
||||||
{
|
{
|
||||||
CheckAndAnimateDots(targetSlider.value);
|
if (animateSliderValue && !isAnimating)
|
||||||
|
{
|
||||||
|
AnimateSliderToValue(targetSlider.value);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
CheckAndAnimateDots(targetSlider.value);
|
||||||
|
}
|
||||||
previousSliderValue = targetSlider.value;
|
previousSliderValue = targetSlider.value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -80,6 +96,26 @@ public class sliderProgressSc : MonoBehaviour
|
||||||
lastActivatedDot = -1;
|
lastActivatedDot = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void AnimateSliderToValue(float targetValue)
|
||||||
|
{
|
||||||
|
if (sliderTween != null && sliderTween.IsActive())
|
||||||
|
{
|
||||||
|
sliderTween.Kill();
|
||||||
|
}
|
||||||
|
|
||||||
|
isAnimating = true;
|
||||||
|
float startValue = targetSlider.value;
|
||||||
|
|
||||||
|
sliderTween = DOTween.To(() => targetSlider.value, x => {
|
||||||
|
targetSlider.value = x;
|
||||||
|
CheckAndAnimateDots(x);
|
||||||
|
}, targetValue, sliderAnimationDuration)
|
||||||
|
.SetEase(sliderEase)
|
||||||
|
.OnComplete(() => {
|
||||||
|
isAnimating = false;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
void CheckAndAnimateDots(float sliderValue)
|
void CheckAndAnimateDots(float sliderValue)
|
||||||
{
|
{
|
||||||
// Calculate how many dots should be active based on slider value
|
// Calculate how many dots should be active based on slider value
|
||||||
|
|
@ -95,12 +131,13 @@ public class sliderProgressSc : MonoBehaviour
|
||||||
// Check if we've moved forward to activate more dots
|
// Check if we've moved forward to activate more dots
|
||||||
if (targetActiveDot > lastActivatedDot)
|
if (targetActiveDot > lastActivatedDot)
|
||||||
{
|
{
|
||||||
// Activate dots from lastActivatedDot+1 to targetActiveDot
|
// Activate dots with staggered delay for better visual effect
|
||||||
for (int i = lastActivatedDot + 1; i <= targetActiveDot; i++)
|
for (int i = lastActivatedDot + 1; i <= targetActiveDot; i++)
|
||||||
{
|
{
|
||||||
if (i < dots.Count && i >= 0)
|
if (i < dots.Count && i >= 0)
|
||||||
{
|
{
|
||||||
ActivateDot(i);
|
float delay = (i - (lastActivatedDot + 1)) * dotStaggerDelay;
|
||||||
|
ActivateDotWithDelay(i, delay);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
lastActivatedDot = targetActiveDot;
|
lastActivatedDot = targetActiveDot;
|
||||||
|
|
@ -120,19 +157,35 @@ public class sliderProgressSc : MonoBehaviour
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void ActivateDotWithDelay(int dotIndex, float delay)
|
||||||
|
{
|
||||||
|
if (dotIndex >= dots.Count || dotIndex < 0 || dots[dotIndex] == null) return;
|
||||||
|
|
||||||
|
DOVirtual.DelayedCall(delay, () => ActivateDot(dotIndex));
|
||||||
|
}
|
||||||
|
|
||||||
void ActivateDot(int dotIndex)
|
void ActivateDot(int dotIndex)
|
||||||
{
|
{
|
||||||
if (dotIndex >= dots.Count || dotIndex < 0 || dots[dotIndex] == null) return;
|
if (dotIndex >= dots.Count || dotIndex < 0 || dots[dotIndex] == null) return;
|
||||||
|
|
||||||
Transform dot = dots[dotIndex];
|
Transform dot = dots[dotIndex];
|
||||||
|
|
||||||
// Scale up animation
|
// Scale up animation with bounce effect
|
||||||
dot.DOScale(activeScale, scaleDuration).SetEase(scaleEase);
|
dot.DOScale(activeScale, scaleDuration).SetEase(scaleEase);
|
||||||
|
|
||||||
// Color change to active
|
// Color change to active with pulse effect
|
||||||
if (dotIndex < dotImages.Count && dotImages[dotIndex] != null)
|
if (dotIndex < dotImages.Count && dotImages[dotIndex] != null)
|
||||||
{
|
{
|
||||||
dotImages[dotIndex].DOColor(activeColor, colorDuration);
|
Image dotImage = dotImages[dotIndex];
|
||||||
|
|
||||||
|
// Initial color change
|
||||||
|
dotImage.DOColor(activeColor, colorDuration);
|
||||||
|
|
||||||
|
// Add a subtle pulse effect
|
||||||
|
dotImage.DOColor(pulseColor, colorDuration * 0.5f)
|
||||||
|
.SetDelay(colorDuration)
|
||||||
|
.SetLoops(2, LoopType.Yoyo)
|
||||||
|
.SetEase(Ease.InOutSine);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -154,16 +207,37 @@ public class sliderProgressSc : MonoBehaviour
|
||||||
|
|
||||||
// Public methods for external control
|
// Public methods for external control
|
||||||
public void SetSliderValue(float value)
|
public void SetSliderValue(float value)
|
||||||
|
{
|
||||||
|
if (targetSlider != null)
|
||||||
|
{
|
||||||
|
if (animateSliderValue)
|
||||||
|
{
|
||||||
|
AnimateSliderToValue(value);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
targetSlider.value = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void SetSliderValueInstant(float value)
|
||||||
{
|
{
|
||||||
if (targetSlider != null)
|
if (targetSlider != null)
|
||||||
{
|
{
|
||||||
targetSlider.value = value;
|
targetSlider.value = value;
|
||||||
|
CheckAndAnimateDots(value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ResetDots()
|
public void ResetDots()
|
||||||
{
|
{
|
||||||
// Kill any running animations
|
// Kill any running animations
|
||||||
|
if (sliderTween != null && sliderTween.IsActive())
|
||||||
|
{
|
||||||
|
sliderTween.Kill();
|
||||||
|
}
|
||||||
|
|
||||||
for (int i = 0; i < dots.Count; i++)
|
for (int i = 0; i < dots.Count; i++)
|
||||||
{
|
{
|
||||||
if (dots[i] != null)
|
if (dots[i] != null)
|
||||||
|
|
@ -178,6 +252,7 @@ public class sliderProgressSc : MonoBehaviour
|
||||||
|
|
||||||
// Reset state
|
// Reset state
|
||||||
lastActivatedDot = -1;
|
lastActivatedDot = -1;
|
||||||
|
isAnimating = false;
|
||||||
SetupInitialState();
|
SetupInitialState();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -196,6 +271,11 @@ public class sliderProgressSc : MonoBehaviour
|
||||||
void OnDestroy()
|
void OnDestroy()
|
||||||
{
|
{
|
||||||
// Clean up any running tweens
|
// Clean up any running tweens
|
||||||
|
if (sliderTween != null && sliderTween.IsActive())
|
||||||
|
{
|
||||||
|
sliderTween.Kill();
|
||||||
|
}
|
||||||
|
|
||||||
for (int i = 0; i < dots.Count; i++)
|
for (int i = 0; i < dots.Count; i++)
|
||||||
{
|
{
|
||||||
if (dots[i] != null)
|
if (dots[i] != null)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user