完成编队 增加多个细节和小功能
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 13277d7f4b382ca4ba59a28ca24f77d3
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b16b62c0c52758c4785b56fb1ffad1c5
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,157 @@
|
||||
#if UNITY_EDITOR
|
||||
using System.Collections.Generic;
|
||||
using System.Text.RegularExpressions;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace SmoothShakeFree
|
||||
{
|
||||
public static class EditorUtility
|
||||
{
|
||||
#if UNITY_2020
|
||||
public static Color SmoothShakeFreeColor = new Color(0.78f, 0.78f, 0.78f);
|
||||
#else
|
||||
public static Color SmoothShakeFreeColor = new(0.78f, 0.78f, 0.78f);
|
||||
#endif
|
||||
|
||||
public static void DrawTitle(string title)
|
||||
{
|
||||
//-------------------------------------------
|
||||
// Create a custom GUIStyle
|
||||
GUIStyle titleStyle = new GUIStyle(EditorStyles.boldLabel);
|
||||
titleStyle.fontSize = 18; // Adjust the font size as needed
|
||||
titleStyle.fontStyle = FontStyle.Bold;
|
||||
titleStyle.alignment = TextAnchor.MiddleCenter;
|
||||
//-------------------------------------------
|
||||
|
||||
EditorGUILayout.LabelField(title, titleStyle);
|
||||
EditorGUILayout.GetControlRect(false, 10);
|
||||
}
|
||||
|
||||
public static void DrawUILine(Color color, int thickness = 2, int padding = 10)
|
||||
{
|
||||
Rect r = EditorGUILayout.GetControlRect(GUILayout.Height(padding + thickness));
|
||||
r.height = thickness;
|
||||
r.y += padding / 2;
|
||||
r.x -= 2;
|
||||
r.width += 6;
|
||||
EditorGUI.DrawRect(r, color);
|
||||
}
|
||||
|
||||
public static void DisplaySerializedProperties(SerializedObject obj, params string[] properties)
|
||||
{
|
||||
foreach (string property in properties)
|
||||
{
|
||||
SerializedProperty myDataProperty = obj.FindProperty(property);
|
||||
if (myDataProperty == null)
|
||||
{
|
||||
Debug.LogError("Property '" + property + "' not found!");
|
||||
continue;
|
||||
}
|
||||
EditorGUILayout.PropertyField(myDataProperty, true);
|
||||
obj.ApplyModifiedProperties();
|
||||
}
|
||||
}
|
||||
|
||||
public static void DrawSerializedProperties(SerializedProperty property, ref Rect position, float padding, params string[] properties)
|
||||
{
|
||||
for (int i = 0; i < properties.Length; i++)
|
||||
{
|
||||
SerializedProperty newProperty = property.FindPropertyRelative(properties[i]);
|
||||
|
||||
if (newProperty == null)
|
||||
Debug.LogError("Property '" + properties[i] + "' not found!");
|
||||
|
||||
float propertyHeight = EditorGUI.GetPropertyHeight(newProperty);
|
||||
Rect fieldRect = new Rect(position.x, position.y, position.width, propertyHeight);
|
||||
EditorGUI.PropertyField(fieldRect, newProperty);
|
||||
position.y += propertyHeight + padding;
|
||||
}
|
||||
}
|
||||
|
||||
public static string AddSpacesToSentence(string text, bool preserveAcronyms = true)
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(text))
|
||||
return string.Empty;
|
||||
string newText = Regex.Replace(text, "([a-z])([A-Z])", "$1 $2");
|
||||
if (preserveAcronyms)
|
||||
{
|
||||
newText = Regex.Replace(newText, "([A-Z])([A-Z][a-z])", "$1 $2");
|
||||
}
|
||||
return newText;
|
||||
}
|
||||
|
||||
public static void DrawPropertiesHorizontally(SerializedProperty property, ref Rect position, string label, float padding, float minWidth, float[] weight, params string[] properties)
|
||||
{
|
||||
if (position.width < 5) return;
|
||||
|
||||
Rect[] rects = new Rect[properties.Length];
|
||||
|
||||
float[] minWidths = new float[properties.Length];
|
||||
for (int i = 0; i < minWidths.Length; i++) minWidths[i] = minWidth;
|
||||
|
||||
Rect rect = new Rect(position.x, position.y, position.width, EditorGUIUtility.singleLineHeight);
|
||||
SplitRectsHorizontally(rect, padding, minWidths, weight, ref rects);
|
||||
|
||||
for (int i = 0; i < properties.Length; i++)
|
||||
{
|
||||
if (i == 0) EditorGUI.PropertyField(rects[0], property.FindPropertyRelative(properties[0]), new GUIContent(label));
|
||||
else EditorGUI.PropertyField(rects[i], property.FindPropertyRelative(properties[i]), GUIContent.none);
|
||||
}
|
||||
position.y += EditorGUIUtility.singleLineHeight + padding;
|
||||
}
|
||||
|
||||
public static void DrawDropdown(SerializedProperty property, ref Rect position, float padding, string label, string propertypath)
|
||||
{
|
||||
float dropdownHeight = EditorGUI.GetPropertyHeight(property.FindPropertyRelative(propertypath));
|
||||
Rect dropdownRect = new Rect(position.x, position.y, position.width, dropdownHeight);
|
||||
EditorGUI.PropertyField(dropdownRect, property.FindPropertyRelative(propertypath), new GUIContent(label));
|
||||
position.y += dropdownHeight + padding;
|
||||
}
|
||||
|
||||
public static bool ThinView(float viewWidth = 330f)
|
||||
{
|
||||
if (EditorGUIUtility.currentViewWidth > viewWidth)
|
||||
return false;
|
||||
else
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
//------------------
|
||||
//Credit for this section goes to Wessel van der Es
|
||||
public static void SplitRectsHorizontally(this Rect rect, float space, float[] minWidths, float[] weights, ref Rect[] rects)
|
||||
{
|
||||
int count = weights.Length;
|
||||
|
||||
float budget = rect.width - (count - 1) * space - minWidths.Sum();
|
||||
float totalWeight = weights.Sum();
|
||||
|
||||
float offset = 0.0f;
|
||||
float error = 0.0f;
|
||||
for (int i = 0; i < count; i++)
|
||||
{
|
||||
rects[i] = rect;
|
||||
rects[i].x += offset;
|
||||
rects[i].width = minWidths[i] + weights[i] / totalWeight * budget + error;
|
||||
|
||||
float rounded = Mathf.Round(rects[i].width);
|
||||
error = rects[i].width - rounded;
|
||||
rects[i].width = rounded;
|
||||
|
||||
offset += rects[i].width + space;
|
||||
}
|
||||
}
|
||||
|
||||
public static float Sum(this IEnumerable<float> numbers)
|
||||
{
|
||||
float sum = 0.0f;
|
||||
foreach (float number in numbers)
|
||||
sum += number;
|
||||
return sum;
|
||||
}
|
||||
//------------------
|
||||
}
|
||||
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0cd3d6475f5fc654b8f15e75e854c3e1
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {fileID: 2800000, guid: ce2446e8e0ad47b4c8554496daa9625e, type: 3}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 271263
|
||||
packageName: Smooth Shake Free
|
||||
packageVersion: 1.0.2
|
||||
assetPath: Assets/SmoothShakeFree/Data/Editor/EditorUtility.cs
|
||||
uploadId: 656168
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f7466c00f029c2e46aa5ba478ff9ae38
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
@@ -0,0 +1,134 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ce2446e8e0ad47b4c8554496daa9625e
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 12
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 0
|
||||
wrapV: 0
|
||||
wrapW: 0
|
||||
nPOTScale: 1
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 0
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Server
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID:
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 271263
|
||||
packageName: Smooth Shake Free
|
||||
packageVersion: 1.0.2
|
||||
assetPath: Assets/SmoothShakeFree/Data/Editor/Icons/Icon_Default.png
|
||||
uploadId: 656168
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 6.7 KiB |
@@ -0,0 +1,134 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 78fc80bb49a6807458a322585a480e98
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 12
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 0
|
||||
wrapV: 0
|
||||
wrapW: 0
|
||||
nPOTScale: 1
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 0
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Server
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID:
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 271263
|
||||
packageName: Smooth Shake Free
|
||||
packageVersion: 1.0.2
|
||||
assetPath: Assets/SmoothShakeFree/Data/Editor/Icons/Icon_Default_base.png
|
||||
uploadId: 656168
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 6.6 KiB |
@@ -0,0 +1,134 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cda6f08464b9f844c82e8ff0b03d06be
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 12
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 0
|
||||
wrapV: 0
|
||||
wrapW: 0
|
||||
nPOTScale: 1
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 0
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Server
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID:
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 271263
|
||||
packageName: Smooth Shake Free
|
||||
packageVersion: 1.0.2
|
||||
assetPath: Assets/SmoothShakeFree/Data/Editor/Icons/Icon_SmoothShake_Base.png
|
||||
uploadId: 656168
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 8.6 KiB |
@@ -0,0 +1,134 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c0e8b27d7173b314fa78f14aa3686f8e
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 12
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 0
|
||||
wrapV: 0
|
||||
wrapW: 0
|
||||
nPOTScale: 1
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 0
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Server
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID:
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 271263
|
||||
packageName: Smooth Shake Free
|
||||
packageVersion: 1.0.2
|
||||
assetPath: Assets/SmoothShakeFree/Data/Editor/Icons/Icon_SmoothShake_Preset.png
|
||||
uploadId: 656168
|
||||
@@ -0,0 +1,82 @@
|
||||
#if UNITY_EDITOR
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace SmoothShakeFree
|
||||
{
|
||||
[CustomEditor(typeof(ShakeBase), true)]
|
||||
internal class ShakeBaseEditor : Editor
|
||||
{
|
||||
public override void OnInspectorGUI()
|
||||
{
|
||||
serializedObject.Update();
|
||||
|
||||
ShakeBase shakeBase = (ShakeBase)target;
|
||||
|
||||
EditorUtility.DrawTitle("Smooth Shake Free");
|
||||
EditorUtility.DrawUILine(EditorUtility.SmoothShakeFreeColor, 1, 10);
|
||||
|
||||
if(shakeBase is SmoothShake ssf)
|
||||
{
|
||||
DrawPresetInspector(ssf.preset, ssf);
|
||||
}
|
||||
|
||||
EditorUtility.DrawUILine(Color.gray, 1, 10);
|
||||
|
||||
//Draw test buttons
|
||||
DrawTestButtons(shakeBase);
|
||||
|
||||
|
||||
serializedObject.ApplyModifiedProperties();
|
||||
}
|
||||
|
||||
private void DrawPresetInspector(SmoothShakeFreePreset preset, ShakeBase shakeBase)
|
||||
{
|
||||
//Draw preset property
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("preset"), true);
|
||||
|
||||
if (preset)
|
||||
{
|
||||
if (!Application.isPlaying) shakeBase.ApplyPresetSettings(preset);
|
||||
|
||||
//Helpbox
|
||||
EditorGUILayout.HelpBox("This shake being overriden by " + preset.name, MessageType.Info);
|
||||
|
||||
EditorGUILayout.BeginHorizontal();
|
||||
{
|
||||
if (GUILayout.Button("Go To Preset"))
|
||||
{
|
||||
Selection.activeObject = preset;
|
||||
}
|
||||
|
||||
}
|
||||
EditorGUILayout.EndHorizontal();
|
||||
}
|
||||
else
|
||||
{
|
||||
DrawPropertiesExcluding(serializedObject, "m_Script", "preset");
|
||||
}
|
||||
}
|
||||
|
||||
void DrawTestButtons(ShakeBase shakeBase)
|
||||
{
|
||||
//Test start and stop buttons in horizontal
|
||||
EditorGUILayout.BeginHorizontal();
|
||||
{
|
||||
//Disable buttons in edit mode
|
||||
GUI.enabled = Application.isPlaying;
|
||||
if (GUILayout.Button("Test Shake"))
|
||||
shakeBase.StartShake();
|
||||
if (GUILayout.Button("Stop Test Shake"))
|
||||
shakeBase.StopShake();
|
||||
if (GUILayout.Button("Force Stop Test Shake"))
|
||||
shakeBase.ForceStop();
|
||||
}
|
||||
EditorGUILayout.EndHorizontal();
|
||||
|
||||
if (!GUI.enabled)
|
||||
EditorGUILayout.HelpBox("You can only test shakes play mode", MessageType.Info);
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e6b6befad0fd07b4c9c0f9c06aa9dc23
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {fileID: 2800000, guid: ce2446e8e0ad47b4c8554496daa9625e, type: 3}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 271263
|
||||
packageName: Smooth Shake Free
|
||||
packageVersion: 1.0.2
|
||||
assetPath: Assets/SmoothShakeFree/Data/Editor/ShakeBaseEditor.cs
|
||||
uploadId: 656168
|
||||
@@ -0,0 +1,21 @@
|
||||
#if UNITY_EDITOR
|
||||
using UnityEditor;
|
||||
|
||||
namespace SmoothShakeFree
|
||||
{
|
||||
[CustomEditor(typeof(SmoothShakeFreePreset), true)]
|
||||
internal class ShakeBasePresetEditor : Editor
|
||||
{
|
||||
public override void OnInspectorGUI()
|
||||
{
|
||||
EditorUtility.DrawTitle("Smooth Shake Free");
|
||||
EditorUtility.DrawUILine(EditorUtility.SmoothShakeFreeColor, 1, 10);
|
||||
|
||||
serializedObject.Update();
|
||||
DrawPropertiesExcluding(serializedObject, "m_Script");
|
||||
serializedObject.ApplyModifiedProperties();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: edf83b5628d981b41a75cf5009f1e4e6
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {fileID: 2800000, guid: ce2446e8e0ad47b4c8554496daa9625e, type: 3}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 271263
|
||||
packageName: Smooth Shake Free
|
||||
packageVersion: 1.0.2
|
||||
assetPath: Assets/SmoothShakeFree/Data/Editor/ShakeBasePresetEditor.cs
|
||||
uploadId: 656168
|
||||
@@ -0,0 +1,107 @@
|
||||
#if UNITY_EDITOR
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
using System.Collections.Generic;
|
||||
using static SmoothShakeFree.Shaker;
|
||||
|
||||
namespace SmoothShakeFree
|
||||
{
|
||||
[CustomPropertyDrawer(typeof(Shaker))]
|
||||
internal class ShakerDrawer : PropertyDrawer
|
||||
{
|
||||
private readonly float padding = 2f;
|
||||
|
||||
//Init foldoutStates
|
||||
#if UNITY_2020
|
||||
private static Dictionary<string, bool> foldoutStates = new Dictionary<string, bool>();
|
||||
#else
|
||||
private static Dictionary<string, bool> foldoutStates = new();
|
||||
#endif
|
||||
|
||||
//-----------------------------------------------------------------------------------------
|
||||
//Noise type implementation
|
||||
|
||||
//Noise type variable setup
|
||||
private readonly string[] waveVariables = new string[] { "amplitude", "frequency" };
|
||||
private readonly string[] baseVariables = new string[] { "amplitude" };
|
||||
|
||||
public void DrawNoiseTypeSettings(Rect position, SerializedProperty property, NoiseType noiseType)
|
||||
{
|
||||
switch (noiseType)
|
||||
{
|
||||
case NoiseType.SineWave:
|
||||
EditorUtility.DrawSerializedProperties(property, ref position, padding, waveVariables);
|
||||
break;
|
||||
case NoiseType.WhiteNoise:
|
||||
EditorUtility.DrawSerializedProperties(property, ref position, padding, baseVariables);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
public float GetPropertyAmount(NoiseType noiseType) => noiseType switch
|
||||
{
|
||||
NoiseType.SineWave => waveVariables.Length,
|
||||
NoiseType.WhiteNoise => baseVariables.Length,
|
||||
_ => throw new System.Exception("Unknown noise type")
|
||||
};
|
||||
|
||||
//-----------------------------------------------------------------------------------------
|
||||
|
||||
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
|
||||
{
|
||||
//Get noise type info
|
||||
SerializedProperty noiseTypeProperty = property.FindPropertyRelative("noiseType");
|
||||
NoiseType noiseType = (NoiseType)noiseTypeProperty.enumValueIndex;
|
||||
|
||||
// Draw foldout
|
||||
InitFoldout(property, out string key);
|
||||
DrawFoldout(ref position, noiseType, key);
|
||||
if (!foldoutStates[key]) return;
|
||||
|
||||
//Draw the noiseType property
|
||||
EditorUtility.DrawDropdown(property, ref position, padding, "Noise Type", "noiseType");
|
||||
|
||||
// Draw fields based on the selected noiseType
|
||||
DrawNoiseTypeSettings(new Rect(position.x, position.y, position.width, EditorGUIUtility.singleLineHeight), property, noiseType);
|
||||
}
|
||||
|
||||
public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
|
||||
{
|
||||
InitFoldout(property, out string key);
|
||||
if (!foldoutStates[key]) return EditorGUIUtility.singleLineHeight + padding;
|
||||
|
||||
//Add height for foldout
|
||||
float foldoutHeight = EditorGUIUtility.singleLineHeight + padding;
|
||||
|
||||
//Add height for noiseType property
|
||||
NoiseType noiseType = (NoiseType)property.FindPropertyRelative("noiseType").enumValueIndex;
|
||||
float propertiesHeight = GetPropertyAmount(noiseType) * (EditorGUIUtility.singleLineHeight + padding) + padding;
|
||||
if (EditorUtility.ThinView()) propertiesHeight += GetPropertyAmount(noiseType) * (EditorGUIUtility.singleLineHeight + padding);
|
||||
|
||||
return foldoutHeight + propertiesHeight + (EditorGUIUtility.singleLineHeight + padding) + padding;
|
||||
}
|
||||
|
||||
private void InitFoldout(SerializedProperty property, out string key)
|
||||
{
|
||||
key = GetFoldoutKey(property);
|
||||
|
||||
// Initialize foldout state if not present
|
||||
if (!foldoutStates.ContainsKey(key))
|
||||
{
|
||||
foldoutStates[key] = false;
|
||||
}
|
||||
}
|
||||
|
||||
private void DrawFoldout(ref Rect position, NoiseType noiseType, string key)
|
||||
{
|
||||
foldoutStates[key] = EditorGUI.Foldout(new Rect(position.x, position.y, position.width, EditorGUIUtility.singleLineHeight + padding), foldoutStates[key], "Shake Settings", true);
|
||||
position.y += EditorGUIUtility.singleLineHeight + padding;
|
||||
}
|
||||
|
||||
private string GetFoldoutKey(SerializedProperty property)
|
||||
{
|
||||
return property.serializedObject.targetObject.GetInstanceID() + "-" + property.propertyPath;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1ca3e0c191d9ee347989dc612e7472c5
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {fileID: 2800000, guid: ce2446e8e0ad47b4c8554496daa9625e, type: 3}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 271263
|
||||
packageName: Smooth Shake Free
|
||||
packageVersion: 1.0.2
|
||||
assetPath: Assets/SmoothShakeFree/Data/Editor/ShakerDrawer.cs
|
||||
uploadId: 656168
|
||||
@@ -0,0 +1,32 @@
|
||||
#if UNITY_EDITOR
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace SmoothShakeFree
|
||||
{
|
||||
[CustomPropertyDrawer(typeof(TimeSettings))]
|
||||
internal class TimeSettingsDrawer : PropertyDrawer
|
||||
{
|
||||
public float padding = 2f;
|
||||
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
|
||||
{
|
||||
//Draw enableOnStart and constantShake
|
||||
EditorUtility.DrawSerializedProperties(property, ref position, padding, "enableOnStart", "constantShake");
|
||||
|
||||
// Draw fadeInDuration and fadeInCurve
|
||||
EditorUtility.DrawPropertiesHorizontally(property, ref position, "Fade In", padding, 25f, new float[] { 1.5f, 1 }, "fadeInDuration", "fadeInCurve");
|
||||
|
||||
// Draw holdDuration
|
||||
EditorUtility.DrawSerializedProperties(property, ref position, padding, "holdDuration");
|
||||
|
||||
// Draw fadeOutDuration and fadeOutCurve
|
||||
EditorUtility.DrawPropertiesHorizontally(property, ref position, "Fade Out", padding, 25f, new float[] { 1.5f, 1 }, "fadeOutDuration", "fadeOutCurve");
|
||||
}
|
||||
|
||||
public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
|
||||
{
|
||||
return (EditorGUIUtility.singleLineHeight + padding) * 5;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 53770111b3244694ba8d48649c29f0b1
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {fileID: 2800000, guid: ce2446e8e0ad47b4c8554496daa9625e, type: 3}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 271263
|
||||
packageName: Smooth Shake Free
|
||||
packageVersion: 1.0.2
|
||||
assetPath: Assets/SmoothShakeFree/Data/Editor/TimeSettingsDrawer.cs
|
||||
uploadId: 656168
|
||||
@@ -0,0 +1,31 @@
|
||||
#if UNITY_EDITOR
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEditor;
|
||||
|
||||
namespace SmoothShakeFree
|
||||
{
|
||||
internal class WindowLinks : Editor
|
||||
{
|
||||
[MenuItem("Window/SmoothShakeFree/Upgrade to Pro version")]
|
||||
public static void ProLink()
|
||||
{
|
||||
Application.OpenURL("https://assetstore.unity.com/packages/tools/animation/smooth-shake-pro-271080");
|
||||
}
|
||||
|
||||
[MenuItem("Window/SmoothShakeFree/Showcase and Tutorial")]
|
||||
public static void TutorialLink()
|
||||
{
|
||||
Application.OpenURL("https://youtu.be/SFpfRgB9yh0?si=8H1EVeIFZ1tNjTdt");
|
||||
}
|
||||
|
||||
//Leave a review
|
||||
[MenuItem("Window/SmoothShakeFree/Leave a review")]
|
||||
public static void ReviewLink()
|
||||
{
|
||||
Application.OpenURL("https://assetstore.unity.com/packages/tools/animation/smooth-shake-free-271263#reviews");
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6be097daa292f614ca08ebeb7e893fea
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {fileID: 2800000, guid: ce2446e8e0ad47b4c8554496daa9625e, type: 3}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 271263
|
||||
packageName: Smooth Shake Free
|
||||
packageVersion: 1.0.2
|
||||
assetPath: Assets/SmoothShakeFree/Data/Editor/WindowLinks.cs
|
||||
uploadId: 656168
|
||||
@@ -0,0 +1,207 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace SmoothShakeFree
|
||||
{
|
||||
public abstract class ShakeBase : MonoBehaviour
|
||||
{
|
||||
[Header("Time Settings")]
|
||||
[Tooltip("Settings for the shake timing")]
|
||||
public TimeSettings timeSettings;
|
||||
|
||||
private bool willStop = false;
|
||||
|
||||
[HideInInspector] internal Shaker[] shakers;
|
||||
#if UNITY_2020
|
||||
[HideInInspector] internal readonly List<Coroutine> activeShakeRoutines = new List<Coroutine>();
|
||||
#else
|
||||
[HideInInspector] internal readonly List<Coroutine> activeShakeRoutines = new();
|
||||
#endif
|
||||
[HideInInspector] internal Coroutine clearAfterFinished;
|
||||
|
||||
[HideInInspector] internal Vector3[] sum;
|
||||
|
||||
internal void Awake()
|
||||
{
|
||||
shakers = GetShakers();
|
||||
sum = new Vector3[shakers.Length];
|
||||
if (timeSettings.enableOnStart) StartShake();
|
||||
}
|
||||
|
||||
internal void Start()
|
||||
{
|
||||
if (timeSettings.enableOnStart) StartShake();
|
||||
}
|
||||
|
||||
public virtual void StartShake()
|
||||
{
|
||||
willStop = false;
|
||||
if (activeShakeRoutines.Count == 0)
|
||||
{
|
||||
clearAfterFinished = StartCoroutine(ClearAfterFinished());
|
||||
SaveDefaultValues();
|
||||
for (int i = 0; i < shakers.Length; i++)
|
||||
{
|
||||
activeShakeRoutines.Add(StartCoroutine(ShakeRoutine(shakers[i], timeSettings, i)));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
ForceStop();
|
||||
StartShake();
|
||||
}
|
||||
}
|
||||
|
||||
public void StartShake(SmoothShakeFreePreset preset)
|
||||
{
|
||||
ApplyPresetSettings(preset);
|
||||
StartShake();
|
||||
}
|
||||
|
||||
public void StopShake() => willStop = true;
|
||||
|
||||
public void ForceStop()
|
||||
{
|
||||
for (int i = 0; i < activeShakeRoutines.Count; i++)
|
||||
{
|
||||
if (activeShakeRoutines[i] != null)
|
||||
{
|
||||
StopCoroutine(activeShakeRoutines[i]);
|
||||
activeShakeRoutines[i] = null;
|
||||
}
|
||||
}
|
||||
if (clearAfterFinished != null)
|
||||
{
|
||||
StopCoroutine(clearAfterFinished);
|
||||
clearAfterFinished = null;
|
||||
}
|
||||
|
||||
for (int i = 0; i < sum.Length; i++)
|
||||
{
|
||||
sum[i] = Vector3.zero;
|
||||
}
|
||||
|
||||
activeShakeRoutines.Clear();
|
||||
ResetDefaultValues();
|
||||
willStop = false;
|
||||
}
|
||||
|
||||
protected IEnumerator ClearAfterFinished()
|
||||
{
|
||||
if (timeSettings.constantShake)
|
||||
{
|
||||
while (true)
|
||||
{
|
||||
if (willStop) break;
|
||||
yield return null;
|
||||
}
|
||||
yield return new WaitForSeconds(timeSettings.fadeOutDuration);
|
||||
ForceStop();
|
||||
}
|
||||
else
|
||||
{
|
||||
yield return new WaitForSeconds(timeSettings.GetShakeDuration());
|
||||
ForceStop();
|
||||
}
|
||||
}
|
||||
|
||||
protected IEnumerator ShakeRoutine(Shaker shaker, TimeSettings timeSettings, int i)
|
||||
{
|
||||
bool isFadingOut = false;
|
||||
if (timeSettings.fadeInDuration > 0) { yield return FadeRoutine(this.timeSettings.fadeInCurve, shaker, timeSettings, isFadingOut, i); }
|
||||
|
||||
if (timeSettings.holdDuration > 0 && !this.timeSettings.constantShake) { yield return HoldRoutine(timeSettings.holdDuration, shaker, timeSettings, i); }
|
||||
if (this.timeSettings.constantShake) { yield return HoldRoutine(Mathf.Infinity, shaker, timeSettings, i); }
|
||||
|
||||
isFadingOut = true;
|
||||
if (timeSettings.fadeOutDuration > 0) { yield return FadeRoutine(this.timeSettings.fadeOutCurve, shaker, timeSettings, isFadingOut, i); }
|
||||
}
|
||||
|
||||
private IEnumerator FadeRoutine(AnimationCurve curve, Shaker shaker, TimeSettings timeSettings, bool isFadingOut, int i)
|
||||
{
|
||||
//Don't play the fade routine if the curve has no keys
|
||||
if (curve.length <= 1) yield break;
|
||||
|
||||
if (isFadingOut && timeSettings.holdDuration == 0 && timeSettings.fadeInDuration == 0) timeSettings.fadeValue = 1;
|
||||
|
||||
Keyframe[] keys = curve.keys;
|
||||
float tEnd = isFadingOut ? timeSettings.fadeOutDuration : timeSettings.fadeInDuration;
|
||||
float t = 0;
|
||||
|
||||
while (t < tEnd)
|
||||
{
|
||||
if (!isFadingOut && willStop) yield break;
|
||||
#if UNITY_2020
|
||||
float remappedTime = Utility.Remap(t, 0, tEnd, keys[0].time, keys[keys.Length - 1].time);
|
||||
#else
|
||||
float remappedTime = Utility.Remap(t, 0, tEnd, keys[0].time, keys[^1].time);
|
||||
#endif
|
||||
//timeSettings.fadeValue = Utility.Remap(curve.Evaluate(remappedTime), keys[0].value, keys[^1].value, isFadingOut ? 1 : 0, isFadingOut ? 0 : 1);
|
||||
timeSettings.fadeValue = curve.Evaluate(remappedTime);
|
||||
Execute(shaker, timeSettings, i);
|
||||
yield return null;
|
||||
t += Time.deltaTime;
|
||||
}
|
||||
|
||||
#if UNITY_2020
|
||||
timeSettings.fadeValue = Utility.Remap(curve.Evaluate(keys[keys.Length - 1].time), keys[0].value, keys[keys.Length - 1].value, isFadingOut ? 1 : 0, isFadingOut ? 0 : 1);
|
||||
#else
|
||||
timeSettings.fadeValue = Utility.Remap(curve.Evaluate(keys[^1].time), keys[0].value, keys[^1].value, isFadingOut ? 1 : 0, isFadingOut ? 0 : 1);
|
||||
#endif
|
||||
Execute(shaker, timeSettings, i);
|
||||
}
|
||||
|
||||
private IEnumerator HoldRoutine(float duration, Shaker shaker, TimeSettings timeSettings, int i)
|
||||
{
|
||||
if (timeSettings.fadeValue == 0) timeSettings.fadeValue = 1;
|
||||
|
||||
float t = 0;
|
||||
|
||||
// Check if the duration is infinite
|
||||
if (float.IsInfinity(duration))
|
||||
{
|
||||
while (true) // Infinite loop
|
||||
{
|
||||
if (willStop) yield break;
|
||||
|
||||
Execute(shaker, timeSettings, i);
|
||||
yield return null;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
while (t < duration)
|
||||
{
|
||||
if (willStop) yield break;
|
||||
|
||||
Execute(shaker, timeSettings, i);
|
||||
yield return null;
|
||||
t += Time.deltaTime;
|
||||
}
|
||||
}
|
||||
|
||||
if (timeSettings.fadeOutDuration == 0)
|
||||
{
|
||||
timeSettings.fadeValue = 0;
|
||||
Execute(shaker, timeSettings, i);
|
||||
}
|
||||
}
|
||||
|
||||
protected virtual void Execute(Shaker shaker, TimeSettings timeSettings, int i)
|
||||
{
|
||||
sum[i] = shaker.Evaluate(Time.time) * timeSettings.fadeValue;
|
||||
}
|
||||
|
||||
protected virtual void ApplySum() => Apply(sum);
|
||||
|
||||
private void Update() { if (activeShakeRoutines.Count > 0) ApplySum(); }
|
||||
|
||||
internal abstract void Apply(Vector3[] value);
|
||||
protected abstract Shaker[] GetShakers();
|
||||
internal abstract void SaveDefaultValues();
|
||||
internal abstract void ResetDefaultValues();
|
||||
internal abstract void ApplyPresetSettings(SmoothShakeFreePreset preset);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1e85372b54e898b4792097d11349fefe
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {fileID: 2800000, guid: ce2446e8e0ad47b4c8554496daa9625e, type: 3}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 271263
|
||||
packageName: Smooth Shake Free
|
||||
packageVersion: 1.0.2
|
||||
assetPath: Assets/SmoothShakeFree/Data/ShakeBase.cs
|
||||
uploadId: 656168
|
||||
@@ -0,0 +1,54 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace SmoothShakeFree
|
||||
{
|
||||
[Serializable]
|
||||
public class Shaker
|
||||
{
|
||||
//Serializable Properties
|
||||
[Tooltip("The type of shake to use")]
|
||||
public NoiseType noiseType;
|
||||
|
||||
//Serializable properties
|
||||
[Tooltip("The amplitude (strength) of this shaker")]
|
||||
public Vector3 amplitude;
|
||||
[Tooltip("The frequency (speed) of this shaker")]
|
||||
public Vector3 frequency;
|
||||
|
||||
//Convert to Vector3
|
||||
public Vector3 Evaluate(float t)
|
||||
{
|
||||
Vector3 modified;
|
||||
modified.x = EvaluateBase(t, amplitude.x, frequency.x);
|
||||
modified.y = EvaluateBase(t, amplitude.y, frequency.y);
|
||||
modified.z = EvaluateBase(t, amplitude.z, frequency.z);
|
||||
return modified;
|
||||
}
|
||||
|
||||
//Evaluate based on noise type
|
||||
protected float EvaluateBase(
|
||||
float t,
|
||||
float amplitude,
|
||||
float frequency
|
||||
) => noiseType switch
|
||||
{
|
||||
NoiseType.SineWave => amplitude * EvaluateSinewave(frequency * t),
|
||||
NoiseType.WhiteNoise => amplitude * EvaluateWhiteNoise(),
|
||||
_ => throw new Exception("Unknown noise type")
|
||||
};
|
||||
|
||||
//Enum to store noise type
|
||||
public enum NoiseType
|
||||
{
|
||||
SineWave,
|
||||
WhiteNoise,
|
||||
}
|
||||
|
||||
//SineWave
|
||||
private float EvaluateSinewave(float t) => Mathf.Sin(2 * Mathf.PI * t);
|
||||
|
||||
//Whitenoise
|
||||
private float EvaluateWhiteNoise() => UnityEngine.Random.Range(-1f, 1f);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a7fc9e73e844e3b47a76216c53f5da75
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {fileID: 2800000, guid: ce2446e8e0ad47b4c8554496daa9625e, type: 3}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 271263
|
||||
packageName: Smooth Shake Free
|
||||
packageVersion: 1.0.2
|
||||
assetPath: Assets/SmoothShakeFree/Data/Shaker.cs
|
||||
uploadId: 656168
|
||||
@@ -0,0 +1,303 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!181963792 &2655988077585873504
|
||||
Preset:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: SmoothShakeFreeDefault
|
||||
m_TargetType:
|
||||
m_NativeTypeID: 114
|
||||
m_ManagedTypePPtr: {fileID: 11500000, guid: ca6c4a2ae5b653d4da56baa3a520f389, type: 3}
|
||||
m_ManagedTypeFallback:
|
||||
m_Properties:
|
||||
- target: {fileID: 0}
|
||||
propertyPath: m_Enabled
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: m_EditorHideFlags
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: m_EditorClassIdentifier
|
||||
value:
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeValue
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.enableOnStart
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.constantShake
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeInDuration
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeInCurve.m_Curve.Array.size
|
||||
value: 2
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeInCurve.m_Curve.Array.data[0].time
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeInCurve.m_Curve.Array.data[0].value
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeInCurve.m_Curve.Array.data[0].inSlope
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeInCurve.m_Curve.Array.data[0].outSlope
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeInCurve.m_Curve.Array.data[0].tangentMode
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeInCurve.m_Curve.Array.data[0].weightedMode
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeInCurve.m_Curve.Array.data[0].inWeight
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeInCurve.m_Curve.Array.data[0].outWeight
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeInCurve.m_Curve.Array.data[1].time
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeInCurve.m_Curve.Array.data[1].value
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeInCurve.m_Curve.Array.data[1].inSlope
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeInCurve.m_Curve.Array.data[1].outSlope
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeInCurve.m_Curve.Array.data[1].tangentMode
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeInCurve.m_Curve.Array.data[1].weightedMode
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeInCurve.m_Curve.Array.data[1].inWeight
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeInCurve.m_Curve.Array.data[1].outWeight
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeInCurve.m_PreInfinity
|
||||
value: 2
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeInCurve.m_PostInfinity
|
||||
value: 2
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeInCurve.m_RotationOrder
|
||||
value: 4
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.holdDuration
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeOutDuration
|
||||
value: 0.3
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeOutCurve.m_Curve.Array.size
|
||||
value: 2
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeOutCurve.m_Curve.Array.data[0].time
|
||||
value: 0.016666412
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeOutCurve.m_Curve.Array.data[0].value
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeOutCurve.m_Curve.Array.data[0].inSlope
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeOutCurve.m_Curve.Array.data[0].outSlope
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeOutCurve.m_Curve.Array.data[0].tangentMode
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeOutCurve.m_Curve.Array.data[0].weightedMode
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeOutCurve.m_Curve.Array.data[0].inWeight
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeOutCurve.m_Curve.Array.data[0].outWeight
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeOutCurve.m_Curve.Array.data[1].time
|
||||
value: 0.9916687
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeOutCurve.m_Curve.Array.data[1].value
|
||||
value: 0.0070762634
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeOutCurve.m_Curve.Array.data[1].inSlope
|
||||
value: 0.02483903
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeOutCurve.m_Curve.Array.data[1].outSlope
|
||||
value: 0.02483903
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeOutCurve.m_Curve.Array.data[1].tangentMode
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeOutCurve.m_Curve.Array.data[1].weightedMode
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeOutCurve.m_Curve.Array.data[1].inWeight
|
||||
value: 0.09741809
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeOutCurve.m_Curve.Array.data[1].outWeight
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeOutCurve.m_PreInfinity
|
||||
value: 2
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeOutCurve.m_PostInfinity
|
||||
value: 2
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: timeSettings.fadeOutCurve.m_RotationOrder
|
||||
value: 4
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: shakers.Array.size
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: sum.Array.size
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: preset
|
||||
value:
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: positionShake.noiseType
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: positionShake.amplitude.x
|
||||
value: 0.3
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: positionShake.amplitude.y
|
||||
value: 0.3
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: positionShake.amplitude.z
|
||||
value: 0.3
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: positionShake.frequency.x
|
||||
value: 5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: positionShake.frequency.y
|
||||
value: 5.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: positionShake.frequency.z
|
||||
value: 4.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: rotationShake.noiseType
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: rotationShake.amplitude.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: rotationShake.amplitude.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: rotationShake.amplitude.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: rotationShake.frequency.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: rotationShake.frequency.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: rotationShake.frequency.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: startPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: startPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: startPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: startRotation.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: startRotation.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 0}
|
||||
propertyPath: startRotation.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
m_ExcludedProperties: []
|
||||
@@ -0,0 +1,15 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a6b2485f1546b454091cd313d22a4b99
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2655988077585873504
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 271263
|
||||
packageName: Smooth Shake Free
|
||||
packageVersion: 1.0.2
|
||||
assetPath: Assets/SmoothShakeFree/Data/SmoothShakeFreeDefault.preset
|
||||
uploadId: 656168
|
||||
@@ -0,0 +1,30 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace SmoothShakeFree
|
||||
{
|
||||
[CreateAssetMenu(fileName = "SmoothShakePreset", menuName = "Smooth Shake Free/Smooth Shake Preset", order = 1)]
|
||||
public class SmoothShakeFreePreset : ScriptableObject
|
||||
{
|
||||
[Header("Time Settings")]
|
||||
[Tooltip("Settings for the shake timing")]
|
||||
public TimeSettings timeSettings;
|
||||
|
||||
#if UNITY_2020
|
||||
[Header("Position Shake Settings")]
|
||||
[Tooltip("Settings for Position Shake")]
|
||||
public Shaker positionShake = new Shaker();
|
||||
|
||||
[Header("Rotation Shake Settings")]
|
||||
[Tooltip("Settings for Rotation Shake")]
|
||||
public Shaker rotationShake = new Shaker();
|
||||
#else
|
||||
[Header("Position Shake Settings")]
|
||||
[Tooltip("Settings for Position Shake")]
|
||||
public Shaker positionShake = new();
|
||||
|
||||
[Header("Rotation Shake Settings")]
|
||||
[Tooltip("Settings for Rotation Shake")]
|
||||
public Shaker rotationShake = new();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e1e0b737a04a0c14db3ea96032bcb14c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {fileID: 2800000, guid: c0e8b27d7173b314fa78f14aa3686f8e, type: 3}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 271263
|
||||
packageName: Smooth Shake Free
|
||||
packageVersion: 1.0.2
|
||||
assetPath: Assets/SmoothShakeFree/Data/SmoothShakeFreePreset.cs
|
||||
uploadId: 656168
|
||||
@@ -0,0 +1,30 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace SmoothShakeFree
|
||||
{
|
||||
[System.Serializable]
|
||||
public struct TimeSettings
|
||||
{
|
||||
[HideInInspector] public float fadeValue;
|
||||
|
||||
[Tooltip("Play this shake on start")]
|
||||
public bool enableOnStart;
|
||||
[Tooltip("Use an infinite holdduration (until stopped)")]
|
||||
public bool constantShake;
|
||||
|
||||
[Tooltip("How long the shake fade in should last")]
|
||||
public float fadeInDuration;
|
||||
[Tooltip("The curve to use for the shake fade in")]
|
||||
public AnimationCurve fadeInCurve;
|
||||
|
||||
[Tooltip("How long the shake should hold at full strength")]
|
||||
public float holdDuration;
|
||||
|
||||
[Tooltip("How long the shake fade out should last")]
|
||||
public float fadeOutDuration;
|
||||
[Tooltip("The curve to use for the shake fade out")]
|
||||
public AnimationCurve fadeOutCurve;
|
||||
public readonly float GetShakeDuration() => fadeInDuration + holdDuration + fadeOutDuration;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 98805097a78538347a9edff3148d94dc
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {fileID: 2800000, guid: ce2446e8e0ad47b4c8554496daa9625e, type: 3}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 271263
|
||||
packageName: Smooth Shake Free
|
||||
packageVersion: 1.0.2
|
||||
assetPath: Assets/SmoothShakeFree/Data/TimeSettings.cs
|
||||
uploadId: 656168
|
||||
@@ -0,0 +1,10 @@
|
||||
namespace SmoothShakeFree
|
||||
{
|
||||
public static class Utility
|
||||
{
|
||||
public static float Remap(float valueInput, float oldRangeMin, float oldRangeMax, float newRangeMin, float newRangeMax)
|
||||
{
|
||||
return newRangeMin + (valueInput - oldRangeMin) * (newRangeMax - newRangeMin) / (oldRangeMax - oldRangeMin);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 24edcbf108763074aaab22c3f0c9c6af
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {fileID: 2800000, guid: ce2446e8e0ad47b4c8554496daa9625e, type: 3}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 271263
|
||||
packageName: Smooth Shake Free
|
||||
packageVersion: 1.0.2
|
||||
assetPath: Assets/SmoothShakeFree/Data/Utility.cs
|
||||
uploadId: 656168
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: aa91c4d2219f4d243bed78b93503c1e9
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 541ff645ac7fe4a4cb41e2868636ac81
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,83 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: New Material
|
||||
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords: []
|
||||
m_InvalidKeywords: []
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_LockedProperties:
|
||||
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: 5, y: 5}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 2800000, guid: 12f8fa19f9506d5488035d272340d746, type: 3}
|
||||
m_Scale: {x: 5, y: 5}
|
||||
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}
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- _BumpScale: 1
|
||||
- _Cutoff: 0.5
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 0
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0.003
|
||||
- _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.24528301, g: 0.24528301, b: 0.24528301, a: 1}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
m_BuildTextureStacks: []
|
||||
@@ -0,0 +1,15 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0590618999af9aa4488fa4524dca2eec
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 271263
|
||||
packageName: Smooth Shake Free
|
||||
packageVersion: 1.0.2
|
||||
assetPath: Assets/SmoothShakeFree/Demo/DemoFiles/New Material.mat
|
||||
uploadId: 656168
|
||||
@@ -0,0 +1,169 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &3583153829176477388
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 7649443919015043683}
|
||||
- component: {fileID: 8723832863480168497}
|
||||
m_Layer: 0
|
||||
m_Name: Directional Light
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &7649443919015043683
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3583153829176477388}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
|
||||
m_LocalPosition: {x: 0, y: 3, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 579091995913619260}
|
||||
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
|
||||
--- !u!108 &8723832863480168497
|
||||
Light:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3583153829176477388}
|
||||
m_Enabled: 1
|
||||
serializedVersion: 10
|
||||
m_Type: 1
|
||||
m_Shape: 0
|
||||
m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1}
|
||||
m_Intensity: 1
|
||||
m_Range: 10
|
||||
m_SpotAngle: 30
|
||||
m_InnerSpotAngle: 21.80208
|
||||
m_CookieSize: 10
|
||||
m_Shadows:
|
||||
m_Type: 2
|
||||
m_Resolution: -1
|
||||
m_CustomResolution: -1
|
||||
m_Strength: 1
|
||||
m_Bias: 0.05
|
||||
m_NormalBias: 0.4
|
||||
m_NearPlane: 0.2
|
||||
m_CullingMatrixOverride:
|
||||
e00: 1
|
||||
e01: 0
|
||||
e02: 0
|
||||
e03: 0
|
||||
e10: 0
|
||||
e11: 1
|
||||
e12: 0
|
||||
e13: 0
|
||||
e20: 0
|
||||
e21: 0
|
||||
e22: 1
|
||||
e23: 0
|
||||
e30: 0
|
||||
e31: 0
|
||||
e32: 0
|
||||
e33: 1
|
||||
m_UseCullingMatrixOverride: 0
|
||||
m_Cookie: {fileID: 0}
|
||||
m_DrawHalo: 0
|
||||
m_Flare: {fileID: 0}
|
||||
m_RenderMode: 0
|
||||
m_CullingMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
m_RenderingLayerMask: 1
|
||||
m_Lightmapping: 4
|
||||
m_LightShadowCasterMode: 0
|
||||
m_AreaSize: {x: 1, y: 1}
|
||||
m_BounceIntensity: 1
|
||||
m_ColorTemperature: 6570
|
||||
m_UseColorTemperature: 0
|
||||
m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_UseBoundingSphereOverride: 0
|
||||
m_UseViewFrustumForShadowCasterCull: 1
|
||||
m_ShadowRadius: 0
|
||||
m_ShadowAngle: 0
|
||||
--- !u!1001 &1117983867014832343
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: -8679921383154817045, guid: 9a4550b65486eb44b8ce4c7535d4a99a, type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 2
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 9a4550b65486eb44b8ce4c7535d4a99a, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 9a4550b65486eb44b8ce4c7535d4a99a, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 9a4550b65486eb44b8ce4c7535d4a99a, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 9a4550b65486eb44b8ce4c7535d4a99a, type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 9a4550b65486eb44b8ce4c7535d4a99a, type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 9a4550b65486eb44b8ce4c7535d4a99a, type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 9a4550b65486eb44b8ce4c7535d4a99a, type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 9a4550b65486eb44b8ce4c7535d4a99a, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 9a4550b65486eb44b8ce4c7535d4a99a, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 9a4550b65486eb44b8ce4c7535d4a99a, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -7511558181221131132, guid: 9a4550b65486eb44b8ce4c7535d4a99a, type: 3}
|
||||
propertyPath: 'm_Materials.Array.data[0]'
|
||||
value:
|
||||
objectReference: {fileID: 2100000, guid: 0590618999af9aa4488fa4524dca2eec, type: 2}
|
||||
- target: {fileID: 919132149155446097, guid: 9a4550b65486eb44b8ce4c7535d4a99a, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: bg Variant
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_RemovedGameObjects: []
|
||||
m_AddedGameObjects:
|
||||
- targetCorrespondingSourceObject: {fileID: -8679921383154817045, guid: 9a4550b65486eb44b8ce4c7535d4a99a, type: 3}
|
||||
insertIndex: -1
|
||||
addedObject: {fileID: 7649443919015043683}
|
||||
m_AddedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 9a4550b65486eb44b8ce4c7535d4a99a, type: 3}
|
||||
--- !u!4 &579091995913619260 stripped
|
||||
Transform:
|
||||
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 9a4550b65486eb44b8ce4c7535d4a99a, type: 3}
|
||||
m_PrefabInstance: {fileID: 1117983867014832343}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
@@ -0,0 +1,14 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c1acef6325a89174f9dd6bda07e6729c
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 271263
|
||||
packageName: Smooth Shake Free
|
||||
packageVersion: 1.0.2
|
||||
assetPath: Assets/SmoothShakeFree/Demo/DemoFiles/bg Variant.prefab
|
||||
uploadId: 656168
|
||||
Binary file not shown.
@@ -0,0 +1,116 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9a4550b65486eb44b8ce4c7535d4a99a
|
||||
ModelImporter:
|
||||
serializedVersion: 22200
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
materials:
|
||||
materialImportMode: 2
|
||||
materialName: 0
|
||||
materialSearch: 1
|
||||
materialLocation: 1
|
||||
animations:
|
||||
legacyGenerateAnimations: 4
|
||||
bakeSimulation: 0
|
||||
resampleCurves: 1
|
||||
optimizeGameObjects: 0
|
||||
removeConstantScaleCurves: 0
|
||||
motionNodeName:
|
||||
rigImportErrors:
|
||||
rigImportWarnings:
|
||||
animationImportErrors:
|
||||
animationImportWarnings:
|
||||
animationRetargetingWarnings:
|
||||
animationDoRetargetingWarnings: 0
|
||||
importAnimatedCustomProperties: 0
|
||||
importConstraints: 0
|
||||
animationCompression: 1
|
||||
animationRotationError: 0.5
|
||||
animationPositionError: 0.5
|
||||
animationScaleError: 0.5
|
||||
animationWrapMode: 0
|
||||
extraExposedTransformPaths: []
|
||||
extraUserProperties: []
|
||||
clipAnimations: []
|
||||
isReadable: 0
|
||||
meshes:
|
||||
lODScreenPercentages: []
|
||||
globalScale: 1
|
||||
meshCompression: 0
|
||||
addColliders: 0
|
||||
useSRGBMaterialColor: 1
|
||||
sortHierarchyByName: 1
|
||||
importPhysicalCameras: 1
|
||||
importVisibility: 1
|
||||
importBlendShapes: 1
|
||||
importCameras: 1
|
||||
importLights: 1
|
||||
nodeNameCollisionStrategy: 1
|
||||
fileIdsGeneration: 2
|
||||
swapUVChannels: 0
|
||||
generateSecondaryUV: 0
|
||||
useFileUnits: 1
|
||||
keepQuads: 0
|
||||
weldVertices: 1
|
||||
bakeAxisConversion: 0
|
||||
preserveHierarchy: 0
|
||||
skinWeightsMode: 0
|
||||
maxBonesPerVertex: 4
|
||||
minBoneWeight: 0.001
|
||||
optimizeBones: 1
|
||||
meshOptimizationFlags: -1
|
||||
indexFormat: 0
|
||||
secondaryUVAngleDistortion: 8
|
||||
secondaryUVAreaDistortion: 15.000001
|
||||
secondaryUVHardAngle: 88
|
||||
secondaryUVMarginMethod: 1
|
||||
secondaryUVMinLightmapResolution: 40
|
||||
secondaryUVMinObjectScale: 1
|
||||
secondaryUVPackMargin: 4
|
||||
useFileScale: 1
|
||||
strictVertexDataChecks: 0
|
||||
tangentSpace:
|
||||
normalSmoothAngle: 60
|
||||
normalImportMode: 0
|
||||
tangentImportMode: 3
|
||||
normalCalculationMode: 4
|
||||
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
|
||||
blendShapeNormalImportMode: 1
|
||||
normalSmoothingSource: 0
|
||||
referencedClips: []
|
||||
importAnimation: 1
|
||||
humanDescription:
|
||||
serializedVersion: 3
|
||||
human: []
|
||||
skeleton: []
|
||||
armTwist: 0.5
|
||||
foreArmTwist: 0.5
|
||||
upperLegTwist: 0.5
|
||||
legTwist: 0.5
|
||||
armStretch: 0.05
|
||||
legStretch: 0.05
|
||||
feetSpacing: 0
|
||||
globalScale: 1
|
||||
rootMotionBoneName:
|
||||
hasTranslationDoF: 0
|
||||
hasExtraRoot: 0
|
||||
skeletonHasParents: 1
|
||||
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||
autoGenerateAvatarMappingIfUnspecified: 1
|
||||
animationType: 2
|
||||
humanoidOversampling: 1
|
||||
avatarSetup: 0
|
||||
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
|
||||
importBlendShapeDeformPercent: 1
|
||||
remapMaterialsIfMaterialImportModeIsNone: 0
|
||||
additionalBone: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 271263
|
||||
packageName: Smooth Shake Free
|
||||
packageVersion: 1.0.2
|
||||
assetPath: Assets/SmoothShakeFree/Demo/DemoFiles/bg.fbx
|
||||
uploadId: 656168
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 31 KiB |
@@ -0,0 +1,134 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 12f8fa19f9506d5488035d272340d746
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 12
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 0
|
||||
wrapV: 0
|
||||
wrapW: 0
|
||||
nPOTScale: 1
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 0
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 0
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Server
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID:
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 271263
|
||||
packageName: Smooth Shake Free
|
||||
packageVersion: 1.0.2
|
||||
assetPath: Assets/SmoothShakeFree/Demo/DemoFiles/bgtexture.png
|
||||
uploadId: 656168
|
||||
@@ -0,0 +1,677 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!29 &1
|
||||
OcclusionCullingSettings:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_OcclusionBakeSettings:
|
||||
smallestOccluder: 5
|
||||
smallestHole: 0.25
|
||||
backfaceThreshold: 100
|
||||
m_SceneGUID: 00000000000000000000000000000000
|
||||
m_OcclusionCullingData: {fileID: 0}
|
||||
--- !u!104 &2
|
||||
RenderSettings:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 9
|
||||
m_Fog: 0
|
||||
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||
m_FogMode: 3
|
||||
m_FogDensity: 0.01
|
||||
m_LinearFogStart: 0
|
||||
m_LinearFogEnd: 300
|
||||
m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
|
||||
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
|
||||
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
|
||||
m_AmbientIntensity: 1
|
||||
m_AmbientMode: 0
|
||||
m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
|
||||
m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_HaloStrength: 0.5
|
||||
m_FlareStrength: 1
|
||||
m_FlareFadeSpeed: 3
|
||||
m_HaloTexture: {fileID: 0}
|
||||
m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_DefaultReflectionMode: 0
|
||||
m_DefaultReflectionResolution: 128
|
||||
m_ReflectionBounces: 1
|
||||
m_ReflectionIntensity: 1
|
||||
m_CustomReflection: {fileID: 0}
|
||||
m_Sun: {fileID: 0}
|
||||
m_IndirectSpecularColor: {r: 0.18028378, g: 0.22571412, b: 0.30692285, a: 1}
|
||||
m_UseRadianceAmbientProbe: 0
|
||||
--- !u!157 &3
|
||||
LightmapSettings:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 12
|
||||
m_GIWorkflowMode: 1
|
||||
m_GISettings:
|
||||
serializedVersion: 2
|
||||
m_BounceScale: 1
|
||||
m_IndirectOutputScale: 1
|
||||
m_AlbedoBoost: 1
|
||||
m_EnvironmentLightingMode: 0
|
||||
m_EnableBakedLightmaps: 1
|
||||
m_EnableRealtimeLightmaps: 0
|
||||
m_LightmapEditorSettings:
|
||||
serializedVersion: 12
|
||||
m_Resolution: 2
|
||||
m_BakeResolution: 40
|
||||
m_AtlasSize: 1024
|
||||
m_AO: 0
|
||||
m_AOMaxDistance: 1
|
||||
m_CompAOExponent: 1
|
||||
m_CompAOExponentDirect: 0
|
||||
m_ExtractAmbientOcclusion: 0
|
||||
m_Padding: 2
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_LightmapsBakeMode: 1
|
||||
m_TextureCompression: 1
|
||||
m_ReflectionCompression: 2
|
||||
m_MixedBakeMode: 2
|
||||
m_BakeBackend: 1
|
||||
m_PVRSampling: 1
|
||||
m_PVRDirectSampleCount: 32
|
||||
m_PVRSampleCount: 512
|
||||
m_PVRBounces: 2
|
||||
m_PVREnvironmentSampleCount: 256
|
||||
m_PVREnvironmentReferencePointCount: 2048
|
||||
m_PVRFilteringMode: 1
|
||||
m_PVRDenoiserTypeDirect: 1
|
||||
m_PVRDenoiserTypeIndirect: 1
|
||||
m_PVRDenoiserTypeAO: 1
|
||||
m_PVRFilterTypeDirect: 0
|
||||
m_PVRFilterTypeIndirect: 0
|
||||
m_PVRFilterTypeAO: 0
|
||||
m_PVREnvironmentMIS: 1
|
||||
m_PVRCulling: 1
|
||||
m_PVRFilteringGaussRadiusDirect: 1
|
||||
m_PVRFilteringGaussRadiusIndirect: 5
|
||||
m_PVRFilteringGaussRadiusAO: 2
|
||||
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
|
||||
m_PVRFilteringAtrousPositionSigmaIndirect: 2
|
||||
m_PVRFilteringAtrousPositionSigmaAO: 1
|
||||
m_ExportTrainingData: 0
|
||||
m_TrainingDataDestination: TrainingData
|
||||
m_LightProbeSampleCountMultiplier: 4
|
||||
m_LightingDataAsset: {fileID: 0}
|
||||
m_LightingSettings: {fileID: 0}
|
||||
--- !u!196 &4
|
||||
NavMeshSettings:
|
||||
serializedVersion: 2
|
||||
m_ObjectHideFlags: 0
|
||||
m_BuildSettings:
|
||||
serializedVersion: 3
|
||||
agentTypeID: 0
|
||||
agentRadius: 0.5
|
||||
agentHeight: 2
|
||||
agentSlope: 45
|
||||
agentClimb: 0.4
|
||||
ledgeDropHeight: 0
|
||||
maxJumpAcrossDistance: 0
|
||||
minRegionArea: 2
|
||||
manualCellSize: 0
|
||||
cellSize: 0.16666667
|
||||
manualTileSize: 0
|
||||
tileSize: 256
|
||||
buildHeightMesh: 0
|
||||
maxJobWorkers: 0
|
||||
preserveTilesOutsideBounds: 0
|
||||
debug:
|
||||
m_Flags: 0
|
||||
m_NavMeshData: {fileID: 0}
|
||||
--- !u!1 &423434138
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 423434139}
|
||||
m_Layer: 0
|
||||
m_Name: bg
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &423434139
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 423434138}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0.19796014, y: 1.1888651, z: 0.61264193}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 759366652}
|
||||
- {fileID: 1193295235}
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &487020469
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 487020473}
|
||||
- component: {fileID: 487020472}
|
||||
- component: {fileID: 487020471}
|
||||
- component: {fileID: 487020470}
|
||||
- component: {fileID: 487020474}
|
||||
m_Layer: 0
|
||||
m_Name: Object Shake
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!65 &487020470
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 487020469}
|
||||
m_Material: {fileID: 0}
|
||||
m_IncludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_ExcludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_LayerOverridePriority: 0
|
||||
m_IsTrigger: 0
|
||||
m_ProvidesContacts: 0
|
||||
m_Enabled: 1
|
||||
serializedVersion: 3
|
||||
m_Size: {x: 1, y: 1, z: 1}
|
||||
m_Center: {x: 0, y: 0, z: 0}
|
||||
--- !u!23 &487020471
|
||||
MeshRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 487020469}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 1
|
||||
m_ReceiveShadows: 1
|
||||
m_DynamicOccludee: 1
|
||||
m_StaticShadowCaster: 0
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
m_RayTracingMode: 2
|
||||
m_RayTraceProcedural: 0
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
m_StaticBatchRoot: {fileID: 0}
|
||||
m_ProbeAnchor: {fileID: 0}
|
||||
m_LightProbeVolumeOverride: {fileID: 0}
|
||||
m_ScaleInLightmap: 1
|
||||
m_ReceiveGI: 1
|
||||
m_PreserveUVs: 0
|
||||
m_IgnoreNormalsForChartDetection: 0
|
||||
m_ImportantGI: 0
|
||||
m_StitchLightmapSeams: 1
|
||||
m_SelectedEditorRenderState: 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_AdditionalVertexStreams: {fileID: 0}
|
||||
--- !u!33 &487020472
|
||||
MeshFilter:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 487020469}
|
||||
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
|
||||
--- !u!4 &487020473
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 487020469}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0.6, y: 3.21, z: 2.63}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &487020474
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 487020469}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: ca6c4a2ae5b653d4da56baa3a520f389, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
timeSettings:
|
||||
fadeValue: 0
|
||||
enableOnStart: 0
|
||||
constantShake: 1
|
||||
fadeInDuration: 0.5
|
||||
fadeInCurve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
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
|
||||
holdDuration: 0
|
||||
fadeOutDuration: 0.5
|
||||
fadeOutCurve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0.016666412
|
||||
value: 1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
- serializedVersion: 3
|
||||
time: 0.9916687
|
||||
value: 0.0070762634
|
||||
inSlope: 0.02483903
|
||||
outSlope: 0.02483903
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.09741809
|
||||
outWeight: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
preset: {fileID: 0}
|
||||
positionShake:
|
||||
noiseType: 1
|
||||
amplitude: {x: 0, y: 0, z: 0}
|
||||
frequency: {x: 5, y: 5.5, z: 4.5}
|
||||
rotationShake:
|
||||
noiseType: 0
|
||||
amplitude: {x: 5, y: 5, z: 45}
|
||||
frequency: {x: 0.5, y: 1, z: 1.5}
|
||||
--- !u!1001 &759366651
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 423434139}
|
||||
m_Modifications:
|
||||
- target: {fileID: -8679921383154817045, guid: 9a4550b65486eb44b8ce4c7535d4a99a, type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: -1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 9a4550b65486eb44b8ce4c7535d4a99a, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: -0.19796014
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 9a4550b65486eb44b8ce4c7535d4a99a, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: -1.1888651
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 9a4550b65486eb44b8ce4c7535d4a99a, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: -0.61264193
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 9a4550b65486eb44b8ce4c7535d4a99a, type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 9a4550b65486eb44b8ce4c7535d4a99a, type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 9a4550b65486eb44b8ce4c7535d4a99a, type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 9a4550b65486eb44b8ce4c7535d4a99a, type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 9a4550b65486eb44b8ce4c7535d4a99a, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 9a4550b65486eb44b8ce4c7535d4a99a, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 9a4550b65486eb44b8ce4c7535d4a99a, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -7511558181221131132, guid: 9a4550b65486eb44b8ce4c7535d4a99a, type: 3}
|
||||
propertyPath: 'm_Materials.Array.data[0]'
|
||||
value:
|
||||
objectReference: {fileID: 2100000, guid: 0590618999af9aa4488fa4524dca2eec, type: 2}
|
||||
- target: {fileID: 919132149155446097, guid: 9a4550b65486eb44b8ce4c7535d4a99a, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: bg
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_RemovedGameObjects: []
|
||||
m_AddedGameObjects: []
|
||||
m_AddedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 9a4550b65486eb44b8ce4c7535d4a99a, type: 3}
|
||||
--- !u!4 &759366652 stripped
|
||||
Transform:
|
||||
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 9a4550b65486eb44b8ce4c7535d4a99a, type: 3}
|
||||
m_PrefabInstance: {fileID: 759366651}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!1 &1193295233
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1193295235}
|
||||
- component: {fileID: 1193295234}
|
||||
m_Layer: 0
|
||||
m_Name: Directional Light
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!108 &1193295234
|
||||
Light:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1193295233}
|
||||
m_Enabled: 1
|
||||
serializedVersion: 10
|
||||
m_Type: 1
|
||||
m_Shape: 0
|
||||
m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1}
|
||||
m_Intensity: 1
|
||||
m_Range: 10
|
||||
m_SpotAngle: 30
|
||||
m_InnerSpotAngle: 21.80208
|
||||
m_CookieSize: 10
|
||||
m_Shadows:
|
||||
m_Type: 2
|
||||
m_Resolution: -1
|
||||
m_CustomResolution: -1
|
||||
m_Strength: 1
|
||||
m_Bias: 0.05
|
||||
m_NormalBias: 0.4
|
||||
m_NearPlane: 0.2
|
||||
m_CullingMatrixOverride:
|
||||
e00: 1
|
||||
e01: 0
|
||||
e02: 0
|
||||
e03: 0
|
||||
e10: 0
|
||||
e11: 1
|
||||
e12: 0
|
||||
e13: 0
|
||||
e20: 0
|
||||
e21: 0
|
||||
e22: 1
|
||||
e23: 0
|
||||
e30: 0
|
||||
e31: 0
|
||||
e32: 0
|
||||
e33: 1
|
||||
m_UseCullingMatrixOverride: 0
|
||||
m_Cookie: {fileID: 0}
|
||||
m_DrawHalo: 0
|
||||
m_Flare: {fileID: 0}
|
||||
m_RenderMode: 0
|
||||
m_CullingMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
m_RenderingLayerMask: 1
|
||||
m_Lightmapping: 4
|
||||
m_LightShadowCasterMode: 0
|
||||
m_AreaSize: {x: 1, y: 1}
|
||||
m_BounceIntensity: 1
|
||||
m_ColorTemperature: 6570
|
||||
m_UseColorTemperature: 0
|
||||
m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_UseBoundingSphereOverride: 0
|
||||
m_UseViewFrustumForShadowCasterCull: 1
|
||||
m_ShadowRadius: 0
|
||||
m_ShadowAngle: 0
|
||||
--- !u!4 &1193295235
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1193295233}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
|
||||
m_LocalPosition: {x: -0.19796014, y: 1.8111349, z: -0.61264193}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 423434139}
|
||||
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
|
||||
--- !u!1 &1765754632
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1765754635}
|
||||
- component: {fileID: 1765754634}
|
||||
- component: {fileID: 1765754633}
|
||||
- component: {fileID: 1765754636}
|
||||
m_Layer: 0
|
||||
m_Name: Camera Shake
|
||||
m_TagString: MainCamera
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!81 &1765754633
|
||||
AudioListener:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1765754632}
|
||||
m_Enabled: 1
|
||||
--- !u!20 &1765754634
|
||||
Camera:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1765754632}
|
||||
m_Enabled: 1
|
||||
serializedVersion: 2
|
||||
m_ClearFlags: 1
|
||||
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
|
||||
m_projectionMatrixMode: 1
|
||||
m_GateFitMode: 2
|
||||
m_FOVAxisMode: 0
|
||||
m_Iso: 200
|
||||
m_ShutterSpeed: 0.005
|
||||
m_Aperture: 16
|
||||
m_FocusDistance: 10
|
||||
m_FocalLength: 50
|
||||
m_BladeCount: 5
|
||||
m_Curvature: {x: 2, y: 11}
|
||||
m_BarrelClipping: 0.25
|
||||
m_Anamorphism: 0
|
||||
m_SensorSize: {x: 36, y: 24}
|
||||
m_LensShift: {x: 0, y: 0}
|
||||
m_NormalizedViewPortRect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 1
|
||||
height: 1
|
||||
near clip plane: 0.3
|
||||
far clip plane: 1000
|
||||
field of view: 60
|
||||
orthographic: 0
|
||||
orthographic size: 5
|
||||
m_Depth: -1
|
||||
m_CullingMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
m_RenderingPath: -1
|
||||
m_TargetTexture: {fileID: 0}
|
||||
m_TargetDisplay: 0
|
||||
m_TargetEye: 3
|
||||
m_HDR: 1
|
||||
m_AllowMSAA: 1
|
||||
m_AllowDynamicResolution: 0
|
||||
m_ForceIntoRT: 0
|
||||
m_OcclusionCulling: 1
|
||||
m_StereoConvergence: 10
|
||||
m_StereoSeparation: 0.022
|
||||
--- !u!4 &1765754635
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1765754632}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0.16042997, y: 0.37686962, z: -0.066452265, w: 0.9098438}
|
||||
m_LocalPosition: {x: -2.65, y: 5, z: -0.69}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 20, y: 45, z: 0}
|
||||
--- !u!114 &1765754636
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1765754632}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: ca6c4a2ae5b653d4da56baa3a520f389, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
timeSettings:
|
||||
fadeValue: 0
|
||||
enableOnStart: 0
|
||||
constantShake: 1
|
||||
fadeInDuration: 1
|
||||
fadeInCurve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
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
|
||||
holdDuration: 0
|
||||
fadeOutDuration: 1
|
||||
fadeOutCurve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0.016666412
|
||||
value: 1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
- serializedVersion: 3
|
||||
time: 0.9916687
|
||||
value: 0.0070762634
|
||||
inSlope: 2
|
||||
outSlope: 2
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
preset: {fileID: 11400000, guid: 0d1c129a8493c224d8ccc6ce2b4d6771, type: 2}
|
||||
positionShake:
|
||||
noiseType: 0
|
||||
amplitude: {x: 1, y: 1, z: 1}
|
||||
frequency: {x: 0.1, y: 0.15, z: 0.12}
|
||||
rotationShake:
|
||||
noiseType: 0
|
||||
amplitude: {x: 2, y: 2, z: 25}
|
||||
frequency: {x: 0.14, y: 0.18, z: 0.15}
|
||||
--- !u!1660057539 &9223372036854775807
|
||||
SceneRoots:
|
||||
m_ObjectHideFlags: 0
|
||||
m_Roots:
|
||||
- {fileID: 1765754635}
|
||||
- {fileID: 487020473}
|
||||
- {fileID: 423434139}
|
||||
@@ -0,0 +1,14 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 302d8df6cc87d0543af4c9e1ab079b80
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 271263
|
||||
packageName: Smooth Shake Free
|
||||
packageVersion: 1.0.2
|
||||
assetPath: Assets/SmoothShakeFree/Demo/SmoothShakeFreeDemo.unity
|
||||
uploadId: 656168
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fc184c3087328084fbedd86e5cd9c265
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,59 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: e1e0b737a04a0c14db3ea96032bcb14c, type: 3}
|
||||
m_Name: CameraDizzyHit
|
||||
m_EditorClassIdentifier:
|
||||
timeSettings:
|
||||
fadeValue: 0
|
||||
enableOnStart: 0
|
||||
constantShake: 0
|
||||
fadeInDuration: 0
|
||||
fadeInCurve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
holdDuration: 0
|
||||
fadeOutDuration: 0.3
|
||||
fadeOutCurve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0.016666412
|
||||
value: 1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
- serializedVersion: 3
|
||||
time: 0.9916687
|
||||
value: 0.0070762634
|
||||
inSlope: 0.051795844
|
||||
outSlope: 0.051795844
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.09341927
|
||||
outWeight: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
positionShake:
|
||||
noiseType: 0
|
||||
amplitude: {x: 0, y: 0, z: 0}
|
||||
frequency: {x: 0, y: 0, z: 0}
|
||||
rotationShake:
|
||||
noiseType: 0
|
||||
amplitude: {x: 2, y: 2, z: 15}
|
||||
frequency: {x: 5.5, y: 5, z: 4.5}
|
||||
@@ -0,0 +1,15 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 44089c2b640259b42b7acf94a76647f9
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 271263
|
||||
packageName: Smooth Shake Free
|
||||
packageVersion: 1.0.2
|
||||
assetPath: Assets/SmoothShakeFree/Presets/CameraDizzyHit.asset
|
||||
uploadId: 656168
|
||||
@@ -0,0 +1,59 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: e1e0b737a04a0c14db3ea96032bcb14c, type: 3}
|
||||
m_Name: CameraHit
|
||||
m_EditorClassIdentifier:
|
||||
timeSettings:
|
||||
fadeValue: 0
|
||||
enableOnStart: 0
|
||||
constantShake: 0
|
||||
fadeInDuration: 0
|
||||
fadeInCurve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
holdDuration: 0
|
||||
fadeOutDuration: 0.3
|
||||
fadeOutCurve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0.016666412
|
||||
value: 1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
- serializedVersion: 3
|
||||
time: 0.9916687
|
||||
value: 0.0070762634
|
||||
inSlope: -0.052910782
|
||||
outSlope: -0.052910782
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.09142005
|
||||
outWeight: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
positionShake:
|
||||
noiseType: 1
|
||||
amplitude: {x: 0.2, y: 0.2, z: 0.2}
|
||||
frequency: {x: 0, y: 0, z: 0}
|
||||
rotationShake:
|
||||
noiseType: 0
|
||||
amplitude: {x: 0, y: 0, z: 0}
|
||||
frequency: {x: 0, y: 0, z: 0}
|
||||
@@ -0,0 +1,15 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d8a457f7dad96bb4aa3ede48b0e3fa98
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 271263
|
||||
packageName: Smooth Shake Free
|
||||
packageVersion: 1.0.2
|
||||
assetPath: Assets/SmoothShakeFree/Presets/CameraHit.asset
|
||||
uploadId: 656168
|
||||
@@ -0,0 +1,59 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: e1e0b737a04a0c14db3ea96032bcb14c, type: 3}
|
||||
m_Name: DizzyHit
|
||||
m_EditorClassIdentifier:
|
||||
timeSettings:
|
||||
fadeValue: 0
|
||||
enableOnStart: 0
|
||||
constantShake: 0
|
||||
fadeInDuration: 0
|
||||
fadeInCurve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
holdDuration: 0
|
||||
fadeOutDuration: 0.3
|
||||
fadeOutCurve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0.016666412
|
||||
value: 1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
- serializedVersion: 3
|
||||
time: 0.9916687
|
||||
value: 0.0070762634
|
||||
inSlope: -0.05940862
|
||||
outSlope: -0.05940862
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.081423424
|
||||
outWeight: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
positionShake:
|
||||
noiseType: 0
|
||||
amplitude: {x: 0, y: 0, z: 0}
|
||||
frequency: {x: 0, y: 0, z: 0}
|
||||
rotationShake:
|
||||
noiseType: 0
|
||||
amplitude: {x: 15, y: 15, z: 15}
|
||||
frequency: {x: 7, y: 6.5, z: 7.5}
|
||||
@@ -0,0 +1,15 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0c7485a158c239b4f9aa3e9b9d423588
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 271263
|
||||
packageName: Smooth Shake Free
|
||||
packageVersion: 1.0.2
|
||||
assetPath: Assets/SmoothShakeFree/Presets/DizzyHit.asset
|
||||
uploadId: 656168
|
||||
@@ -0,0 +1,77 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: e1e0b737a04a0c14db3ea96032bcb14c, type: 3}
|
||||
m_Name: DrunkCamera
|
||||
m_EditorClassIdentifier:
|
||||
timeSettings:
|
||||
fadeValue: 0
|
||||
enableOnStart: 0
|
||||
constantShake: 1
|
||||
fadeInDuration: 1
|
||||
fadeInCurve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
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
|
||||
holdDuration: 0
|
||||
fadeOutDuration: 1
|
||||
fadeOutCurve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0.016666412
|
||||
value: 1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
- serializedVersion: 3
|
||||
time: 0.9916687
|
||||
value: 0.0070762634
|
||||
inSlope: 0.029005261
|
||||
outSlope: 0.029005261
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.08342271
|
||||
outWeight: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
positionShake:
|
||||
noiseType: 0
|
||||
amplitude: {x: 1, y: 1, z: 1}
|
||||
frequency: {x: 0.1, y: 0.15, z: 0.12}
|
||||
rotationShake:
|
||||
noiseType: 0
|
||||
amplitude: {x: 5, y: 5, z: 10}
|
||||
frequency: {x: 0.15, y: 0.12, z: 0.1}
|
||||
@@ -0,0 +1,15 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5690c3e93ea22de44aee32ceded98d53
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 271263
|
||||
packageName: Smooth Shake Free
|
||||
packageVersion: 1.0.2
|
||||
assetPath: Assets/SmoothShakeFree/Presets/DrunkCamera.asset
|
||||
uploadId: 656168
|
||||
@@ -0,0 +1,63 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: e1e0b737a04a0c14db3ea96032bcb14c, type: 3}
|
||||
m_Name: Hit
|
||||
m_EditorClassIdentifier:
|
||||
timeSettings:
|
||||
fadeValue: 0
|
||||
enableOnStart: 0
|
||||
constantShake: 0
|
||||
fadeInDuration: 0
|
||||
fadeInCurve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
holdDuration: 0
|
||||
fadeOutDuration: 0.3
|
||||
fadeOutCurve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0.016666412
|
||||
value: 1
|
||||
inSlope: -0.019373996
|
||||
outSlope: -0.019373996
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0.12485626
|
||||
- serializedVersion: 3
|
||||
time: 0.9916687
|
||||
value: 0.0070762634
|
||||
inSlope: -0.013168136
|
||||
outSlope: -0.013168136
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.099417076
|
||||
outWeight: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
positionShake:
|
||||
noiseType: 1
|
||||
amplitude: {x: 0.3, y: 0.3, z: 0.3}
|
||||
frequency: {x: 0, y: 0, z: 0}
|
||||
offset: {x: 0, y: 0, z: 0}
|
||||
phase: {x: 0, y: 0, z: 0}
|
||||
rotationShake:
|
||||
noiseType: 0
|
||||
amplitude: {x: 0, y: 0, z: 0}
|
||||
frequency: {x: 0, y: 0, z: 0}
|
||||
offset: {x: 0, y: 0, z: 0}
|
||||
phase: {x: 0, y: 0, z: 0}
|
||||
@@ -0,0 +1,15 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1918e5133bbfe01419b8fbff326a13a9
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 271263
|
||||
packageName: Smooth Shake Free
|
||||
packageVersion: 1.0.2
|
||||
assetPath: Assets/SmoothShakeFree/Presets/Hit.asset
|
||||
uploadId: 656168
|
||||
@@ -0,0 +1,77 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: e1e0b737a04a0c14db3ea96032bcb14c, type: 3}
|
||||
m_Name: SeaSick
|
||||
m_EditorClassIdentifier:
|
||||
timeSettings:
|
||||
fadeValue: 0
|
||||
enableOnStart: 0
|
||||
constantShake: 1
|
||||
fadeInDuration: 1
|
||||
fadeInCurve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
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
|
||||
holdDuration: 0
|
||||
fadeOutDuration: 1
|
||||
fadeOutCurve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0.016666412
|
||||
value: 1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
- serializedVersion: 3
|
||||
time: 0.9916687
|
||||
value: 0.0070762634
|
||||
inSlope: 0.07300086
|
||||
outSlope: 0.07300086
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.099417195
|
||||
outWeight: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
positionShake:
|
||||
noiseType: 0
|
||||
amplitude: {x: 1, y: 1, z: 1}
|
||||
frequency: {x: 0.1, y: 0.15, z: 0.12}
|
||||
rotationShake:
|
||||
noiseType: 0
|
||||
amplitude: {x: 5, y: 5, z: 15}
|
||||
frequency: {x: 0.22, y: 0.23, z: 0.2}
|
||||
@@ -0,0 +1,15 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c8a49ad8294d8734f897c07b24a452fe
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 271263
|
||||
packageName: Smooth Shake Free
|
||||
packageVersion: 1.0.2
|
||||
assetPath: Assets/SmoothShakeFree/Presets/SeaSick.asset
|
||||
uploadId: 656168
|
||||
@@ -0,0 +1,77 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: e1e0b737a04a0c14db3ea96032bcb14c, type: 3}
|
||||
m_Name: VerticalFloating
|
||||
m_EditorClassIdentifier:
|
||||
timeSettings:
|
||||
fadeValue: 0
|
||||
enableOnStart: 0
|
||||
constantShake: 1
|
||||
fadeInDuration: 1
|
||||
fadeInCurve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
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
|
||||
holdDuration: 0
|
||||
fadeOutDuration: 1
|
||||
fadeOutCurve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0.016666412
|
||||
value: 1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
- serializedVersion: 3
|
||||
time: 0.9916687
|
||||
value: 0.0070762634
|
||||
inSlope: 0.02483903
|
||||
outSlope: 0.02483903
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.09741809
|
||||
outWeight: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
positionShake:
|
||||
noiseType: 0
|
||||
amplitude: {x: 0.2, y: 1, z: 0.2}
|
||||
frequency: {x: 0.1, y: 0.2, z: 0.1}
|
||||
rotationShake:
|
||||
noiseType: 0
|
||||
amplitude: {x: 0, y: 0, z: 0}
|
||||
frequency: {x: 0, y: 0, z: 0}
|
||||
@@ -0,0 +1,15 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1b8584851d6f51d4094875063e549a62
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 271263
|
||||
packageName: Smooth Shake Free
|
||||
packageVersion: 1.0.2
|
||||
assetPath: Assets/SmoothShakeFree/Presets/VerticalFloating.asset
|
||||
uploadId: 656168
|
||||
@@ -0,0 +1,77 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: e1e0b737a04a0c14db3ea96032bcb14c, type: 3}
|
||||
m_Name: please stop calling me drunk
|
||||
m_EditorClassIdentifier:
|
||||
timeSettings:
|
||||
fadeValue: 0
|
||||
enableOnStart: 0
|
||||
constantShake: 1
|
||||
fadeInDuration: 1
|
||||
fadeInCurve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
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
|
||||
holdDuration: 0
|
||||
fadeOutDuration: 1
|
||||
fadeOutCurve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0.016666412
|
||||
value: 1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
- serializedVersion: 3
|
||||
time: 0.9916687
|
||||
value: 0.0070762634
|
||||
inSlope: 2
|
||||
outSlope: 2
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
positionShake:
|
||||
noiseType: 0
|
||||
amplitude: {x: 1, y: 1, z: 1}
|
||||
frequency: {x: 0.1, y: 0.15, z: 0.12}
|
||||
rotationShake:
|
||||
noiseType: 0
|
||||
amplitude: {x: 2, y: 2, z: 25}
|
||||
frequency: {x: 0.14, y: 0.18, z: 0.15}
|
||||
@@ -0,0 +1,15 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0d1c129a8493c224d8ccc6ce2b4d6771
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 271263
|
||||
packageName: Smooth Shake Free
|
||||
packageVersion: 1.0.2
|
||||
assetPath: Assets/SmoothShakeFree/Presets/please stop calling me drunk.asset
|
||||
uploadId: 656168
|
||||
@@ -0,0 +1,60 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace SmoothShakeFree
|
||||
{
|
||||
[AddComponentMenu("Smooth Shake Free/Smooth Shake Free")]
|
||||
public class SmoothShake : ShakeBase
|
||||
{
|
||||
[Tooltip("Preset to use for this Smooth Shake")]
|
||||
public SmoothShakeFreePreset preset;
|
||||
|
||||
[Header("Position Shake Settings")]
|
||||
[Tooltip("Settings for Position Shake")]
|
||||
public Shaker positionShake;
|
||||
[Header("Rotation Shake Settings")]
|
||||
[Tooltip("Settings for Rotation Shake")]
|
||||
public Shaker rotationShake;
|
||||
|
||||
[HideInInspector] internal Vector3 startPosition;
|
||||
[HideInInspector] internal Vector3 startRotation;
|
||||
|
||||
internal sealed override void Apply(Vector3[] value)
|
||||
{
|
||||
transform.localPosition = startPosition + value[0];
|
||||
transform.localEulerAngles = startRotation + value[1];
|
||||
}
|
||||
|
||||
protected override Shaker[] GetShakers() { return new Shaker[] { positionShake, rotationShake }; }
|
||||
|
||||
internal override void ResetDefaultValues()
|
||||
{
|
||||
transform.localPosition = startPosition;
|
||||
transform.localEulerAngles = startRotation;
|
||||
}
|
||||
|
||||
internal sealed override void SaveDefaultValues()
|
||||
{
|
||||
startPosition = transform.localPosition;
|
||||
startRotation = transform.localEulerAngles;
|
||||
}
|
||||
|
||||
internal sealed override void ApplyPresetSettings(SmoothShakeFreePreset preset)
|
||||
{
|
||||
positionShake.noiseType = preset.positionShake.noiseType;
|
||||
positionShake.amplitude = preset.positionShake.amplitude;
|
||||
positionShake.frequency = preset.positionShake.frequency;
|
||||
|
||||
rotationShake.noiseType = preset.rotationShake.noiseType;
|
||||
rotationShake.amplitude = preset.rotationShake.amplitude;
|
||||
rotationShake.frequency = preset.rotationShake.frequency;
|
||||
|
||||
timeSettings.enableOnStart = preset.timeSettings.enableOnStart;
|
||||
timeSettings.constantShake = preset.timeSettings.constantShake;
|
||||
timeSettings.fadeInDuration = preset.timeSettings.fadeInDuration;
|
||||
timeSettings.fadeOutDuration = preset.timeSettings.fadeOutDuration;
|
||||
timeSettings.fadeInCurve = preset.timeSettings.fadeInCurve;
|
||||
timeSettings.fadeOutCurve = preset.timeSettings.fadeOutCurve;
|
||||
timeSettings.holdDuration = preset.timeSettings.holdDuration;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ca6c4a2ae5b653d4da56baa3a520f389
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {fileID: 2800000, guid: cda6f08464b9f844c82e8ff0b03d06be, type: 3}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 271263
|
||||
packageName: Smooth Shake Free
|
||||
packageVersion: 1.0.2
|
||||
assetPath: Assets/SmoothShakeFree/SmoothShake.cs
|
||||
uploadId: 656168
|
||||
Binary file not shown.
@@ -0,0 +1,14 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7b229d795fdf08d44975fa0879b39ec4
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 271263
|
||||
packageName: Smooth Shake Free
|
||||
packageVersion: 1.0.2
|
||||
assetPath: Assets/SmoothShakeFree/SmoothShakeFree_Documentation_1.0.pdf
|
||||
uploadId: 656168
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"name": "com.daburo.smoothshakefree",
|
||||
"rootNamespace": "SmoothShakeFree",
|
||||
"references": [],
|
||||
"includePlatforms": [],
|
||||
"excludePlatforms": [],
|
||||
"allowUnsafeCode": false,
|
||||
"overrideReferences": false,
|
||||
"precompiledReferences": [],
|
||||
"autoReferenced": true,
|
||||
"defineConstraints": [],
|
||||
"versionDefines": [
|
||||
{
|
||||
"name": "Unity",
|
||||
"expression": "[2020,2021)",
|
||||
"define": "UNITY_2020"
|
||||
}
|
||||
],
|
||||
"noEngineReferences": false
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bc1b8f0e3cb90d240ba190494e205c0f
|
||||
AssemblyDefinitionImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 271263
|
||||
packageName: Smooth Shake Free
|
||||
packageVersion: 1.0.2
|
||||
assetPath: Assets/SmoothShakeFree/com.daburo.smoothshakefree.asmdef
|
||||
uploadId: 656168
|
||||
Reference in New Issue
Block a user