GPU Lightning Weapons

This commit is contained in:
Reinier Vens 2021-02-05 03:21:15 +00:00
commit 8d10e33db0
26 changed files with 1163 additions and 876 deletions

View file

@ -0,0 +1,142 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &7383646976225659343
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7383646976225659342}
- component: {fileID: 7383646976225659329}
m_Layer: 0
m_Name: Lightning
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &7383646976225659342
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7383646976225659343}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &7383646976225659329
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7383646976225659343}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 044c2be5da0fc2340a09f856be731cea, type: 3}
m_Name:
m_EditorClassIdentifier:
Camera: {fileID: 0}
StartPosition: {x: 0, y: 500, z: 0}
EndPosition: {x: 0, y: 0, z: 0}
StartWidth: 2.5
EndWidth: 0.5
BranchLength: 64
MorphSpeed: 2.5
NoiseAmplitude: 64
NoiseFrequency: 0.0025
NoiseGain: 0.2
NoiseLacunarity: 5
FixedEndpoint: 0
LeaderWidth: 2
LeaderDuration: 4
LeaderIntensity: 10
PulseDuration: 2
PulseIntensity: 1000
PulseWidth: 2
PulseTrunkIntensityCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0.1
inSlope: 2
outSlope: 2
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
PulseBranchIntensityCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0.01
inSlope: -0.044314474
outSlope: -0.044314474
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0.05641593
- serializedVersion: 3
time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
PulseWidthCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: -1.7295918
outSlope: -1.7295918
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0.05420354
- serializedVersion: 3
time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
TrunkNodeCount: 2048
BranchCount: 16
BranchNodeCount: 128
RenderMaterial: {fileID: 2100000, guid: c94ec17d8118c2749ad885c2b378ea01, type: 2}
ComputeShader: {fileID: 7200000, guid: a974189fea3fe9a46a7859ef6ea8da09, type: 3}
DebugDrawNodes: 0
DebugDrawVertices: 0

View file

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: eb3a880755444d144a4d7f13ef11df77
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -29,8 +29,7 @@ Transform:
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 7930492351484902759}
- {fileID: 8908669924470592673}
- {fileID: 8454157079536979760}
m_Father: {fileID: 6101924816820053886}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -46,72 +45,8 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 5c75d76a7b418d3479761187b2d420bc, type: 3}
m_Name:
m_EditorClassIdentifier:
Trunk: {fileID: 1576755778947147315}
BranchPrototype: {fileID: 7950428215667845793}
LightningCompute: {fileID: 8454157079536979775}
HitRadius: 5
Duration: 0.5
IntensityCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 15.255
outSlope: 15.255
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0.2198576
- serializedVersion: 3
time: 0.099529654
value: 0.7125015
inSlope: -0.07577679
outSlope: -0.07577679
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.07689258
- serializedVersion: 3
time: 0.23082784
value: 0.23103416
inSlope: 4.1353536
outSlope: 4.1353536
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.48861334
- serializedVersion: 3
time: 0.352674
value: 0.9862572
inSlope: 0.11107577
outSlope: 0.11107577
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.0907272
- serializedVersion: 3
time: 1
value: 0
inSlope: -2.1678352
outSlope: -2.1678352
tangentMode: 0
weightedMode: 0
inWeight: 0.07860794
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
BranchCount: 8
BranchDistance: 32
PointCount: 256
BranchPointCount: 64
MorphSpeed: 20
Octaves: 3
Frequency: 0.01
Offset: 0
Amplitude: 15
Lacunarity: 2
Gain: 0.5
--- !u!114 &4364339867848153585
MonoBehaviour:
m_ObjectHideFlags: 0
@ -169,576 +104,165 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
Prototype: {fileID: 4364339867848153585}
--- !u!1 &8231147997880483471
GameObject:
--- !u!1001 &1379448248635655934
PrefabInstance:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7930492351484902759}
- component: {fileID: 1576755778947147315}
m_Layer: 0
m_Name: Line
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &7930492351484902759
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 4033498549525708839}
m_Modifications:
- target: {fileID: 7383646976225659329, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: Animate
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659329, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: MorphSpeed
value: 3
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659329, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: StartWidth
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659329, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: LeaderWidth
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659329, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: BranchLength
value: 32
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659329, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: EndPosition.x
value: -3424.384
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659329, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: EndPosition.y
value: -311.8413
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659329, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: EndPosition.z
value: 6464.0195
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659329, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: PulseDuration
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659329, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: LeaderDuration
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659329, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: NoiseAmplitude
value: 32
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659329, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: NoiseLacunarity
value: 6
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659329, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: StartPosition.x
value: -4001.9797
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659329, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: StartPosition.y
value: -362.0634
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659329, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: StartPosition.z
value: 6939.794
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659342, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659342, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659342, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659342, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659342, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659342, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659342, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659342, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659342, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659342, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659342, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659343, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: m_Name
value: Lightning
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: eb3a880755444d144a4d7f13ef11df77, type: 3}
--- !u!4 &8454157079536979760 stripped
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_CorrespondingSourceObject: {fileID: 7383646976225659342, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
m_PrefabInstance: {fileID: 1379448248635655934}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8231147997880483471}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 4033498549525708839}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!120 &1576755778947147315
LineRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8231147997880483471}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 0
m_LightProbeUsage: 0
m_ReflectionProbeUsage: 0
m_RayTracingMode: 0
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 9c20b9ccbbbb1b14cb5729e0c8460cd9, type: 2}
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: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_Positions:
- {x: 0, y: 0, z: 0}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
m_Parameters:
serializedVersion: 3
widthMultiplier: 1
widthCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: -0.5
tangentMode: 69
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1
value: 0.5
inSlope: -0.5
outSlope: 0
tangentMode: 69
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
colorGradient:
serializedVersion: 2
key0: {r: 1, g: 0.050000012, b: 0.9991149, a: 1}
key1: {r: 0.050000012, g: 0.3610669, b: 1, a: 1}
key2: {r: 0, g: 0, b: 0, a: 0}
key3: {r: 0, g: 0, b: 0, a: 0}
key4: {r: 0, g: 0, b: 0, a: 0}
key5: {r: 0, g: 0, b: 0, a: 0}
key6: {r: 0, g: 0, b: 0, a: 0}
key7: {r: 0, g: 0, b: 0, a: 0}
ctime0: 0
ctime1: 65535
ctime2: 0
ctime3: 0
ctime4: 0
ctime5: 0
ctime6: 0
ctime7: 0
atime0: 0
atime1: 65535
atime2: 0
atime3: 0
atime4: 0
atime5: 0
atime6: 0
atime7: 0
m_Mode: 0
m_NumColorKeys: 2
m_NumAlphaKeys: 2
numCornerVertices: 0
numCapVertices: 0
alignment: 0
textureMode: 0
shadowBias: 0.5
generateLightingData: 0
m_UseWorldSpace: 1
m_Loop: 0
--- !u!1 &9043411360431727333
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8908669924470592673}
- component: {fileID: 7280962290875153966}
- component: {fileID: 7950428215667845793}
m_Layer: 0
m_Name: Branch
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &8908669924470592673
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9043411360431727333}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 4033498549525708839}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!120 &7280962290875153966
LineRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9043411360431727333}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 0
m_LightProbeUsage: 0
m_ReflectionProbeUsage: 0
m_RayTracingMode: 0
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 9c20b9ccbbbb1b14cb5729e0c8460cd9, type: 2}
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: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_Positions:
- {x: 0, y: 0, z: 0}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 0, z: 1}
m_Parameters:
serializedVersion: 3
widthMultiplier: 1
widthCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: -1
tangentMode: 69
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1
value: 0
inSlope: -1
outSlope: 0
tangentMode: 69
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
colorGradient:
serializedVersion: 2
key0: {r: 1, g: 1, b: 1, a: 1}
key1: {r: 1, g: 1, b: 1, a: 0}
key2: {r: 0, g: 0, b: 0, a: 0}
key3: {r: 0, g: 0, b: 0, a: 0}
key4: {r: 0, g: 0, b: 0, a: 0}
key5: {r: 0, g: 0, b: 0, a: 0}
key6: {r: 0, g: 0, b: 0, a: 0}
key7: {r: 0, g: 0, b: 0, a: 0}
ctime0: 0
ctime1: 65535
ctime2: 0
ctime3: 0
ctime4: 0
ctime5: 0
ctime6: 0
ctime7: 0
atime0: 0
atime1: 65535
atime2: 0
atime3: 0
atime4: 0
atime5: 0
atime6: 0
atime7: 0
m_Mode: 0
m_NumColorKeys: 2
m_NumAlphaKeys: 2
numCornerVertices: 0
numCapVertices: 0
alignment: 0
textureMode: 0
shadowBias: 0.5
generateLightingData: 0
m_UseWorldSpace: 1
m_Loop: 0
--- !u!114 &7950428215667845793
--- !u!114 &8454157079536979775 stripped
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_CorrespondingSourceObject: {fileID: 7383646976225659329, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
m_PrefabInstance: {fileID: 1379448248635655934}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9043411360431727333}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1281fe44325f9b548aa42dc331b17266, type: 3}
m_Script: {fileID: 11500000, guid: 044c2be5da0fc2340a09f856be731cea, type: 3}
m_Name:
m_EditorClassIdentifier:

View file

@ -0,0 +1,305 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &6697988721035608826
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8092217512616552971}
- component: {fileID: 8139927425898867051}
- component: {fileID: 4961115960910193164}
m_Layer: 0
m_Name: Bolt
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &8092217512616552971
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6697988721035608826}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 7692568534316527279}
m_Father: {fileID: 6705871793161460977}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &8139927425898867051
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6697988721035608826}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: b184352ea3694b8d892f1402b8d51153, type: 3}
m_Name:
m_EditorClassIdentifier:
Lightning: {fileID: 7692568534316527264}
HitRadius: 8
FadeCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
StartWidth: 0.5
EndWidth: 0.5
FadeDuration: 0.5
--- !u!114 &4961115960910193164
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6697988721035608826}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1281fe44325f9b548aa42dc331b17266, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &8960602767558375808
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6705871793161460977}
- component: {fileID: 8350558017173826883}
m_Layer: 0
m_Name: Tesla Gun
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &6705871793161460977
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8960602767558375808}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 8092217512616552971}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &8350558017173826883
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8960602767558375808}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: ecabe4f078a147459bba6172582d7bc8, type: 3}
m_Name:
m_EditorClassIdentifier:
LightningPrototype: {fileID: 4961115960910193164}
--- !u!1001 &916066491333994337
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 8092217512616552971}
m_Modifications:
- target: {fileID: 7383646976225659329, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: Camera
value:
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659329, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: EndWidth
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659329, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: NoiseGain
value: 0.2
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659329, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: MorphSpeed
value: 150
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659329, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: StartWidth
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659329, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: BranchCount
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659329, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: BranchLength
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659329, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: EndPosition.x
value: 2367.149
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659329, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: EndPosition.y
value: -475.3712
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659329, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: EndPosition.z
value: 2901.6836
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659329, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: NoiseAmplitude
value: 8
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659329, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: NoiseFrequency
value: 0.005
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659329, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: RenderMaterial
value:
objectReference: {fileID: 2100000, guid: 476f7453551d79b469dda2d6926b93fd, type: 2}
- target: {fileID: 7383646976225659329, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: TrunkNodeCount
value: 4096
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659329, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: StartPosition.x
value: 2794.1182
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659329, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: StartPosition.y
value: -483.92413
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659329, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: StartPosition.z
value: 2641.6372
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659342, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659342, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659342, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659342, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659342, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659342, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659342, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659342, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659342, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659342, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659342, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7383646976225659343, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
propertyPath: m_Name
value: Lightning
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: eb3a880755444d144a4d7f13ef11df77, type: 3}
--- !u!4 &7692568534316527279 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 7383646976225659342, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
m_PrefabInstance: {fileID: 916066491333994337}
m_PrefabAsset: {fileID: 0}
--- !u!114 &7692568534316527264 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 7383646976225659329, guid: eb3a880755444d144a4d7f13ef11df77,
type: 3}
m_PrefabInstance: {fileID: 916066491333994337}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 044c2be5da0fc2340a09f856be731cea, type: 3}
m_Name:
m_EditorClassIdentifier:

View file

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: e319f59ddd6d4fb42a1c47bb5ca0abd5
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant: