diff options
Diffstat (limited to 'Assets/Art/Vfx/StylizedProjectilePack1/WebDemo')
44 files changed, 2853 insertions, 0 deletions
diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators.meta b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators.meta new file mode 100644 index 00000000..47570e85 --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 93c79bdc4be681d4f866c62b0e35afcd +folderAsset: yes +timeCreated: 1484772708 +licenseType: Store +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/CameraAnimation.controller b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/CameraAnimation.controller new file mode 100644 index 00000000..ce59ac54 --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/CameraAnimation.controller @@ -0,0 +1,67 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!91 &9100000 +AnimatorController: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: CameraAnimation + serializedVersion: 5 + m_AnimatorParameters: [] + m_AnimatorLayers: + - serializedVersion: 5 + m_Name: Base Layer + m_StateMachine: {fileID: 1107449530576851666} + m_Mask: {fileID: 0} + m_Motions: [] + m_Behaviours: [] + m_BlendingMode: 0 + m_SyncedLayerIndex: -1 + m_DefaultWeight: 0 + m_IKPass: 0 + m_SyncedLayerAffectsTiming: 0 + m_Controller: {fileID: 9100000} +--- !u!1102 &1102943114711907376 +AnimatorState: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: RotateCamera + m_Speed: 0.07 + m_CycleOffset: 0 + m_Transitions: [] + m_StateMachineBehaviours: [] + m_Position: {x: 50, y: 50, z: 0} + m_IKOnFeet: 0 + m_WriteDefaultValues: 1 + m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_Motion: {fileID: 7400000, guid: 784cd2a8503d9124b9d35c9403c401bd, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: +--- !u!1107 &1107449530576851666 +AnimatorStateMachine: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: Base Layer + m_ChildStates: + - serializedVersion: 1 + m_State: {fileID: 1102943114711907376} + m_Position: {x: 420, y: 96, z: 0} + m_ChildStateMachines: [] + m_AnyStateTransitions: [] + m_EntryTransitions: [] + m_StateMachineTransitions: {} + m_StateMachineBehaviours: [] + m_AnyStatePosition: {x: 50, y: 20, z: 0} + m_EntryPosition: {x: 50, y: 120, z: 0} + m_ExitPosition: {x: 800, y: 120, z: 0} + m_ParentStateMachinePosition: {x: 800, y: 20, z: 0} + m_DefaultState: {fileID: 1102943114711907376} diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/CameraAnimation.controller.meta b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/CameraAnimation.controller.meta new file mode 100644 index 00000000..eca7fdb8 --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/CameraAnimation.controller.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f38aff4c8c4d994429300bca64402af1 +timeCreated: 1484772717 +licenseType: Store +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/CameraShake.controller b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/CameraShake.controller new file mode 100644 index 00000000..b049da99 --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/CameraShake.controller @@ -0,0 +1,150 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!91 &9100000 +AnimatorController: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: CameraShake + serializedVersion: 5 + m_AnimatorParameters: + - m_Name: CameraShakeTrigger + m_Type: 9 + m_DefaultFloat: 0 + m_DefaultInt: 0 + m_DefaultBool: 0 + m_Controller: {fileID: 0} + m_AnimatorLayers: + - serializedVersion: 5 + m_Name: Base Layer + m_StateMachine: {fileID: 1107449530576851666} + m_Mask: {fileID: 0} + m_Motions: [] + m_Behaviours: [] + m_BlendingMode: 0 + m_SyncedLayerIndex: -1 + m_DefaultWeight: 0 + m_IKPass: 0 + m_SyncedLayerAffectsTiming: 0 + m_Controller: {fileID: 9100000} +--- !u!1101 &1101161702719563412 +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: + m_Conditions: + - m_ConditionMode: 1 + m_ConditionEvent: CameraShakeTrigger + m_EventTreshold: 0 + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 1102390398272139814} + m_Solo: 0 + m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0 + m_TransitionOffset: 0 + m_ExitTime: 0.75 + m_HasExitTime: 0 + m_HasFixedDuration: 0 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 + m_CanTransitionToSelf: 1 +--- !u!1101 &1101901016851000086 +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: + m_Conditions: [] + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 1102306553317982122} + m_Solo: 0 + m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.25 + m_TransitionOffset: 0 + m_ExitTime: 0 + m_HasExitTime: 1 + m_HasFixedDuration: 1 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 + m_CanTransitionToSelf: 1 +--- !u!1102 &1102306553317982122 +AnimatorState: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: cameraShakeIdle + m_Speed: 1 + m_CycleOffset: 0 + m_Transitions: [] + m_StateMachineBehaviours: [] + m_Position: {x: 50, y: 50, z: 0} + m_IKOnFeet: 0 + m_WriteDefaultValues: 1 + m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: 602cb14824d9ab34d8f4b72e01fcfc30, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: +--- !u!1102 &1102390398272139814 +AnimatorState: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: cameraShake + m_Speed: 1 + m_CycleOffset: 0 + m_Transitions: + - {fileID: 1101901016851000086} + m_StateMachineBehaviours: [] + m_Position: {x: 50, y: 50, z: 0} + m_IKOnFeet: 0 + m_WriteDefaultValues: 1 + m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: 4bef97de6eaa1c44d95de53724d41822, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: +--- !u!1107 &1107449530576851666 +AnimatorStateMachine: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: Base Layer + m_ChildStates: + - serializedVersion: 1 + m_State: {fileID: 1102390398272139814} + m_Position: {x: 276, y: 108, z: 0} + - serializedVersion: 1 + m_State: {fileID: 1102306553317982122} + m_Position: {x: 276, y: 12, z: 0} + m_ChildStateMachines: [] + m_AnyStateTransitions: + - {fileID: 1101161702719563412} + m_EntryTransitions: [] + m_StateMachineTransitions: {} + m_StateMachineBehaviours: [] + m_AnyStatePosition: {x: 50, y: 20, z: 0} + m_EntryPosition: {x: 50, y: 120, z: 0} + m_ExitPosition: {x: 800, y: 120, z: 0} + m_ParentStateMachinePosition: {x: 800, y: 20, z: 0} + m_DefaultState: {fileID: 1102306553317982122} diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/CameraShake.controller.meta b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/CameraShake.controller.meta new file mode 100644 index 00000000..1a967f35 --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/CameraShake.controller.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 576e126f892d2c94eb877f6e43fcb01b +timeCreated: 1484772717 +licenseType: Store +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/RotateCamera.anim b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/RotateCamera.anim new file mode 100644 index 00000000..50cd188e --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/RotateCamera.anim @@ -0,0 +1,199 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!74 &7400000 +AnimationClip: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: RotateCamera + serializedVersion: 6 + m_Legacy: 0 + m_Compressed: 0 + m_UseHighQualityCurve: 1 + m_RotationCurves: [] + m_CompressedRotationCurves: [] + m_EulerCurves: + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: {x: 0, y: -40, z: 0} + inSlope: {x: 0, y: 0, z: 0} + outSlope: {x: 0, y: 0, z: 0} + tangentMode: 0 + - serializedVersion: 2 + time: 1.5 + value: {x: 0, y: 40, z: 0} + inSlope: {x: 0, y: 0, z: 0} + outSlope: {x: 0, y: 0, z: 0} + tangentMode: 0 + - serializedVersion: 2 + time: 3 + value: {x: 0, y: -40, z: 0} + inSlope: {x: 0, y: 0, z: 0} + outSlope: {x: 0, y: 0, z: 0} + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + path: + m_PositionCurves: [] + m_ScaleCurves: [] + m_FloatCurves: [] + m_PPtrCurves: [] + m_SampleRate: 60 + m_WrapMode: 0 + m_Bounds: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 0, y: 0, z: 0} + m_ClipBindingConstant: + genericBindings: + - path: 0 + attribute: 4 + script: {fileID: 0} + classID: 4 + customType: 14 + isPPtrCurve: 0 + pptrCurveMapping: [] + m_AnimationClipSettings: + serializedVersion: 2 + m_AdditiveReferencePoseClip: {fileID: 0} + m_AdditiveReferencePoseTime: 0 + m_StartTime: 0 + m_StopTime: 3 + m_OrientationOffsetY: 0 + m_Level: 0 + m_CycleOffset: 0 + m_HasAdditiveReferencePose: 0 + m_LoopTime: 1 + m_LoopBlend: 0 + m_LoopBlendOrientation: 0 + m_LoopBlendPositionY: 0 + m_LoopBlendPositionXZ: 0 + m_KeepOriginalOrientation: 0 + m_KeepOriginalPositionY: 1 + m_KeepOriginalPositionXZ: 0 + m_HeightFromFeet: 0 + m_Mirror: 0 + m_EditorCurves: + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + - serializedVersion: 2 + time: 1.5 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + - serializedVersion: 2 + time: 3 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: localEulerAnglesRaw.x + path: + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: -40 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + - serializedVersion: 2 + time: 1.5 + value: 40 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + - serializedVersion: 2 + time: 3 + value: -40 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: localEulerAnglesRaw.y + path: + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + - serializedVersion: 2 + time: 1.5 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + - serializedVersion: 2 + time: 3 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: localEulerAnglesRaw.z + path: + classID: 4 + script: {fileID: 0} + m_EulerEditorCurves: + - curve: + serializedVersion: 2 + m_Curve: [] + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalEulerAngles.x + path: + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: [] + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalEulerAngles.y + path: + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: [] + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalEulerAngles.z + path: + classID: 4 + script: {fileID: 0} + m_HasGenericRootTransform: 1 + m_HasMotionFloatCurves: 0 + m_GenerateMotionCurves: 0 + m_IsEmpty: 0 + m_Events: [] diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/RotateCamera.anim.meta b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/RotateCamera.anim.meta new file mode 100644 index 00000000..7e3d1eeb --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/RotateCamera.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 784cd2a8503d9124b9d35c9403c401bd +timeCreated: 1484772740 +licenseType: Store +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/cameraShake.anim b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/cameraShake.anim new file mode 100644 index 00000000..71c95db0 --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/cameraShake.anim @@ -0,0 +1,217 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!74 &7400000 +AnimationClip: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: cameraShake + serializedVersion: 6 + m_Legacy: 0 + m_Compressed: 0 + m_UseHighQualityCurve: 1 + m_RotationCurves: [] + m_CompressedRotationCurves: [] + m_EulerCurves: [] + m_PositionCurves: + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: {x: 0, y: 0, z: 0} + inSlope: {x: 0, y: 0, z: 0} + outSlope: {x: 0, y: 0, z: 0} + tangentMode: 0 + - serializedVersion: 2 + time: 0.016666668 + value: {x: -0.08, y: 0, z: 0.04} + inSlope: {x: -4.0000005, y: 0, z: 0} + outSlope: {x: -4.0000005, y: 0, z: 0} + tangentMode: 0 + - serializedVersion: 2 + time: 0.05 + value: {x: -0.2, y: 0.02, z: -0.02} + inSlope: {x: 0, y: 0, z: 0} + outSlope: {x: 0, y: 0, z: 0} + tangentMode: 0 + - serializedVersion: 2 + time: 0.083333336 + value: {x: 0, y: -0.1, z: 0.01} + inSlope: {x: 0, y: 0, z: 0} + outSlope: {x: 0, y: 0, z: 0} + tangentMode: 0 + - serializedVersion: 2 + time: 0.13333334 + value: {x: 0, y: 0, z: 0} + inSlope: {x: 0, y: 0, z: 0} + outSlope: {x: 0, y: 0, z: 0} + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + path: + m_ScaleCurves: [] + m_FloatCurves: [] + m_PPtrCurves: [] + m_SampleRate: 60 + m_WrapMode: 0 + m_Bounds: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 0, y: 0, z: 0} + m_ClipBindingConstant: + genericBindings: + - serializedVersion: 2 + path: 0 + attribute: 1 + script: {fileID: 0} + typeID: 4 + customType: 0 + isPPtrCurve: 0 + pptrCurveMapping: [] + m_AnimationClipSettings: + serializedVersion: 2 + m_AdditiveReferencePoseClip: {fileID: 0} + m_AdditiveReferencePoseTime: 0 + m_StartTime: 0 + m_StopTime: 0.13333334 + m_OrientationOffsetY: 0 + m_Level: 0 + m_CycleOffset: 0 + m_HasAdditiveReferencePose: 0 + m_LoopTime: 1 + m_LoopBlend: 0 + m_LoopBlendOrientation: 0 + m_LoopBlendPositionY: 0 + m_LoopBlendPositionXZ: 0 + m_KeepOriginalOrientation: 0 + m_KeepOriginalPositionY: 1 + m_KeepOriginalPositionXZ: 0 + m_HeightFromFeet: 0 + m_Mirror: 0 + m_EditorCurves: + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + - serializedVersion: 2 + time: 0.016666668 + value: -0.08 + inSlope: -4.0000005 + outSlope: -4.0000005 + tangentMode: 136 + - serializedVersion: 2 + time: 0.05 + value: -0.2 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + - serializedVersion: 2 + time: 0.083333336 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + - serializedVersion: 2 + time: 0.13333334 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalPosition.x + path: + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + - serializedVersion: 2 + time: 0.016666668 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + - serializedVersion: 2 + time: 0.05 + value: 0.02 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + - serializedVersion: 2 + time: 0.083333336 + value: -0.1 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + - serializedVersion: 2 + time: 0.13333334 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalPosition.y + path: + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + - serializedVersion: 2 + time: 0.016666668 + value: 0.04 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + - serializedVersion: 2 + time: 0.05 + value: -0.02 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + - serializedVersion: 2 + time: 0.083333336 + value: 0.01 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + - serializedVersion: 2 + time: 0.13333334 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalPosition.z + path: + classID: 4 + script: {fileID: 0} + m_EulerEditorCurves: [] + m_HasGenericRootTransform: 1 + m_HasMotionFloatCurves: 0 + m_GenerateMotionCurves: 0 + m_Events: [] diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/cameraShake.anim.meta b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/cameraShake.anim.meta new file mode 100644 index 00000000..14c0a269 --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/cameraShake.anim.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 4bef97de6eaa1c44d95de53724d41822 +timeCreated: 1512820710 +licenseType: Store +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 7400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/cameraShakeIdle.anim b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/cameraShakeIdle.anim new file mode 100644 index 00000000..d085e120 --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/cameraShakeIdle.anim @@ -0,0 +1,145 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!74 &7400000 +AnimationClip: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: cameraShakeIdle + serializedVersion: 6 + m_Legacy: 0 + m_Compressed: 0 + m_UseHighQualityCurve: 1 + m_RotationCurves: [] + m_CompressedRotationCurves: [] + m_EulerCurves: [] + m_PositionCurves: + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: {x: 0, y: 0, z: 0} + inSlope: {x: 0, y: 0, z: 0} + outSlope: {x: 0, y: 0, z: 0} + tangentMode: 0 + - serializedVersion: 2 + time: 0.6666667 + value: {x: 0, y: 0, z: 0} + inSlope: {x: 0, y: 0, z: 0} + outSlope: {x: 0, y: 0, z: 0} + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + path: + m_ScaleCurves: [] + m_FloatCurves: [] + m_PPtrCurves: [] + m_SampleRate: 60 + m_WrapMode: 0 + m_Bounds: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 0, y: 0, z: 0} + m_ClipBindingConstant: + genericBindings: + - serializedVersion: 2 + path: 0 + attribute: 1 + script: {fileID: 0} + typeID: 4 + customType: 0 + isPPtrCurve: 0 + pptrCurveMapping: [] + m_AnimationClipSettings: + serializedVersion: 2 + m_AdditiveReferencePoseClip: {fileID: 0} + m_AdditiveReferencePoseTime: 0 + m_StartTime: 0 + m_StopTime: 0.6666667 + m_OrientationOffsetY: 0 + m_Level: 0 + m_CycleOffset: 0 + m_HasAdditiveReferencePose: 0 + m_LoopTime: 1 + m_LoopBlend: 0 + m_LoopBlendOrientation: 0 + m_LoopBlendPositionY: 0 + m_LoopBlendPositionXZ: 0 + m_KeepOriginalOrientation: 0 + m_KeepOriginalPositionY: 1 + m_KeepOriginalPositionXZ: 0 + m_HeightFromFeet: 0 + m_Mirror: 0 + m_EditorCurves: + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + - serializedVersion: 2 + time: 0.6666667 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalPosition.x + path: + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + - serializedVersion: 2 + time: 0.6666667 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalPosition.y + path: + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + - serializedVersion: 2 + time: 0.6666667 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalPosition.z + path: + classID: 4 + script: {fileID: 0} + m_EulerEditorCurves: [] + m_HasGenericRootTransform: 1 + m_HasMotionFloatCurves: 0 + m_GenerateMotionCurves: 0 + m_Events: [] diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/cameraShakeIdle.anim.meta b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/cameraShakeIdle.anim.meta new file mode 100644 index 00000000..97e5b552 --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/cameraShakeIdle.anim.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 602cb14824d9ab34d8f4b72e01fcfc30 +timeCreated: 1512820975 +licenseType: Store +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 7400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/recoil_ac.controller b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/recoil_ac.controller new file mode 100644 index 00000000..706903b8 --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/recoil_ac.controller @@ -0,0 +1,265 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!91 &9100000 +AnimatorController: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: recoil_ac + serializedVersion: 5 + m_AnimatorParameters: + - m_Name: recoil_trigger + m_Type: 9 + m_DefaultFloat: 0 + m_DefaultInt: 0 + m_DefaultBool: 0 + m_Controller: {fileID: 0} + m_AnimatorLayers: + - serializedVersion: 5 + m_Name: Base Layer + m_StateMachine: {fileID: 1107192150718749634} + m_Mask: {fileID: 0} + m_Motions: [] + m_Behaviours: [] + m_BlendingMode: 1 + m_SyncedLayerIndex: -1 + m_DefaultWeight: 0 + m_IKPass: 0 + m_SyncedLayerAffectsTiming: 0 + m_Controller: {fileID: 9100000} +--- !u!1101 &1101057445853359436 +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: + m_Conditions: [] + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 1102370016671110954} + m_Solo: 0 + m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.1433127 + m_TransitionOffset: 0.1066873 + m_ExitTime: 0.8566873 + m_HasExitTime: 1 + m_HasFixedDuration: 1 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 + m_CanTransitionToSelf: 1 +--- !u!1101 &1101086166166500696 +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: + m_Conditions: + - m_ConditionMode: 1 + m_ConditionEvent: recoil_trigger + m_EventTreshold: 0 + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 1102736089039922218} + m_Solo: 0 + m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.37551427 + m_TransitionOffset: 0 + m_ExitTime: 0.62448573 + m_HasExitTime: 1 + m_HasFixedDuration: 1 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 + m_CanTransitionToSelf: 1 +--- !u!1101 &1101169921002061764 +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: + m_Conditions: + - m_ConditionMode: 1 + m_ConditionEvent: recoil_trigger + m_EventTreshold: 0 + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 1102016288082219386} + m_Solo: 0 + m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.3441357 + m_TransitionOffset: 0 + m_ExitTime: 0.6558643 + m_HasExitTime: 1 + m_HasFixedDuration: 1 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 + m_CanTransitionToSelf: 1 +--- !u!1101 &1101191428371786100 +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: + m_Conditions: + - m_ConditionMode: 1 + m_ConditionEvent: recoil_trigger + m_EventTreshold: 0 + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 1102016288082219386} + m_Solo: 0 + m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.25 + m_TransitionOffset: 0 + m_ExitTime: 0.75 + m_HasExitTime: 0 + m_HasFixedDuration: 1 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 + m_CanTransitionToSelf: 1 +--- !u!1101 &1101249801758968984 +AnimatorStateTransition: + m_ObjectHideFlags: 3 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: + m_Conditions: [] + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 1102370016671110954} + m_Solo: 0 + m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.25 + m_TransitionOffset: 0 + m_ExitTime: 0.75 + m_HasExitTime: 1 + m_HasFixedDuration: 1 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 + m_CanTransitionToSelf: 1 +--- !u!1101 &1101772424714925522 +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: + m_Conditions: [] + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 1102370016671110954} + m_Solo: 0 + m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.25 + m_TransitionOffset: 0 + m_ExitTime: 0.75 + m_HasExitTime: 1 + m_HasFixedDuration: 1 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 + m_CanTransitionToSelf: 1 +--- !u!1102 &1102016288082219386 +AnimatorState: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: recoil_light + m_Speed: 1 + m_CycleOffset: 0 + m_Transitions: + - {fileID: 1101772424714925522} + - {fileID: 1101086166166500696} + m_StateMachineBehaviours: [] + m_Position: {x: 50, y: 50, z: 0} + m_IKOnFeet: 0 + m_WriteDefaultValues: 1 + m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_Motion: {fileID: 7400000, guid: a0cfbe1a7f61c6b45bffcfc67779df5f, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: +--- !u!1102 &1102370016671110954 +AnimatorState: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: recoil_none + m_Speed: 1 + m_CycleOffset: 0 + m_Transitions: + - {fileID: 1101191428371786100} + m_StateMachineBehaviours: [] + m_Position: {x: 50, y: 50, z: 0} + m_IKOnFeet: 0 + m_WriteDefaultValues: 1 + m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_Motion: {fileID: 7400000, guid: ceae37b42d5459741b58e7b77d0561e2, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: +--- !u!1102 &1102736089039922218 +AnimatorState: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: recoil_medium + m_Speed: 1 + m_CycleOffset: 0 + m_Transitions: + - {fileID: 1101057445853359436} + - {fileID: 1101169921002061764} + m_StateMachineBehaviours: [] + m_Position: {x: 50, y: 50, z: 0} + m_IKOnFeet: 0 + m_WriteDefaultValues: 1 + m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_Motion: {fileID: 7400000, guid: 6aee1009c42cedb459fc9caab2d653f9, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: +--- !u!1107 &1107192150718749634 +AnimatorStateMachine: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: Base Layer + m_ChildStates: + - serializedVersion: 1 + m_State: {fileID: 1102016288082219386} + m_Position: {x: 288, y: -84, z: 0} + - serializedVersion: 1 + m_State: {fileID: 1102370016671110954} + m_Position: {x: 288, y: 48, z: 0} + - serializedVersion: 1 + m_State: {fileID: 1102736089039922218} + m_Position: {x: 552, y: -84, z: 0} + m_ChildStateMachines: [] + m_AnyStateTransitions: [] + m_EntryTransitions: [] + m_StateMachineTransitions: {} + m_StateMachineBehaviours: [] + m_AnyStatePosition: {x: 50, y: 20, z: 0} + m_EntryPosition: {x: 50, y: 120, z: 0} + m_ExitPosition: {x: 800, y: 120, z: 0} + m_ParentStateMachinePosition: {x: 800, y: 20, z: 0} + m_DefaultState: {fileID: 1102370016671110954} diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/recoil_ac.controller.meta b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/recoil_ac.controller.meta new file mode 100644 index 00000000..3e72c70a --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/recoil_ac.controller.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 2b41a6b2321212546adc388c7a4ad000 +timeCreated: 1485876400 +licenseType: Store +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/recoil_light.anim b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/recoil_light.anim new file mode 100644 index 00000000..2428aab3 --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/recoil_light.anim @@ -0,0 +1,199 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!74 &7400000 +AnimationClip: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: recoil_light + serializedVersion: 6 + m_Legacy: 0 + m_Compressed: 0 + m_UseHighQualityCurve: 1 + m_RotationCurves: [] + m_CompressedRotationCurves: [] + m_EulerCurves: + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: {x: 0, y: 0, z: 0} + inSlope: {x: 0, y: 0, z: 0} + outSlope: {x: -27.272726, y: -0, z: -0} + tangentMode: 0 + - serializedVersion: 2 + time: 0.18333334 + value: {x: -5, y: 0, z: 0} + inSlope: {x: -27.272726, y: 0, z: 0} + outSlope: {x: 6.122449, y: -0, z: -0} + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: {x: 0, y: 0, z: 0} + inSlope: {x: 6.122449, y: 0, z: 0} + outSlope: {x: 0, y: 0, z: 0} + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + path: locator + m_PositionCurves: [] + m_ScaleCurves: [] + m_FloatCurves: [] + m_PPtrCurves: [] + m_SampleRate: 60 + m_WrapMode: 0 + m_Bounds: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 0, y: 0, z: 0} + m_ClipBindingConstant: + genericBindings: + - path: 2051440239 + attribute: 4 + script: {fileID: 0} + classID: 4 + customType: 14 + isPPtrCurve: 0 + pptrCurveMapping: [] + m_AnimationClipSettings: + serializedVersion: 2 + m_AdditiveReferencePoseClip: {fileID: 0} + m_AdditiveReferencePoseTime: 0 + m_StartTime: 0 + m_StopTime: 1 + m_OrientationOffsetY: 0 + m_Level: 0 + m_CycleOffset: 0 + m_HasAdditiveReferencePose: 0 + m_LoopTime: 1 + m_LoopBlend: 0 + m_LoopBlendOrientation: 0 + m_LoopBlendPositionY: 0 + m_LoopBlendPositionXZ: 0 + m_KeepOriginalOrientation: 0 + m_KeepOriginalPositionY: 1 + m_KeepOriginalPositionXZ: 0 + m_HeightFromFeet: 0 + m_Mirror: 0 + m_EditorCurves: + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: -27.272726 + tangentMode: 69 + - serializedVersion: 2 + time: 0.18333334 + value: -5 + inSlope: -27.272726 + outSlope: 6.122449 + tangentMode: 69 + - serializedVersion: 2 + time: 1 + value: 0 + inSlope: 6.122449 + outSlope: 0 + tangentMode: 69 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: localEulerAnglesRaw.x + path: locator + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: -0 + tangentMode: 69 + - serializedVersion: 2 + time: 0.18333334 + value: 0 + inSlope: 0 + outSlope: -0 + tangentMode: 69 + - serializedVersion: 2 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 69 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: localEulerAnglesRaw.y + path: locator + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: -0 + tangentMode: 69 + - serializedVersion: 2 + time: 0.18333334 + value: 0 + inSlope: 0 + outSlope: -0 + tangentMode: 69 + - serializedVersion: 2 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 69 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: localEulerAnglesRaw.z + path: locator + classID: 4 + script: {fileID: 0} + m_EulerEditorCurves: + - curve: + serializedVersion: 2 + m_Curve: [] + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalEulerAngles.x + path: locator + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: [] + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalEulerAngles.y + path: locator + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: [] + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalEulerAngles.z + path: locator + classID: 4 + script: {fileID: 0} + m_HasGenericRootTransform: 0 + m_HasMotionFloatCurves: 0 + m_GenerateMotionCurves: 0 + m_IsEmpty: 0 + m_Events: [] diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/recoil_light.anim.meta b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/recoil_light.anim.meta new file mode 100644 index 00000000..8843d53e --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/recoil_light.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: a0cfbe1a7f61c6b45bffcfc67779df5f +timeCreated: 1485877007 +licenseType: Store +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/recoil_medium.anim b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/recoil_medium.anim new file mode 100644 index 00000000..820c098b --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/recoil_medium.anim @@ -0,0 +1,199 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!74 &7400000 +AnimationClip: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: recoil_medium + serializedVersion: 6 + m_Legacy: 0 + m_Compressed: 0 + m_UseHighQualityCurve: 1 + m_RotationCurves: [] + m_CompressedRotationCurves: [] + m_EulerCurves: + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: {x: 0, y: 0, z: 0} + inSlope: {x: 0, y: 0, z: 0} + outSlope: {x: 0, y: 0, z: 0} + tangentMode: 0 + - serializedVersion: 2 + time: 0.16666667 + value: {x: -9, y: 0, z: 0} + inSlope: {x: 0, y: 0, z: 0} + outSlope: {x: 0, y: 0, z: 0} + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: {x: 0, y: 0, z: 0} + inSlope: {x: 0, y: 0, z: 0} + outSlope: {x: 0, y: 0, z: 0} + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + path: locator + m_PositionCurves: [] + m_ScaleCurves: [] + m_FloatCurves: [] + m_PPtrCurves: [] + m_SampleRate: 60 + m_WrapMode: 0 + m_Bounds: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 0, y: 0, z: 0} + m_ClipBindingConstant: + genericBindings: + - path: 2051440239 + attribute: 4 + script: {fileID: 0} + classID: 4 + customType: 14 + isPPtrCurve: 0 + pptrCurveMapping: [] + m_AnimationClipSettings: + serializedVersion: 2 + m_AdditiveReferencePoseClip: {fileID: 0} + m_AdditiveReferencePoseTime: 0 + m_StartTime: 0 + m_StopTime: 1 + m_OrientationOffsetY: 0 + m_Level: 0 + m_CycleOffset: 0 + m_HasAdditiveReferencePose: 0 + m_LoopTime: 1 + m_LoopBlend: 0 + m_LoopBlendOrientation: 0 + m_LoopBlendPositionY: 0 + m_LoopBlendPositionXZ: 0 + m_KeepOriginalOrientation: 0 + m_KeepOriginalPositionY: 1 + m_KeepOriginalPositionXZ: 0 + m_HeightFromFeet: 0 + m_Mirror: 0 + m_EditorCurves: + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + - serializedVersion: 2 + time: 0.16666667 + value: -9 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + - serializedVersion: 2 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: localEulerAnglesRaw.x + path: locator + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + - serializedVersion: 2 + time: 0.16666667 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + - serializedVersion: 2 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: localEulerAnglesRaw.y + path: locator + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + - serializedVersion: 2 + time: 0.16666667 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + - serializedVersion: 2 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: localEulerAnglesRaw.z + path: locator + classID: 4 + script: {fileID: 0} + m_EulerEditorCurves: + - curve: + serializedVersion: 2 + m_Curve: [] + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalEulerAngles.x + path: locator + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: [] + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalEulerAngles.y + path: locator + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: [] + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalEulerAngles.z + path: locator + classID: 4 + script: {fileID: 0} + m_HasGenericRootTransform: 0 + m_HasMotionFloatCurves: 0 + m_GenerateMotionCurves: 0 + m_IsEmpty: 0 + m_Events: [] diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/recoil_medium.anim.meta b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/recoil_medium.anim.meta new file mode 100644 index 00000000..68fc014e --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/recoil_medium.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6aee1009c42cedb459fc9caab2d653f9 +timeCreated: 1485877589 +licenseType: Store +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/recoil_none.anim b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/recoil_none.anim new file mode 100644 index 00000000..478b8303 --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/recoil_none.anim @@ -0,0 +1,175 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!74 &7400000 +AnimationClip: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: recoil_none + serializedVersion: 6 + m_Legacy: 0 + m_Compressed: 0 + m_UseHighQualityCurve: 1 + m_RotationCurves: [] + m_CompressedRotationCurves: [] + m_EulerCurves: + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: {x: 0, y: 0, z: 0} + inSlope: {x: 0, y: 0, z: 0} + outSlope: {x: 0, y: 0, z: 0} + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: {x: 0, y: 0, z: 0} + inSlope: {x: 0, y: 0, z: 0} + outSlope: {x: 0, y: 0, z: 0} + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + path: locator + m_PositionCurves: [] + m_ScaleCurves: [] + m_FloatCurves: [] + m_PPtrCurves: [] + m_SampleRate: 60 + m_WrapMode: 0 + m_Bounds: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 0, y: 0, z: 0} + m_ClipBindingConstant: + genericBindings: + - path: 2051440239 + attribute: 4 + script: {fileID: 0} + classID: 4 + customType: 14 + isPPtrCurve: 0 + pptrCurveMapping: [] + m_AnimationClipSettings: + serializedVersion: 2 + m_AdditiveReferencePoseClip: {fileID: 0} + m_AdditiveReferencePoseTime: 0 + m_StartTime: 0 + m_StopTime: 1 + m_OrientationOffsetY: 0 + m_Level: 0 + m_CycleOffset: 0 + m_HasAdditiveReferencePose: 0 + m_LoopTime: 1 + m_LoopBlend: 0 + m_LoopBlendOrientation: 0 + m_LoopBlendPositionY: 0 + m_LoopBlendPositionXZ: 0 + m_KeepOriginalOrientation: 0 + m_KeepOriginalPositionY: 1 + m_KeepOriginalPositionXZ: 0 + m_HeightFromFeet: 0 + m_Mirror: 0 + m_EditorCurves: + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + - serializedVersion: 2 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: localEulerAnglesRaw.x + path: locator + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + - serializedVersion: 2 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: localEulerAnglesRaw.y + path: locator + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + - serializedVersion: 2 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: localEulerAnglesRaw.z + path: locator + classID: 4 + script: {fileID: 0} + m_EulerEditorCurves: + - curve: + serializedVersion: 2 + m_Curve: [] + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalEulerAngles.x + path: locator + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: [] + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalEulerAngles.y + path: locator + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: [] + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalEulerAngles.z + path: locator + classID: 4 + script: {fileID: 0} + m_HasGenericRootTransform: 0 + m_HasMotionFloatCurves: 0 + m_GenerateMotionCurves: 0 + m_IsEmpty: 0 + m_Events: [] diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/recoil_none.anim.meta b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/recoil_none.anim.meta new file mode 100644 index 00000000..c7c11c7a --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/animators/recoil_none.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ceae37b42d5459741b58e7b77d0561e2 +timeCreated: 1485877146 +licenseType: Store +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/example_scene_environment.meta b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/example_scene_environment.meta new file mode 100644 index 00000000..dfee2e5c --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/example_scene_environment.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 807e696ddea039f48b7e37be6e2f8237 +folderAsset: yes +timeCreated: 1482527988 +licenseType: Store +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/example_scene_environment/cube.mat b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/example_scene_environment/cube.mat new file mode 100644 index 00000000..a7621445 --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/example_scene_environment/cube.mat @@ -0,0 +1,81 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: cube + m_Shader: {fileID: 45, guid: 0000000000000000f000000000000000, type: 0} + m_ShaderKeywords: + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SpecGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: + - _BumpScale: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _GlossMapScale: 1 + - _Glossiness: 0.84 + - _GlossyReflections: 1 + - _Metallic: 0.37 + - _Mode: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZWrite: 1 + m_Colors: + - _Color: {r: 0.5147059, g: 0.20815313, b: 0.20815313, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _SpecColor: {r: 0.2, g: 0.2, b: 0.2, a: 1} diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/example_scene_environment/cube.mat.meta b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/example_scene_environment/cube.mat.meta new file mode 100644 index 00000000..cf48be36 --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/example_scene_environment/cube.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 81605b290639b7947869f807c33f01b2 +timeCreated: 1478471388 +licenseType: Store +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/example_scene_environment/cubegun.mat b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/example_scene_environment/cubegun.mat new file mode 100644 index 00000000..62475a40 --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/example_scene_environment/cubegun.mat @@ -0,0 +1,81 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: cubegun + m_Shader: {fileID: 45, guid: 0000000000000000f000000000000000, type: 0} + m_ShaderKeywords: + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SpecGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: + - _BumpScale: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _GlossMapScale: 1 + - _Glossiness: 0.84 + - _GlossyReflections: 1 + - _Metallic: 0.37 + - _Mode: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZWrite: 1 + m_Colors: + - _Color: {r: 0.20588237, g: 0.17257787, b: 0.17257787, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _SpecColor: {r: 0.2, g: 0.2, b: 0.2, a: 1} diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/example_scene_environment/cubegun.mat.meta b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/example_scene_environment/cubegun.mat.meta new file mode 100644 index 00000000..ab716610 --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/example_scene_environment/cubegun.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6a3ba96d17bb5d84ca029a994faaa650 +timeCreated: 1478471388 +licenseType: Store +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/example_scene_environment/ground.mat b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/example_scene_environment/ground.mat new file mode 100644 index 00000000..6aeeff2d --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/example_scene_environment/ground.mat @@ -0,0 +1,81 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: ground + m_Shader: {fileID: 45, guid: 0000000000000000f000000000000000, type: 0} + m_ShaderKeywords: _GLOSSYREFLECTIONS_OFF _SPECULARHIGHLIGHTS_OFF + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 2800000, guid: bbab0a6f7bae9cf42bf057d8ee2755f6, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 15, y: 10} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 15, y: 10} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SpecGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: + - _BumpScale: 0.29 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _GlossMapScale: 0 + - _Glossiness: 0 + - _GlossyReflections: 0 + - _Metallic: 0 + - _Mode: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 0 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZWrite: 1 + m_Colors: + - _Color: {r: 0.06812285, g: 0.07039735, b: 0.07352942, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _SpecColor: {r: 0.2, g: 0.2, b: 0.2, a: 1} diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/example_scene_environment/ground.mat.meta b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/example_scene_environment/ground.mat.meta new file mode 100644 index 00000000..441d5d76 --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/example_scene_environment/ground.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: fe2df1dc09c9feb46b07c602dbff423a +timeCreated: 1478433466 +licenseType: Store +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/example_scene_environment/groundScrap.mat b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/example_scene_environment/groundScrap.mat new file mode 100644 index 00000000..07700c84 --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/example_scene_environment/groundScrap.mat @@ -0,0 +1,81 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: groundScrap + m_Shader: {fileID: 45, guid: 0000000000000000f000000000000000, type: 0} + m_ShaderKeywords: _GLOSSYREFLECTIONS_OFF _SPECULARHIGHLIGHTS_OFF + m_LightmapFlags: 6 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SpecGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: + - _BumpScale: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _GlossMapScale: 1 + - _Glossiness: 0 + - _GlossyReflections: 0 + - _Metallic: 0 + - _Mode: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 0 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZWrite: 1 + m_Colors: + - _Color: {r: 0.052551907, g: 0.056592293, b: 0.066176474, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _SpecColor: {r: 0.2, g: 0.2, b: 0.2, a: 1} diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/example_scene_environment/groundScrap.mat.meta b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/example_scene_environment/groundScrap.mat.meta new file mode 100644 index 00000000..2b9c8317 --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/example_scene_environment/groundScrap.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: efb4e6594b6b22547aafcffad40d944c +timeCreated: 1478465332 +licenseType: Store +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/example_scene_environment/sphere.mat b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/example_scene_environment/sphere.mat new file mode 100644 index 00000000..9b4421fa --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/example_scene_environment/sphere.mat @@ -0,0 +1,81 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: sphere + m_Shader: {fileID: 45, guid: 0000000000000000f000000000000000, type: 0} + m_ShaderKeywords: _EMISSION + m_LightmapFlags: 1 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SpecGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: + - _BumpScale: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _GlossMapScale: 1 + - _Glossiness: 0 + - _GlossyReflections: 1 + - _Metallic: 0 + - _Mode: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZWrite: 1 + m_Colors: + - _Color: {r: 0.28676468, g: 0.12018813, b: 0.12018813, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _SpecColor: {r: 0.2, g: 0.2, b: 0.2, a: 1} diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/example_scene_environment/sphere.mat.meta b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/example_scene_environment/sphere.mat.meta new file mode 100644 index 00000000..a14c379c --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/example_scene_environment/sphere.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 54038e9bab0efd44dbbdabb055fa2578 +timeCreated: 1478471388 +licenseType: Store +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/example_scene_environment/wall.mat b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/example_scene_environment/wall.mat new file mode 100644 index 00000000..739aa6f4 --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/example_scene_environment/wall.mat @@ -0,0 +1,81 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: wall + m_Shader: {fileID: 45, guid: 0000000000000000f000000000000000, type: 0} + m_ShaderKeywords: + m_LightmapFlags: 6 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SpecGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: + - _BumpScale: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _GlossMapScale: 1 + - _Glossiness: 0 + - _GlossyReflections: 1 + - _Metallic: 0 + - _Mode: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZWrite: 1 + m_Colors: + - _Color: {r: 0.08088237, g: 0.08088237, b: 0.08088237, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _SpecColor: {r: 0.2, g: 0.2, b: 0.2, a: 1} diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/example_scene_environment/wall.mat.meta b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/example_scene_environment/wall.mat.meta new file mode 100644 index 00000000..dced88ff --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/example_scene_environment/wall.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0786ec73cac7da34c8f1caf5f4dfd577 +timeCreated: 1478471388 +licenseType: Store +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/font.meta b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/font.meta new file mode 100644 index 00000000..7a518226 --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/font.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: f8c0abd6f3651004789167f70cca078b +folderAsset: yes +timeCreated: 1483284629 +licenseType: Store +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/font/LUCKIESTGUY_0.TTF b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/font/LUCKIESTGUY_0.TTF Binary files differnew file mode 100644 index 00000000..01b535af --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/font/LUCKIESTGUY_0.TTF diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/font/LUCKIESTGUY_0.TTF.meta b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/font/LUCKIESTGUY_0.TTF.meta new file mode 100644 index 00000000..1c1dfee7 --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/font/LUCKIESTGUY_0.TTF.meta @@ -0,0 +1,21 @@ +fileFormatVersion: 2 +guid: f82abf22d6bea754d9d1d86b8a06723e +timeCreated: 1483284627 +licenseType: Store +TrueTypeFontImporter: + serializedVersion: 4 + fontSize: 16 + forceTextureCase: -2 + characterSpacing: 0 + characterPadding: 1 + includeFontData: 1 + fontName: Luckiest Guy + fontNames: + - Luckiest Guy + fallbackFontReferences: [] + customCharacters: + fontRenderingMode: 0 + ascentCalculationMode: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/scripts.meta b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/scripts.meta new file mode 100644 index 00000000..c9be9c00 --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/scripts.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 0bceac0b15040a0419927e6a36c2bb86 +folderAsset: yes +timeCreated: 1483281421 +licenseType: Store +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/scripts/CameraShake.cs b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/scripts/CameraShake.cs new file mode 100644 index 00000000..7ea397bf --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/scripts/CameraShake.cs @@ -0,0 +1,24 @@ +using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+
+public class CameraShake : MonoBehaviour {
+
+ //public bool cameraShakeBool = true;
+ public Animator CamerShakeAnimator;
+
+ // Use this for initialization
+ void Start () {
+
+ }
+
+ // Update is called once per frame
+ void Update () {
+
+ }
+
+ public void ShakeCamera()
+ {
+ CamerShakeAnimator.SetTrigger("CameraShakeTrigger");
+ }
+}
diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/scripts/CameraShake.cs.meta b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/scripts/CameraShake.cs.meta new file mode 100644 index 00000000..8824141a --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/scripts/CameraShake.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 8fd6dcdcf07bb644abde2fade0426568 +timeCreated: 1512820034 +licenseType: Store +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/scripts/ExplodingProjectile.cs b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/scripts/ExplodingProjectile.cs new file mode 100644 index 00000000..ee62553b --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/scripts/ExplodingProjectile.cs @@ -0,0 +1,142 @@ +using UnityEngine;
+using System.Collections;
+
+/* THIS CODE IS JUST FOR PREVIEW AND TESTING */
+// Feel free to use any code and picking on it, I cannot guaratnee it will fit into your project
+public class ExplodingProjectile : MonoBehaviour
+{
+ public GameObject impactPrefab;
+ public GameObject explosionPrefab;
+ public float thrust;
+
+ public Rigidbody thisRigidbody;
+
+ public GameObject particleKillGroup;
+ private Collider thisCollider;
+
+ public bool LookRotation = true;
+ public bool Missile = false;
+ public Transform missileTarget;
+ public float projectileSpeed;
+ public float projectileSpeedMultiplier;
+
+ public bool ignorePrevRotation = false;
+
+ public bool explodeOnTimer = false;
+ public float explosionTimer;
+ float timer;
+
+ private Vector3 previousPosition;
+
+ // Use this for initialization
+ void Start()
+ {
+ thisRigidbody = GetComponent<Rigidbody>();
+ if (Missile)
+ {
+ missileTarget = GameObject.FindWithTag("Target").transform;
+ }
+ thisCollider = GetComponent<Collider>();
+ previousPosition = transform.position;
+ }
+
+ // Update is called once per frame
+ void Update()
+ {
+ /* if(Input.GetButtonUp("Fire2"))
+ {
+ Explode();
+ }*/
+ timer += Time.deltaTime;
+ if (timer >= explosionTimer && explodeOnTimer == true)
+ {
+ Explode();
+ }
+
+ }
+
+ void FixedUpdate()
+ {
+ if (Missile)
+ {
+ projectileSpeed += projectileSpeed * projectileSpeedMultiplier;
+ // transform.position = Vector3.MoveTowards(transform.position, missileTarget.transform.position, 0);
+
+ transform.LookAt(missileTarget);
+
+ thisRigidbody.AddForce(transform.forward * projectileSpeed);
+ }
+
+ if (LookRotation && timer >= 0.05f)
+ {
+ transform.rotation = Quaternion.LookRotation(thisRigidbody.velocity);
+ }
+
+ CheckCollision(previousPosition);
+
+ previousPosition = transform.position;
+ }
+
+ void CheckCollision(Vector3 prevPos)
+ {
+ RaycastHit hit;
+ Vector3 direction = transform.position - prevPos;
+ Ray ray = new Ray(prevPos, direction);
+ float dist = Vector3.Distance(transform.position, prevPos);
+ if (Physics.Raycast(ray, out hit, dist))
+ {
+ transform.position = hit.point;
+ Quaternion rot = Quaternion.FromToRotation(Vector3.forward, hit.normal);
+ Vector3 pos = hit.point;
+ Instantiate(impactPrefab, pos, rot);
+ if (!explodeOnTimer && Missile == false)
+ {
+ Destroy(gameObject);
+ }
+ else if (Missile == true)
+ {
+ thisCollider.enabled = false;
+ particleKillGroup.SetActive(false);
+ thisRigidbody.velocity = Vector3.zero;
+ Destroy(gameObject, 5);
+ }
+
+ }
+ }
+
+ void OnCollisionEnter(Collision collision)
+ {
+ if (collision.gameObject.tag != "FX")
+ {
+ ContactPoint contact = collision.contacts[0];
+ Quaternion rot = Quaternion.FromToRotation(Vector3.forward, contact.normal);
+ if (ignorePrevRotation)
+ {
+ rot = Quaternion.Euler(0, 0, 0);
+ }
+ Vector3 pos = contact.point;
+ Instantiate(impactPrefab, pos, rot);
+ if (!explodeOnTimer && Missile == false)
+ {
+ Destroy(gameObject);
+ }
+ else if (Missile == true)
+ {
+
+ thisCollider.enabled = false;
+ particleKillGroup.SetActive(false);
+ thisRigidbody.velocity = Vector3.zero;
+
+ Destroy(gameObject, 5);
+
+ }
+ }
+ }
+
+ void Explode()
+ {
+ Instantiate(explosionPrefab, gameObject.transform.position, Quaternion.Euler(0, 0, 0));
+ Destroy(gameObject);
+ }
+
+}
\ No newline at end of file diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/scripts/ExplodingProjectile.cs.meta b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/scripts/ExplodingProjectile.cs.meta new file mode 100644 index 00000000..c912e350 --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/scripts/ExplodingProjectile.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 538d28f745155f34fba977c5c1026e39 +timeCreated: 1483283774 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/scripts/Projectile.cs b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/scripts/Projectile.cs new file mode 100644 index 00000000..69c939c6 --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/scripts/Projectile.cs @@ -0,0 +1,102 @@ +using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+
+namespace StylizedProjectile
+{
+
+
+public class Projectile : MonoBehaviour
+{
+ private float disappearAfterTime = 3;
+ private float disappearTimer = 0;
+
+ private bool isActive = false;
+
+ // private MeshRenderer meshRenderer;
+
+ private Vector3 direction;
+ private Vector3 startPosition;
+
+ private float movementSpeed = 1;
+
+ private Vector3 targetPosition;
+
+ private float distanceToTarget;
+ private float movementValue;
+
+ // Use this for initialization
+ void Start ()
+ {
+ // We cache this for performance reasons, GetComponent is slow to do realtime
+ // meshRenderer = GetComponent<MeshRenderer>();
+ // meshRenderer = GetComponent<MeshRenderer>();
+ }
+
+ // Update is called once per frame
+ void Update () {
+ if (isActive) // Only update stuff if we're alive
+ {
+ disappearTimer += Time.deltaTime; // Increase disappear timer
+ if (disappearTimer > disappearAfterTime) // If we're alive too long, get rekt
+ {
+ disappearTimer = 0; // Reset timer
+ isActive = false; // Is not active anymore
+ // meshRenderer.enabled = false; // Disable meshrender so it's invisible
+ }
+
+
+ // 1/distanceToTarget is the calculation to move 1 unit per second, movementspeed defines how many units per second you want to move
+ movementValue += (1/distanceToTarget*movementSpeed) * Time.deltaTime;
+ if (movementValue > 1)
+ {
+ movementValue = 1;
+ Explode();
+ }
+ Move();
+
+ }
+ }
+
+ void Move()
+ {
+ // lerp goes from 0 to 1, 0 is startPosition, 1 is the targets position;
+ transform.position = Vector3.Lerp(startPosition, targetPosition, movementValue);
+ }
+
+ void MoveWithoutTargetHit()
+ {
+ transform.position += direction.normalized * movementSpeed;
+ }
+
+ public void Fire(Vector3 target, Vector3 spawnPosition, Vector3 Direction, float speed)
+ {
+ if (isActive) // If we're active, just return so we don't execute any code
+ return;
+
+ isActive = true; // Set active
+ disappearTimer = 0; // Reset timer just in case it's not reset
+ transform.position = spawnPosition; // set spawn position
+ // meshRenderer.enabled = true; // Enable meshrender so it's visible
+ movementSpeed = speed; // Units per second
+ direction = Direction.normalized; // Normalize the direction
+ targetPosition = target; // Set target transform - Can be null for continous movement without target
+ distanceToTarget = Vector3.Distance(targetPosition, transform.position);
+ startPosition = spawnPosition;
+ movementValue = 0;
+ }
+
+ // It gets here after it hits something
+ void Explode()
+ {
+ disappearTimer = 0; // Reset timer
+ isActive = false; // Is not active anymore
+ // meshRenderer.enabled = false; // Disable meshrender so it's invisible
+ }
+
+ public bool GetIsActive()
+ {
+ return isActive;
+ }
+}
+}
\ No newline at end of file diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/scripts/Projectile.cs.meta b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/scripts/Projectile.cs.meta new file mode 100644 index 00000000..e7b30e7a --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/scripts/Projectile.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 989960b1a1aad4b449f0051bdeb3d79f +timeCreated: 1485807647 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/scripts/projectileActor.cs b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/scripts/projectileActor.cs new file mode 100644 index 00000000..86fc9fea --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/scripts/projectileActor.cs @@ -0,0 +1,253 @@ +using UnityEngine;
+using System.Collections;
+using UnityEngine.UI;
+
+public class projectileActor : MonoBehaviour {
+
+ public Transform spawnLocator;
+ public Transform spawnLocatorMuzzleFlare;
+ public Transform shellLocator;
+ public Animator recoilAnimator;
+
+ public Transform[] shotgunLocator;
+
+ [System.Serializable]
+ public class projectile
+ {
+ public string name;
+ public Rigidbody bombPrefab;
+ public GameObject muzzleflare;
+ public float min, max;
+ public bool rapidFire;
+ public float rapidFireCooldown;
+
+ public bool shotgunBehavior;
+ public int shotgunPellets;
+ public GameObject shellPrefab;
+ public bool hasShells;
+ }
+ public projectile[] bombList;
+
+
+ string FauxName;
+ public Text UiText;
+
+ public bool UImaster = true;
+ public bool CameraShake = true;
+ public float rapidFireDelay;
+ public CameraShake CameraShakeCaller;
+
+ float firingTimer;
+ public bool firing;
+ public int bombType = 0;
+
+ // public ParticleSystem muzzleflare;
+
+ public bool swarmMissileLauncher = false;
+ int projectileSimFire = 1;
+
+ public bool Torque = false;
+ public float Tor_min, Tor_max;
+
+ public bool MinorRotate;
+ public bool MajorRotate = false;
+ int seq = 0;
+
+
+ // Use this for initialization
+ void Start ()
+ {
+ if (UImaster)
+ {
+ UiText.text = bombList[bombType].name.ToString();
+ }
+ if (swarmMissileLauncher)
+ {
+ projectileSimFire = 5;
+ }
+ }
+
+ // Update is called once per frame
+ void Update ()
+ {
+ //Movement
+ if(Input.GetButton("Horizontal"))
+ {
+ if (Input.GetAxis("Horizontal") < 0)
+ {
+ gameObject.transform.Rotate(Vector3.up, -25 * Time.deltaTime);
+ }
+ else
+ {
+ gameObject.transform.Rotate(Vector3.up, 25 * Time.deltaTime);
+ }
+ }
+
+ //BULLETS
+ if (Input.GetKeyDown(KeyCode.D))
+ {
+ Switch(-1);
+ }
+ if (Input.GetButtonDown("Fire2") || Input.GetKeyDown(KeyCode.A))
+ {
+ Switch(1);
+ }
+
+ if(Input.GetButtonDown("Fire1"))
+ {
+ firing = true;
+ Fire();
+ }
+ if (Input.GetButtonUp("Fire1"))
+ {
+ firing = false;
+ firingTimer = 0;
+ }
+
+ if (bombList[bombType].rapidFire && firing)
+ {
+ if(firingTimer > bombList[bombType].rapidFireCooldown+rapidFireDelay)
+ {
+ Fire();
+ firingTimer = 0;
+ }
+ }
+
+ if(firing)
+ {
+ firingTimer += Time.deltaTime;
+ }
+ }
+
+ public void Switch(int value)
+ {
+ bombType += value;
+ if (bombType < 0)
+ {
+ bombType = bombList.Length;
+ bombType--;
+ }
+ else if (bombType >= bombList.Length)
+ {
+ bombType = 0;
+ }
+ if (UImaster)
+ {
+ UiText.text = bombList[bombType].name.ToString();
+ }
+ }
+
+ public void Fire()
+ {
+ if(CameraShake)
+ {
+ CameraShakeCaller.ShakeCamera();
+ }
+ Instantiate(bombList[bombType].muzzleflare, spawnLocatorMuzzleFlare.position, spawnLocatorMuzzleFlare.rotation);
+ // bombList[bombType].muzzleflare.Play();
+
+ if (bombList[bombType].hasShells)
+ {
+ Instantiate(bombList[bombType].shellPrefab, shellLocator.position, shellLocator.rotation);
+ }
+ recoilAnimator.SetTrigger("recoil_trigger");
+
+ Rigidbody rocketInstance;
+ rocketInstance = Instantiate(bombList[bombType].bombPrefab, spawnLocator.position,spawnLocator.rotation) as Rigidbody;
+ // Quaternion.Euler(0,90,0)
+ rocketInstance.AddForce(spawnLocator.forward * Random.Range(bombList[bombType].min, bombList[bombType].max));
+
+ if (bombList[bombType].shotgunBehavior)
+ {
+ for(int i = 0; i < bombList[bombType].shotgunPellets ;i++ )
+ {
+ Rigidbody rocketInstanceShotgun;
+ rocketInstanceShotgun = Instantiate(bombList[bombType].bombPrefab, shotgunLocator[i].position, shotgunLocator[i].rotation) as Rigidbody;
+ // Quaternion.Euler(0,90,0)
+ rocketInstanceShotgun.AddForce(shotgunLocator[i].forward * Random.Range(bombList[bombType].min, bombList[bombType].max));
+ }
+ }
+
+ if (Torque)
+ {
+ rocketInstance.AddTorque(spawnLocator.up * Random.Range(Tor_min, Tor_max));
+ }
+ if (MinorRotate)
+ {
+ RandomizeRotation();
+ }
+ if (MajorRotate)
+ {
+ Major_RandomizeRotation();
+ }
+ }
+
+
+ void RandomizeRotation()
+ {
+ if (seq == 0)
+ {
+ seq++;
+ transform.Rotate(0, 1, 0);
+ }
+ else if (seq == 1)
+ {
+ seq++;
+ transform.Rotate(1, 1, 0);
+ }
+ else if (seq == 2)
+ {
+ seq++;
+ transform.Rotate(1, -3, 0);
+ }
+ else if (seq == 3)
+ {
+ seq++;
+ transform.Rotate(-2, 1, 0);
+ }
+ else if (seq == 4)
+ {
+ seq++;
+ transform.Rotate(1, 1, 1);
+ }
+ else if (seq == 5)
+ {
+ seq = 0;
+ transform.Rotate(-1, -1, -1);
+ }
+ }
+
+ void Major_RandomizeRotation()
+ {
+ if (seq == 0)
+ {
+ seq++;
+ transform.Rotate(0, 25, 0);
+ }
+ else if (seq == 1)
+ {
+ seq++;
+ transform.Rotate(0, -50, 0);
+ }
+ else if (seq == 2)
+ {
+ seq++;
+ transform.Rotate(0, 25, 0);
+ }
+ else if (seq == 3)
+ {
+ seq++;
+ transform.Rotate(25, 0, 0);
+ }
+ else if (seq == 4)
+ {
+ seq++;
+ transform.Rotate(-50, 0, 0);
+ }
+ else if (seq == 5)
+ {
+ seq = 0;
+ transform.Rotate(25, 0, 0);
+ }
+ }
+}
diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/scripts/projectileActor.cs.meta b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/scripts/projectileActor.cs.meta new file mode 100644 index 00000000..682e1742 --- /dev/null +++ b/Assets/Art/Vfx/StylizedProjectilePack1/WebDemo/scripts/projectileActor.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 24ae8ab904635734bab03b361009b30d +timeCreated: 1483283782 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: |