Compare commits
No commits in common. "main" and "v1.1" have entirely different histories.
18
.gitignore
vendored
18
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
|
# ---> Unity
|
||||||
# This .gitignore file should be placed at the root of your Unity project directory
|
# This .gitignore file should be placed at the root of your Unity project directory
|
||||||
#
|
#
|
||||||
# Get latest from https://github.com/github/gitignore/blob/main/Unity.gitignore
|
# Get latest from https://github.com/github/gitignore/blob/main/Unity.gitignore
|
||||||
@ -71,20 +72,3 @@ crashlytics-build.properties
|
|||||||
/[Aa]ssets/[Ss]treamingAssets/aa.meta
|
/[Aa]ssets/[Ss]treamingAssets/aa.meta
|
||||||
/[Aa]ssets/[Ss]treamingAssets/aa/*
|
/[Aa]ssets/[Ss]treamingAssets/aa/*
|
||||||
|
|
||||||
# Never ignore DLLs in the FMOD subfolder.
|
|
||||||
!/[Aa]ssets/Plugins/FMOD/**/lib/*
|
|
||||||
|
|
||||||
# Don't ignore images and gizmos used by FMOD in the Unity Editor.
|
|
||||||
!/[Aa]ssets/Gizmos/FMOD/*
|
|
||||||
!/[Aa]ssets/Editor Default Resources/FMOD/*
|
|
||||||
|
|
||||||
# Ignore the Cache folder since it is updated locally.
|
|
||||||
/[Aa]ssets/Plugins/FMOD/Cache/*
|
|
||||||
|
|
||||||
# Ignore bank files in the StreamingAssets folder.
|
|
||||||
/[Aa]ssets/StreamingAssets/**/*.bank
|
|
||||||
/[Aa]ssets/StreamingAssets/**/*.bank.meta
|
|
||||||
|
|
||||||
# If the source bank files are kept outside of the StreamingAssets folder then these can be ignored.
|
|
||||||
# Log files can be ignored.
|
|
||||||
fmod_editor.log
|
|
||||||
|
|||||||
Binary file not shown.
@ -1,4 +0,0 @@
|
|||||||
repository "SquareDash@englerju02@cloud"
|
|
||||||
path "/"
|
|
||||||
br "/main"
|
|
||||||
co "/main"
|
|
||||||
Binary file not shown.
@ -1,2 +0,0 @@
|
|||||||
SquareDash
|
|
||||||
6636f612-a1c8-4d3e-9841-a47ce78cb919
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 9f7a5b01f801a234a8d5052420b4caa2
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,191 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!74 &7400000
|
|
||||||
AnimationClip:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_Name: Fade_In
|
|
||||||
serializedVersion: 7
|
|
||||||
m_Legacy: 0
|
|
||||||
m_Compressed: 0
|
|
||||||
m_UseHighQualityCurve: 1
|
|
||||||
m_RotationCurves: []
|
|
||||||
m_CompressedRotationCurves: []
|
|
||||||
m_EulerCurves: []
|
|
||||||
m_PositionCurves: []
|
|
||||||
m_ScaleCurves: []
|
|
||||||
m_FloatCurves:
|
|
||||||
- serializedVersion: 2
|
|
||||||
curve:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Curve:
|
|
||||||
- serializedVersion: 3
|
|
||||||
time: 0
|
|
||||||
value: 1
|
|
||||||
inSlope: 0
|
|
||||||
outSlope: 0
|
|
||||||
tangentMode: 136
|
|
||||||
weightedMode: 0
|
|
||||||
inWeight: 0.33333334
|
|
||||||
outWeight: 0.33333334
|
|
||||||
- serializedVersion: 3
|
|
||||||
time: 1
|
|
||||||
value: 0
|
|
||||||
inSlope: 0
|
|
||||||
outSlope: 0
|
|
||||||
tangentMode: 136
|
|
||||||
weightedMode: 0
|
|
||||||
inWeight: 0.33333334
|
|
||||||
outWeight: 0.33333334
|
|
||||||
m_PreInfinity: 2
|
|
||||||
m_PostInfinity: 2
|
|
||||||
m_RotationOrder: 4
|
|
||||||
attribute: m_Color.a
|
|
||||||
path: Canvas/Image
|
|
||||||
classID: 114
|
|
||||||
script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
|
||||||
flags: 0
|
|
||||||
- serializedVersion: 2
|
|
||||||
curve:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Curve:
|
|
||||||
- serializedVersion: 3
|
|
||||||
time: 0
|
|
||||||
value: 1
|
|
||||||
inSlope: Infinity
|
|
||||||
outSlope: Infinity
|
|
||||||
tangentMode: 103
|
|
||||||
weightedMode: 0
|
|
||||||
inWeight: 0
|
|
||||||
outWeight: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
time: 1
|
|
||||||
value: 0
|
|
||||||
inSlope: Infinity
|
|
||||||
outSlope: Infinity
|
|
||||||
tangentMode: 103
|
|
||||||
weightedMode: 0
|
|
||||||
inWeight: 0
|
|
||||||
outWeight: 0
|
|
||||||
m_PreInfinity: 2
|
|
||||||
m_PostInfinity: 2
|
|
||||||
m_RotationOrder: 4
|
|
||||||
attribute: m_Enabled
|
|
||||||
path: Canvas/Image
|
|
||||||
classID: 114
|
|
||||||
script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
|
||||||
flags: 0
|
|
||||||
m_PPtrCurves: []
|
|
||||||
m_SampleRate: 60
|
|
||||||
m_WrapMode: 0
|
|
||||||
m_Bounds:
|
|
||||||
m_Center: {x: 0, y: 0, z: 0}
|
|
||||||
m_Extent: {x: 0, y: 0, z: 0}
|
|
||||||
m_ClipBindingConstant:
|
|
||||||
genericBindings:
|
|
||||||
- serializedVersion: 2
|
|
||||||
path: 335570237
|
|
||||||
attribute: 304273561
|
|
||||||
script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
|
||||||
typeID: 114
|
|
||||||
customType: 0
|
|
||||||
isPPtrCurve: 0
|
|
||||||
isIntCurve: 0
|
|
||||||
isSerializeReferenceCurve: 0
|
|
||||||
- serializedVersion: 2
|
|
||||||
path: 335570237
|
|
||||||
attribute: 3305885265
|
|
||||||
script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
|
||||||
typeID: 114
|
|
||||||
customType: 24
|
|
||||||
isPPtrCurve: 0
|
|
||||||
isIntCurve: 0
|
|
||||||
isSerializeReferenceCurve: 0
|
|
||||||
pptrCurveMapping: []
|
|
||||||
m_AnimationClipSettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_AdditiveReferencePoseClip: {fileID: 0}
|
|
||||||
m_AdditiveReferencePoseTime: 0
|
|
||||||
m_StartTime: 0
|
|
||||||
m_StopTime: 1
|
|
||||||
m_OrientationOffsetY: 0
|
|
||||||
m_Level: 0
|
|
||||||
m_CycleOffset: 0
|
|
||||||
m_HasAdditiveReferencePose: 0
|
|
||||||
m_LoopTime: 0
|
|
||||||
m_LoopBlend: 0
|
|
||||||
m_LoopBlendOrientation: 0
|
|
||||||
m_LoopBlendPositionY: 0
|
|
||||||
m_LoopBlendPositionXZ: 0
|
|
||||||
m_KeepOriginalOrientation: 0
|
|
||||||
m_KeepOriginalPositionY: 1
|
|
||||||
m_KeepOriginalPositionXZ: 0
|
|
||||||
m_HeightFromFeet: 0
|
|
||||||
m_Mirror: 0
|
|
||||||
m_EditorCurves:
|
|
||||||
- serializedVersion: 2
|
|
||||||
curve:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Curve:
|
|
||||||
- serializedVersion: 3
|
|
||||||
time: 0
|
|
||||||
value: 1
|
|
||||||
inSlope: 0
|
|
||||||
outSlope: 0
|
|
||||||
tangentMode: 136
|
|
||||||
weightedMode: 0
|
|
||||||
inWeight: 0.33333334
|
|
||||||
outWeight: 0.33333334
|
|
||||||
- serializedVersion: 3
|
|
||||||
time: 1
|
|
||||||
value: 0
|
|
||||||
inSlope: 0
|
|
||||||
outSlope: 0
|
|
||||||
tangentMode: 136
|
|
||||||
weightedMode: 0
|
|
||||||
inWeight: 0.33333334
|
|
||||||
outWeight: 0.33333334
|
|
||||||
m_PreInfinity: 2
|
|
||||||
m_PostInfinity: 2
|
|
||||||
m_RotationOrder: 4
|
|
||||||
attribute: m_Color.a
|
|
||||||
path: Canvas/Image
|
|
||||||
classID: 114
|
|
||||||
script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
|
||||||
flags: 0
|
|
||||||
- serializedVersion: 2
|
|
||||||
curve:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Curve:
|
|
||||||
- serializedVersion: 3
|
|
||||||
time: 0
|
|
||||||
value: 1
|
|
||||||
inSlope: Infinity
|
|
||||||
outSlope: Infinity
|
|
||||||
tangentMode: 103
|
|
||||||
weightedMode: 0
|
|
||||||
inWeight: 0
|
|
||||||
outWeight: 0
|
|
||||||
- serializedVersion: 3
|
|
||||||
time: 1
|
|
||||||
value: 0
|
|
||||||
inSlope: Infinity
|
|
||||||
outSlope: Infinity
|
|
||||||
tangentMode: 103
|
|
||||||
weightedMode: 0
|
|
||||||
inWeight: 0
|
|
||||||
outWeight: 0
|
|
||||||
m_PreInfinity: 2
|
|
||||||
m_PostInfinity: 2
|
|
||||||
m_RotationOrder: 4
|
|
||||||
attribute: m_Enabled
|
|
||||||
path: Canvas/Image
|
|
||||||
classID: 114
|
|
||||||
script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
|
||||||
flags: 0
|
|
||||||
m_EulerEditorCurves: []
|
|
||||||
m_HasGenericRootTransform: 0
|
|
||||||
m_HasMotionFloatCurves: 0
|
|
||||||
m_Events: []
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: ade7e3c76c8e6e64aba35aeb780fe29c
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 7400000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,187 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!74 &7400000
|
|
||||||
AnimationClip:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_Name: Fade_Out
|
|
||||||
serializedVersion: 7
|
|
||||||
m_Legacy: 0
|
|
||||||
m_Compressed: 0
|
|
||||||
m_UseHighQualityCurve: 1
|
|
||||||
m_RotationCurves: []
|
|
||||||
m_CompressedRotationCurves: []
|
|
||||||
m_EulerCurves: []
|
|
||||||
m_PositionCurves: []
|
|
||||||
m_ScaleCurves: []
|
|
||||||
m_FloatCurves:
|
|
||||||
- serializedVersion: 2
|
|
||||||
curve:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Curve:
|
|
||||||
- serializedVersion: 3
|
|
||||||
time: 0
|
|
||||||
value: 1
|
|
||||||
inSlope: Infinity
|
|
||||||
outSlope: Infinity
|
|
||||||
tangentMode: 103
|
|
||||||
weightedMode: 0
|
|
||||||
inWeight: 0
|
|
||||||
outWeight: 0
|
|
||||||
m_PreInfinity: 2
|
|
||||||
m_PostInfinity: 2
|
|
||||||
m_RotationOrder: 4
|
|
||||||
attribute: m_Enabled
|
|
||||||
path: Canvas/Image
|
|
||||||
classID: 114
|
|
||||||
script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
|
||||||
flags: 0
|
|
||||||
- serializedVersion: 2
|
|
||||||
curve:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Curve:
|
|
||||||
- serializedVersion: 3
|
|
||||||
time: 0
|
|
||||||
value: 0
|
|
||||||
inSlope: 0
|
|
||||||
outSlope: 0
|
|
||||||
tangentMode: 136
|
|
||||||
weightedMode: 0
|
|
||||||
inWeight: 0.33333334
|
|
||||||
outWeight: 0.33333334
|
|
||||||
- serializedVersion: 3
|
|
||||||
time: 1
|
|
||||||
value: 1
|
|
||||||
inSlope: 0
|
|
||||||
outSlope: 0
|
|
||||||
tangentMode: 136
|
|
||||||
weightedMode: 0
|
|
||||||
inWeight: 0.33333334
|
|
||||||
outWeight: 0.33333334
|
|
||||||
m_PreInfinity: 2
|
|
||||||
m_PostInfinity: 2
|
|
||||||
m_RotationOrder: 4
|
|
||||||
attribute: m_Color.a
|
|
||||||
path: Canvas/Image
|
|
||||||
classID: 114
|
|
||||||
script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
|
||||||
flags: 0
|
|
||||||
m_PPtrCurves: []
|
|
||||||
m_SampleRate: 60
|
|
||||||
m_WrapMode: 0
|
|
||||||
m_Bounds:
|
|
||||||
m_Center: {x: 0, y: 0, z: 0}
|
|
||||||
m_Extent: {x: 0, y: 0, z: 0}
|
|
||||||
m_ClipBindingConstant:
|
|
||||||
genericBindings:
|
|
||||||
- serializedVersion: 2
|
|
||||||
path: 335570237
|
|
||||||
attribute: 3305885265
|
|
||||||
script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
|
||||||
typeID: 114
|
|
||||||
customType: 24
|
|
||||||
isPPtrCurve: 0
|
|
||||||
isIntCurve: 0
|
|
||||||
isSerializeReferenceCurve: 0
|
|
||||||
- serializedVersion: 2
|
|
||||||
path: 335570237
|
|
||||||
attribute: 304273561
|
|
||||||
script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
|
||||||
typeID: 114
|
|
||||||
customType: 0
|
|
||||||
isPPtrCurve: 0
|
|
||||||
isIntCurve: 0
|
|
||||||
isSerializeReferenceCurve: 0
|
|
||||||
pptrCurveMapping: []
|
|
||||||
m_AnimationClipSettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_AdditiveReferencePoseClip: {fileID: 0}
|
|
||||||
m_AdditiveReferencePoseTime: 0
|
|
||||||
m_StartTime: 0
|
|
||||||
m_StopTime: 1
|
|
||||||
m_OrientationOffsetY: 0
|
|
||||||
m_Level: 0
|
|
||||||
m_CycleOffset: 0
|
|
||||||
m_HasAdditiveReferencePose: 0
|
|
||||||
m_LoopTime: 0
|
|
||||||
m_LoopBlend: 0
|
|
||||||
m_LoopBlendOrientation: 0
|
|
||||||
m_LoopBlendPositionY: 0
|
|
||||||
m_LoopBlendPositionXZ: 0
|
|
||||||
m_KeepOriginalOrientation: 0
|
|
||||||
m_KeepOriginalPositionY: 1
|
|
||||||
m_KeepOriginalPositionXZ: 0
|
|
||||||
m_HeightFromFeet: 0
|
|
||||||
m_Mirror: 0
|
|
||||||
m_EditorCurves:
|
|
||||||
- serializedVersion: 2
|
|
||||||
curve:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Curve:
|
|
||||||
- serializedVersion: 3
|
|
||||||
time: 0
|
|
||||||
value: 1
|
|
||||||
inSlope: Infinity
|
|
||||||
outSlope: Infinity
|
|
||||||
tangentMode: 103
|
|
||||||
weightedMode: 0
|
|
||||||
inWeight: 0
|
|
||||||
outWeight: 0
|
|
||||||
m_PreInfinity: 2
|
|
||||||
m_PostInfinity: 2
|
|
||||||
m_RotationOrder: 4
|
|
||||||
attribute: m_Enabled
|
|
||||||
path: Canvas/Image
|
|
||||||
classID: 114
|
|
||||||
script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
|
||||||
flags: 0
|
|
||||||
- serializedVersion: 2
|
|
||||||
curve:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Curve:
|
|
||||||
- serializedVersion: 3
|
|
||||||
time: 0
|
|
||||||
value: 0
|
|
||||||
inSlope: 0
|
|
||||||
outSlope: 0
|
|
||||||
tangentMode: 136
|
|
||||||
weightedMode: 0
|
|
||||||
inWeight: 0.33333334
|
|
||||||
outWeight: 0.33333334
|
|
||||||
- serializedVersion: 3
|
|
||||||
time: 1
|
|
||||||
value: 1
|
|
||||||
inSlope: 0
|
|
||||||
outSlope: 0
|
|
||||||
tangentMode: 136
|
|
||||||
weightedMode: 0
|
|
||||||
inWeight: 0.33333334
|
|
||||||
outWeight: 0.33333334
|
|
||||||
m_PreInfinity: 2
|
|
||||||
m_PostInfinity: 2
|
|
||||||
m_RotationOrder: 4
|
|
||||||
attribute: m_Color.a
|
|
||||||
path: Canvas/Image
|
|
||||||
classID: 114
|
|
||||||
script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
|
||||||
flags: 0
|
|
||||||
m_EulerEditorCurves: []
|
|
||||||
m_HasGenericRootTransform: 0
|
|
||||||
m_HasMotionFloatCurves: 0
|
|
||||||
m_Events:
|
|
||||||
- time: 1
|
|
||||||
functionName: OnFadeComplete
|
|
||||||
data:
|
|
||||||
objectReferenceParameter: {fileID: 0}
|
|
||||||
floatParameter: 0
|
|
||||||
intParameter: 0
|
|
||||||
messageOptions: 0
|
|
||||||
- time: 1
|
|
||||||
functionName: OnFadeComplete
|
|
||||||
data:
|
|
||||||
objectReferenceParameter: {fileID: 0}
|
|
||||||
floatParameter: 0
|
|
||||||
intParameter: 0
|
|
||||||
messageOptions: 0
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 871c704d480af6f43abe633293640d49
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 7400000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,275 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!1102 &-4982222559185919423
|
|
||||||
AnimatorState:
|
|
||||||
serializedVersion: 6
|
|
||||||
m_ObjectHideFlags: 1
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_Name: Fade_Out
|
|
||||||
m_Speed: 1
|
|
||||||
m_CycleOffset: 0
|
|
||||||
m_Transitions: []
|
|
||||||
m_StateMachineBehaviours: []
|
|
||||||
m_Position: {x: 50, y: 50, z: 0}
|
|
||||||
m_IKOnFeet: 0
|
|
||||||
m_WriteDefaultValues: 1
|
|
||||||
m_Mirror: 0
|
|
||||||
m_SpeedParameterActive: 0
|
|
||||||
m_MirrorParameterActive: 0
|
|
||||||
m_CycleOffsetParameterActive: 0
|
|
||||||
m_TimeParameterActive: 0
|
|
||||||
m_Motion: {fileID: 7400000, guid: 871c704d480af6f43abe633293640d49, type: 2}
|
|
||||||
m_Tag:
|
|
||||||
m_SpeedParameter:
|
|
||||||
m_MirrorParameter:
|
|
||||||
m_CycleOffsetParameter:
|
|
||||||
m_TimeParameter:
|
|
||||||
--- !u!1102 &-4490465852323647313
|
|
||||||
AnimatorState:
|
|
||||||
serializedVersion: 6
|
|
||||||
m_ObjectHideFlags: 1
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_Name: New State
|
|
||||||
m_Speed: 1
|
|
||||||
m_CycleOffset: 0
|
|
||||||
m_Transitions:
|
|
||||||
- {fileID: 8750104180565218813}
|
|
||||||
- {fileID: 4487255431716484215}
|
|
||||||
m_StateMachineBehaviours: []
|
|
||||||
m_Position: {x: 50, y: 50, z: 0}
|
|
||||||
m_IKOnFeet: 0
|
|
||||||
m_WriteDefaultValues: 1
|
|
||||||
m_Mirror: 0
|
|
||||||
m_SpeedParameterActive: 0
|
|
||||||
m_MirrorParameterActive: 0
|
|
||||||
m_CycleOffsetParameterActive: 0
|
|
||||||
m_TimeParameterActive: 0
|
|
||||||
m_Motion: {fileID: 0}
|
|
||||||
m_Tag:
|
|
||||||
m_SpeedParameter:
|
|
||||||
m_MirrorParameter:
|
|
||||||
m_CycleOffsetParameter:
|
|
||||||
m_TimeParameter:
|
|
||||||
--- !u!1101 &-4243897314271556303
|
|
||||||
AnimatorStateTransition:
|
|
||||||
m_ObjectHideFlags: 1
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_Name:
|
|
||||||
m_Conditions:
|
|
||||||
- m_ConditionMode: 1
|
|
||||||
m_ConditionEvent: FadeOut
|
|
||||||
m_EventTreshold: 0
|
|
||||||
m_DstStateMachine: {fileID: 0}
|
|
||||||
m_DstState: {fileID: -4982222559185919423}
|
|
||||||
m_Solo: 0
|
|
||||||
m_Mute: 0
|
|
||||||
m_IsExit: 0
|
|
||||||
serializedVersion: 3
|
|
||||||
m_TransitionDuration: 0
|
|
||||||
m_TransitionOffset: 0
|
|
||||||
m_ExitTime: 0.75
|
|
||||||
m_HasExitTime: 0
|
|
||||||
m_HasFixedDuration: 0
|
|
||||||
m_InterruptionSource: 0
|
|
||||||
m_OrderedInterruption: 1
|
|
||||||
m_CanTransitionToSelf: 1
|
|
||||||
--- !u!1102 &-1864518038413886833
|
|
||||||
AnimatorState:
|
|
||||||
serializedVersion: 6
|
|
||||||
m_ObjectHideFlags: 1
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_Name: Fade_In
|
|
||||||
m_Speed: 1
|
|
||||||
m_CycleOffset: 0
|
|
||||||
m_Transitions:
|
|
||||||
- {fileID: -4243897314271556303}
|
|
||||||
m_StateMachineBehaviours: []
|
|
||||||
m_Position: {x: 50, y: 50, z: 0}
|
|
||||||
m_IKOnFeet: 0
|
|
||||||
m_WriteDefaultValues: 1
|
|
||||||
m_Mirror: 0
|
|
||||||
m_SpeedParameterActive: 0
|
|
||||||
m_MirrorParameterActive: 0
|
|
||||||
m_CycleOffsetParameterActive: 0
|
|
||||||
m_TimeParameterActive: 0
|
|
||||||
m_Motion: {fileID: 7400000, guid: ade7e3c76c8e6e64aba35aeb780fe29c, type: 2}
|
|
||||||
m_Tag:
|
|
||||||
m_SpeedParameter:
|
|
||||||
m_MirrorParameter:
|
|
||||||
m_CycleOffsetParameter:
|
|
||||||
m_TimeParameter:
|
|
||||||
--- !u!91 &9100000
|
|
||||||
AnimatorController:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_Name: LevelChanger
|
|
||||||
serializedVersion: 5
|
|
||||||
m_AnimatorParameters:
|
|
||||||
- m_Name: FadeOut
|
|
||||||
m_Type: 9
|
|
||||||
m_DefaultFloat: 0
|
|
||||||
m_DefaultInt: 0
|
|
||||||
m_DefaultBool: 0
|
|
||||||
m_Controller: {fileID: 9100000}
|
|
||||||
- m_Name: IsLobby
|
|
||||||
m_Type: 4
|
|
||||||
m_DefaultFloat: 0
|
|
||||||
m_DefaultInt: 0
|
|
||||||
m_DefaultBool: 0
|
|
||||||
m_Controller: {fileID: 9100000}
|
|
||||||
m_AnimatorLayers:
|
|
||||||
- serializedVersion: 5
|
|
||||||
m_Name: Base Layer
|
|
||||||
m_StateMachine: {fileID: 3191354828331250589}
|
|
||||||
m_Mask: {fileID: 0}
|
|
||||||
m_Motions: []
|
|
||||||
m_Behaviours: []
|
|
||||||
m_BlendingMode: 0
|
|
||||||
m_SyncedLayerIndex: -1
|
|
||||||
m_DefaultWeight: 0
|
|
||||||
m_IKPass: 0
|
|
||||||
m_SyncedLayerAffectsTiming: 0
|
|
||||||
m_Controller: {fileID: 9100000}
|
|
||||||
--- !u!1102 &1009134753260853214
|
|
||||||
AnimatorState:
|
|
||||||
serializedVersion: 6
|
|
||||||
m_ObjectHideFlags: 1
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_Name: Lobby_Wait
|
|
||||||
m_Speed: 1
|
|
||||||
m_CycleOffset: 0
|
|
||||||
m_Transitions:
|
|
||||||
- {fileID: 2255084373423057895}
|
|
||||||
m_StateMachineBehaviours: []
|
|
||||||
m_Position: {x: 50, y: 50, z: 0}
|
|
||||||
m_IKOnFeet: 0
|
|
||||||
m_WriteDefaultValues: 1
|
|
||||||
m_Mirror: 0
|
|
||||||
m_SpeedParameterActive: 0
|
|
||||||
m_MirrorParameterActive: 0
|
|
||||||
m_CycleOffsetParameterActive: 0
|
|
||||||
m_TimeParameterActive: 0
|
|
||||||
m_Motion: {fileID: 7400000, guid: df98a73b6a20138409ac4e68830ec62f, type: 2}
|
|
||||||
m_Tag:
|
|
||||||
m_SpeedParameter:
|
|
||||||
m_MirrorParameter:
|
|
||||||
m_CycleOffsetParameter:
|
|
||||||
m_TimeParameter:
|
|
||||||
--- !u!1101 &2255084373423057895
|
|
||||||
AnimatorStateTransition:
|
|
||||||
m_ObjectHideFlags: 1
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_Name:
|
|
||||||
m_Conditions:
|
|
||||||
- m_ConditionMode: 1
|
|
||||||
m_ConditionEvent: FadeOut
|
|
||||||
m_EventTreshold: 0
|
|
||||||
m_DstStateMachine: {fileID: 0}
|
|
||||||
m_DstState: {fileID: -4982222559185919423}
|
|
||||||
m_Solo: 0
|
|
||||||
m_Mute: 0
|
|
||||||
m_IsExit: 0
|
|
||||||
serializedVersion: 3
|
|
||||||
m_TransitionDuration: 0
|
|
||||||
m_TransitionOffset: 0
|
|
||||||
m_ExitTime: 0.75
|
|
||||||
m_HasExitTime: 0
|
|
||||||
m_HasFixedDuration: 0
|
|
||||||
m_InterruptionSource: 0
|
|
||||||
m_OrderedInterruption: 1
|
|
||||||
m_CanTransitionToSelf: 1
|
|
||||||
--- !u!1107 &3191354828331250589
|
|
||||||
AnimatorStateMachine:
|
|
||||||
serializedVersion: 6
|
|
||||||
m_ObjectHideFlags: 1
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_Name: Base Layer
|
|
||||||
m_ChildStates:
|
|
||||||
- serializedVersion: 1
|
|
||||||
m_State: {fileID: -1864518038413886833}
|
|
||||||
m_Position: {x: 130, y: 50, z: 0}
|
|
||||||
- serializedVersion: 1
|
|
||||||
m_State: {fileID: -4982222559185919423}
|
|
||||||
m_Position: {x: 290, y: 120, z: 0}
|
|
||||||
- serializedVersion: 1
|
|
||||||
m_State: {fileID: 1009134753260853214}
|
|
||||||
m_Position: {x: 130, y: 210, z: 0}
|
|
||||||
- serializedVersion: 1
|
|
||||||
m_State: {fileID: -4490465852323647313}
|
|
||||||
m_Position: {x: -30, y: 130, z: 0}
|
|
||||||
m_ChildStateMachines: []
|
|
||||||
m_AnyStateTransitions: []
|
|
||||||
m_EntryTransitions: []
|
|
||||||
m_StateMachineTransitions: {}
|
|
||||||
m_StateMachineBehaviours: []
|
|
||||||
m_AnyStatePosition: {x: 60, y: -40, z: 0}
|
|
||||||
m_EntryPosition: {x: -240, y: 130, z: 0}
|
|
||||||
m_ExitPosition: {x: 800, y: 120, z: 0}
|
|
||||||
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
|
|
||||||
m_DefaultState: {fileID: -4490465852323647313}
|
|
||||||
--- !u!1101 &4487255431716484215
|
|
||||||
AnimatorStateTransition:
|
|
||||||
m_ObjectHideFlags: 1
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_Name:
|
|
||||||
m_Conditions:
|
|
||||||
- m_ConditionMode: 1
|
|
||||||
m_ConditionEvent: IsLobby
|
|
||||||
m_EventTreshold: 0
|
|
||||||
m_DstStateMachine: {fileID: 0}
|
|
||||||
m_DstState: {fileID: 1009134753260853214}
|
|
||||||
m_Solo: 0
|
|
||||||
m_Mute: 0
|
|
||||||
m_IsExit: 0
|
|
||||||
serializedVersion: 3
|
|
||||||
m_TransitionDuration: 0
|
|
||||||
m_TransitionOffset: 0
|
|
||||||
m_ExitTime: 0.75
|
|
||||||
m_HasExitTime: 0
|
|
||||||
m_HasFixedDuration: 0
|
|
||||||
m_InterruptionSource: 0
|
|
||||||
m_OrderedInterruption: 1
|
|
||||||
m_CanTransitionToSelf: 1
|
|
||||||
--- !u!1101 &8750104180565218813
|
|
||||||
AnimatorStateTransition:
|
|
||||||
m_ObjectHideFlags: 1
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_Name:
|
|
||||||
m_Conditions:
|
|
||||||
- m_ConditionMode: 2
|
|
||||||
m_ConditionEvent: IsLobby
|
|
||||||
m_EventTreshold: 0
|
|
||||||
m_DstStateMachine: {fileID: 0}
|
|
||||||
m_DstState: {fileID: -1864518038413886833}
|
|
||||||
m_Solo: 0
|
|
||||||
m_Mute: 0
|
|
||||||
m_IsExit: 0
|
|
||||||
serializedVersion: 3
|
|
||||||
m_TransitionDuration: 0
|
|
||||||
m_TransitionOffset: 0
|
|
||||||
m_ExitTime: 0.75
|
|
||||||
m_HasExitTime: 0
|
|
||||||
m_HasFixedDuration: 0
|
|
||||||
m_InterruptionSource: 0
|
|
||||||
m_OrderedInterruption: 1
|
|
||||||
m_CanTransitionToSelf: 1
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 039bd885a0a191b449f61f6688b605bc
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 9100000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,6 +1,6 @@
|
|||||||
%YAML 1.1
|
%YAML 1.1
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
--- !u!1 &5489012711399111717
|
--- !u!1 &6535319948051518707
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
@ -8,39 +8,39 @@ GameObject:
|
|||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
serializedVersion: 6
|
serializedVersion: 6
|
||||||
m_Component:
|
m_Component:
|
||||||
- component: {fileID: 5489012711399111738}
|
- component: {fileID: 5243541839655249381}
|
||||||
- component: {fileID: 5489012711399111739}
|
- component: {fileID: 5116659272103397216}
|
||||||
- component: {fileID: 5489012711399111736}
|
- component: {fileID: 4623191091882228128}
|
||||||
- component: {fileID: 5489012711399111737}
|
- component: {fileID: 9152760494510763562}
|
||||||
m_Layer: 9
|
m_Layer: 7
|
||||||
m_Name: Jumppad_gross
|
m_Name: Big Spike
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
m_StaticEditorFlags: 0
|
m_StaticEditorFlags: 0
|
||||||
m_IsActive: 1
|
m_IsActive: 1
|
||||||
--- !u!4 &5489012711399111738
|
--- !u!4 &5243541839655249381
|
||||||
Transform:
|
Transform:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 5489012711399111717}
|
m_GameObject: {fileID: 6535319948051518707}
|
||||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
m_LocalRotation: {x: 0, y: 0, z: 0.008726558, w: 0.999962}
|
||||||
m_LocalPosition: {x: 50.94, y: -0.38, z: 0}
|
m_LocalPosition: {x: 0.001, y: -3.387, z: -0.14263718}
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_RootOrder: 0
|
m_RootOrder: 0
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 1}
|
||||||
--- !u!212 &5489012711399111739
|
--- !u!212 &5116659272103397216
|
||||||
SpriteRenderer:
|
SpriteRenderer:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 5489012711399111717}
|
m_GameObject: {fileID: 6535319948051518707}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_CastShadows: 0
|
m_CastShadows: 0
|
||||||
m_ReceiveShadows: 0
|
m_ReceiveShadows: 0
|
||||||
@ -75,49 +75,56 @@ SpriteRenderer:
|
|||||||
m_SortingLayerID: 0
|
m_SortingLayerID: 0
|
||||||
m_SortingLayer: 0
|
m_SortingLayer: 0
|
||||||
m_SortingOrder: 0
|
m_SortingOrder: 0
|
||||||
m_Sprite: {fileID: 21300000, guid: 703cea753b75d7240b3d4ec518997518, type: 3}
|
m_Sprite: {fileID: 21300000, guid: 343f7433f71fea34683593662713e6e7, type: 3}
|
||||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
m_FlipX: 0
|
m_FlipX: 0
|
||||||
m_FlipY: 0
|
m_FlipY: 0
|
||||||
m_DrawMode: 0
|
m_DrawMode: 0
|
||||||
m_Size: {x: 1.5, y: 1.05}
|
m_Size: {x: 1.12, y: 1.12}
|
||||||
m_AdaptiveModeThreshold: 0.5
|
m_AdaptiveModeThreshold: 0.5
|
||||||
m_SpriteTileMode: 0
|
m_SpriteTileMode: 0
|
||||||
m_WasSpriteAssigned: 1
|
m_WasSpriteAssigned: 1
|
||||||
m_MaskInteraction: 0
|
m_MaskInteraction: 0
|
||||||
m_SpriteSortPoint: 0
|
m_SpriteSortPoint: 0
|
||||||
--- !u!70 &5489012711399111736
|
--- !u!114 &4623191091882228128
|
||||||
CapsuleCollider2D:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 5489012711399111717}
|
m_GameObject: {fileID: 6535319948051518707}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fde21be79882b77419e4f9d4668e704b, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
moveSpeed: 5
|
||||||
|
deadZone: -15
|
||||||
|
--- !u!60 &9152760494510763562
|
||||||
|
PolygonCollider2D:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 6535319948051518707}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_Density: 1
|
m_Density: 1
|
||||||
m_Material: {fileID: 0}
|
m_Material: {fileID: 0}
|
||||||
m_IsTrigger: 0
|
m_IsTrigger: 0
|
||||||
m_UsedByEffector: 0
|
m_UsedByEffector: 0
|
||||||
m_UsedByComposite: 0
|
m_UsedByComposite: 0
|
||||||
m_Offset: {x: 0.000000004410893, y: -0.2129988}
|
m_Offset: {x: 0, y: 0}
|
||||||
m_Size: {x: 0.8020189, y: 0.7240241}
|
m_SpriteTilingProperty:
|
||||||
m_Direction: 0
|
border: {x: 0, y: 0, z: 0, w: 0}
|
||||||
--- !u!114 &5489012711399111737
|
pivot: {x: 0.5, y: 0.5}
|
||||||
MonoBehaviour:
|
oldSize: {x: 1.12, y: 1.12}
|
||||||
m_ObjectHideFlags: 0
|
newSize: {x: 1.12, y: 1.12}
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
adaptiveTilingThreshold: 0.5
|
||||||
m_PrefabInstance: {fileID: 0}
|
drawMode: 0
|
||||||
m_PrefabAsset: {fileID: 0}
|
adaptiveTiling: 0
|
||||||
m_GameObject: {fileID: 5489012711399111717}
|
m_AutoTiling: 0
|
||||||
m_Enabled: 1
|
m_Points:
|
||||||
m_EditorHideFlags: 0
|
m_Paths:
|
||||||
m_Script: {fileID: 11500000, guid: d98b784ff08448c46869b362c74da692, type: 3}
|
- - {x: 0, y: 0.55}
|
||||||
m_Name:
|
- {x: -0.55, y: -0.55}
|
||||||
m_EditorClassIdentifier:
|
- {x: 0.55, y: -0.55}
|
||||||
moveSpeed: 5
|
|
||||||
deadZone: -15
|
|
||||||
player: {fileID: 0}
|
|
||||||
m_SpriteA: {fileID: 21300000, guid: 890820d9cb6776d49980bfa830f5d0e1, type: 3}
|
|
||||||
m_SpriteB: {fileID: 21300000, guid: 703cea753b75d7240b3d4ec518997518, type: 3}
|
|
||||||
duration: 2
|
|
||||||
m_SR: {fileID: 0}
|
|
||||||
@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 31614e9eda558df40a94029a8722c69b
|
guid: 984dea28b56d17e468db386de44f1cef
|
||||||
PrefabImporter:
|
PrefabImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
userData:
|
userData:
|
||||||
@ -26,13 +26,13 @@ Transform:
|
|||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 3997803213758825311}
|
m_GameObject: {fileID: 3997803213758825311}
|
||||||
serializedVersion: 2
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
m_LocalPosition: {x: 0, y: -4.5, z: 0}
|
m_LocalPosition: {x: 0, y: -4.5, z: 0}
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
|
m_RootOrder: 0
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
--- !u!212 &3997803213758825308
|
--- !u!212 &3997803213758825308
|
||||||
SpriteRenderer:
|
SpriteRenderer:
|
||||||
@ -51,8 +51,6 @@ SpriteRenderer:
|
|||||||
m_ReflectionProbeUsage: 1
|
m_ReflectionProbeUsage: 1
|
||||||
m_RayTracingMode: 0
|
m_RayTracingMode: 0
|
||||||
m_RayTraceProcedural: 0
|
m_RayTraceProcedural: 0
|
||||||
m_RayTracingAccelStructBuildFlagsOverride: 0
|
|
||||||
m_RayTracingAccelStructBuildFlags: 1
|
|
||||||
m_RenderingLayerMask: 1
|
m_RenderingLayerMask: 1
|
||||||
m_RendererPriority: 0
|
m_RendererPriority: 0
|
||||||
m_Materials:
|
m_Materials:
|
||||||
@ -77,7 +75,7 @@ SpriteRenderer:
|
|||||||
m_SortingLayerID: 0
|
m_SortingLayerID: 0
|
||||||
m_SortingLayer: 0
|
m_SortingLayer: 0
|
||||||
m_SortingOrder: 0
|
m_SortingOrder: 0
|
||||||
m_Sprite: {fileID: 21300000, guid: fd5aa8d177493854a98db198ef4bd247, type: 3}
|
m_Sprite: {fileID: 21300000, guid: dc58f015e3ddee043899ce6032859f72, type: 3}
|
||||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
m_FlipX: 0
|
m_FlipX: 0
|
||||||
m_FlipY: 0
|
m_FlipY: 0
|
||||||
@ -96,32 +94,11 @@ BoxCollider2D:
|
|||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 3997803213758825311}
|
m_GameObject: {fileID: 3997803213758825311}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
serializedVersion: 3
|
|
||||||
m_Density: 1
|
m_Density: 1
|
||||||
m_Material: {fileID: 0}
|
m_Material: {fileID: 0}
|
||||||
m_IncludeLayers:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 0
|
|
||||||
m_ExcludeLayers:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 0
|
|
||||||
m_LayerOverridePriority: 0
|
|
||||||
m_ForceSendLayers:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 4294967295
|
|
||||||
m_ForceReceiveLayers:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 4294967295
|
|
||||||
m_ContactCaptureLayers:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 4294967295
|
|
||||||
m_CallbackLayers:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 4294967295
|
|
||||||
m_IsTrigger: 0
|
m_IsTrigger: 0
|
||||||
m_UsedByEffector: 0
|
m_UsedByEffector: 0
|
||||||
m_CompositeOperation: 0
|
m_UsedByComposite: 0
|
||||||
m_CompositeOrder: 0
|
|
||||||
m_Offset: {x: 0, y: 0}
|
m_Offset: {x: 0, y: 0}
|
||||||
m_SpriteTilingProperty:
|
m_SpriteTilingProperty:
|
||||||
border: {x: 0, y: 0, z: 0, w: 0}
|
border: {x: 0, y: 0, z: 0, w: 0}
|
||||||
@ -132,6 +109,7 @@ BoxCollider2D:
|
|||||||
drawMode: 0
|
drawMode: 0
|
||||||
adaptiveTiling: 0
|
adaptiveTiling: 0
|
||||||
m_AutoTiling: 0
|
m_AutoTiling: 0
|
||||||
|
serializedVersion: 2
|
||||||
m_Size: {x: 1.12, y: 1.12}
|
m_Size: {x: 1.12, y: 1.12}
|
||||||
m_EdgeRadius: 0
|
m_EdgeRadius: 0
|
||||||
--- !u!114 &3997803213758825310
|
--- !u!114 &3997803213758825310
|
||||||
@ -148,5 +126,3 @@ MonoBehaviour:
|
|||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
moveSpeed: 5
|
moveSpeed: 5
|
||||||
deadZone: -15
|
deadZone: -15
|
||||||
player: {fileID: 0}
|
|
||||||
logic: {fileID: 0}
|
|
||||||
27
Assets/Block2Script.cs
Normal file
27
Assets/Block2Script.cs
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
public class Block2Script : MonoBehaviour
|
||||||
|
{
|
||||||
|
public float moveSpeed = 5;
|
||||||
|
public float deadZone = -15;
|
||||||
|
|
||||||
|
// Start is called before the first frame update
|
||||||
|
void Start()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
// Update is called once per frame
|
||||||
|
void Update()
|
||||||
|
{
|
||||||
|
transform.position = transform.position + (Vector3.left * moveSpeed) * Time.deltaTime;
|
||||||
|
|
||||||
|
if(transform.position.x<deadZone){
|
||||||
|
Debug.Log("Block Deleted");
|
||||||
|
Destroy(gameObject);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@ -8,14 +8,11 @@ public class Block2SpawnerScript : MonoBehaviour
|
|||||||
public GameObject Block;
|
public GameObject Block;
|
||||||
public float spawnRate = 0;
|
public float spawnRate = 0;
|
||||||
private float timer = 0;
|
private float timer = 0;
|
||||||
public BlockScript player;
|
|
||||||
public LogicScript logic;
|
|
||||||
|
|
||||||
// Start is called before the first frame update
|
// Start is called before the first frame update
|
||||||
void Start()
|
void Start()
|
||||||
{
|
{
|
||||||
player = GameObject.FindGameObjectWithTag("Player").GetComponent<BlockScript>();
|
|
||||||
logic = GameObject.FindGameObjectWithTag("Logic").GetComponent<LogicScript>();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update is called once per frame
|
// Update is called once per frame
|
||||||
@ -25,15 +22,13 @@ public class Block2SpawnerScript : MonoBehaviour
|
|||||||
timer+=Time.deltaTime;
|
timer+=Time.deltaTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
else {
|
else {
|
||||||
spawnBlock();
|
spawnBlock();
|
||||||
timer = 0;
|
timer = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void spawnBlock(){
|
void spawnBlock(){
|
||||||
if (player.IsAlive&&!logic.IsFreezed) {
|
Instantiate(Block, transform.position, transform.rotation);
|
||||||
Instantiate(Block, transform.position, transform.rotation);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
56
Assets/BlockScript.cs
Normal file
56
Assets/BlockScript.cs
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
public class BlockScript : MonoBehaviour
|
||||||
|
{
|
||||||
|
|
||||||
|
public Rigidbody2D myRigidbody;
|
||||||
|
public float blockStrength;
|
||||||
|
public bool IsAlive = true;
|
||||||
|
public LogicScript logic;
|
||||||
|
[SerializeField] private Vector3 rotation;
|
||||||
|
[SerializeField] private float speed;
|
||||||
|
public bool IsFlying = false;
|
||||||
|
|
||||||
|
// Start is called before the first frame update
|
||||||
|
void Start()
|
||||||
|
{
|
||||||
|
logic = GameObject.FindGameObjectWithTag("Logic").GetComponent<LogicScript>();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Update is called once per frame
|
||||||
|
void Update()
|
||||||
|
{
|
||||||
|
|
||||||
|
if (IsFlying) {
|
||||||
|
rotation = Vector3.back;
|
||||||
|
transform.Rotate(rotation * speed * Time.deltaTime);
|
||||||
|
}
|
||||||
|
|
||||||
|
if(Input.GetKeyDown(KeyCode.Space) && IsAlive && IsFlying==false) {
|
||||||
|
IsFlying = true;
|
||||||
|
myRigidbody.velocity = Vector2.up * blockStrength;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (transform.position.y < -5) {
|
||||||
|
logic.gameOver();
|
||||||
|
IsAlive = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void OnCollisionEnter2D(Collision2D collision) {
|
||||||
|
if (collision.gameObject.layer==7) {
|
||||||
|
logic.gameOver();
|
||||||
|
IsAlive = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (collision.gameObject.layer==6) {
|
||||||
|
IsFlying=false;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
Before Width: | Height: | Size: 987 B After Width: | Height: | Size: 987 B |
@ -1,9 +1,9 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: eab98d216c782764ca426220e6d2061b
|
guid: 343f7433f71fea34683593662713e6e7
|
||||||
TextureImporter:
|
TextureImporter:
|
||||||
internalIDToNameTable: []
|
internalIDToNameTable: []
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
serializedVersion: 13
|
serializedVersion: 12
|
||||||
mipmaps:
|
mipmaps:
|
||||||
mipMapMode: 0
|
mipMapMode: 0
|
||||||
enableMipMap: 0
|
enableMipMap: 0
|
||||||
@ -20,12 +20,11 @@ TextureImporter:
|
|||||||
externalNormalMap: 0
|
externalNormalMap: 0
|
||||||
heightScale: 0.25
|
heightScale: 0.25
|
||||||
normalMapFilter: 0
|
normalMapFilter: 0
|
||||||
flipGreenChannel: 0
|
|
||||||
isReadable: 0
|
isReadable: 0
|
||||||
streamingMipmaps: 0
|
streamingMipmaps: 0
|
||||||
streamingMipmapsPriority: 0
|
streamingMipmapsPriority: 0
|
||||||
vTOnly: 0
|
vTOnly: 0
|
||||||
ignoreMipmapLimit: 0
|
ignoreMasterTextureLimit: 0
|
||||||
grayScaleToAlpha: 0
|
grayScaleToAlpha: 0
|
||||||
generateCubemap: 6
|
generateCubemap: 6
|
||||||
cubemapConvolution: 0
|
cubemapConvolution: 0
|
||||||
@ -53,7 +52,7 @@ TextureImporter:
|
|||||||
spriteGenerateFallbackPhysicsShape: 1
|
spriteGenerateFallbackPhysicsShape: 1
|
||||||
alphaUsage: 1
|
alphaUsage: 1
|
||||||
alphaIsTransparency: 1
|
alphaIsTransparency: 1
|
||||||
spriteTessellationDetail: 1
|
spriteTessellationDetail: -1
|
||||||
textureType: 8
|
textureType: 8
|
||||||
textureShape: 1
|
textureShape: 1
|
||||||
singleChannelComponent: 0
|
singleChannelComponent: 0
|
||||||
@ -64,10 +63,9 @@ TextureImporter:
|
|||||||
textureFormatSet: 0
|
textureFormatSet: 0
|
||||||
ignorePngGamma: 0
|
ignorePngGamma: 0
|
||||||
applyGammaDecoding: 0
|
applyGammaDecoding: 0
|
||||||
swizzle: 50462976
|
|
||||||
cookieLightType: 0
|
cookieLightType: 0
|
||||||
platformSettings:
|
platformSettings:
|
||||||
- serializedVersion: 4
|
- serializedVersion: 3
|
||||||
buildTarget: DefaultTexturePlatform
|
buildTarget: DefaultTexturePlatform
|
||||||
maxTextureSize: 2048
|
maxTextureSize: 2048
|
||||||
resizeAlgorithm: 0
|
resizeAlgorithm: 0
|
||||||
@ -77,10 +75,9 @@ TextureImporter:
|
|||||||
crunchedCompression: 0
|
crunchedCompression: 0
|
||||||
allowsAlphaSplitting: 0
|
allowsAlphaSplitting: 0
|
||||||
overridden: 0
|
overridden: 0
|
||||||
ignorePlatformSupport: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
androidETC2FallbackOverride: 0
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
- serializedVersion: 4
|
- serializedVersion: 3
|
||||||
buildTarget: Standalone
|
buildTarget: Standalone
|
||||||
maxTextureSize: 2048
|
maxTextureSize: 2048
|
||||||
resizeAlgorithm: 0
|
resizeAlgorithm: 0
|
||||||
@ -90,10 +87,9 @@ TextureImporter:
|
|||||||
crunchedCompression: 0
|
crunchedCompression: 0
|
||||||
allowsAlphaSplitting: 0
|
allowsAlphaSplitting: 0
|
||||||
overridden: 0
|
overridden: 0
|
||||||
ignorePlatformSupport: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
androidETC2FallbackOverride: 0
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
- serializedVersion: 4
|
- serializedVersion: 3
|
||||||
buildTarget: Server
|
buildTarget: Server
|
||||||
maxTextureSize: 2048
|
maxTextureSize: 2048
|
||||||
resizeAlgorithm: 0
|
resizeAlgorithm: 0
|
||||||
@ -103,10 +99,9 @@ TextureImporter:
|
|||||||
crunchedCompression: 0
|
crunchedCompression: 0
|
||||||
allowsAlphaSplitting: 0
|
allowsAlphaSplitting: 0
|
||||||
overridden: 0
|
overridden: 0
|
||||||
ignorePlatformSupport: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
androidETC2FallbackOverride: 0
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
- serializedVersion: 4
|
- serializedVersion: 3
|
||||||
buildTarget: WebGL
|
buildTarget: WebGL
|
||||||
maxTextureSize: 2048
|
maxTextureSize: 2048
|
||||||
resizeAlgorithm: 0
|
resizeAlgorithm: 0
|
||||||
@ -116,44 +111,25 @@ TextureImporter:
|
|||||||
crunchedCompression: 0
|
crunchedCompression: 0
|
||||||
allowsAlphaSplitting: 0
|
allowsAlphaSplitting: 0
|
||||||
overridden: 0
|
overridden: 0
|
||||||
ignorePlatformSupport: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 4
|
|
||||||
buildTarget: iOS
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
ignorePlatformSupport: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
androidETC2FallbackOverride: 0
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
spriteSheet:
|
spriteSheet:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
sprites: []
|
sprites: []
|
||||||
outline:
|
outline: []
|
||||||
- - {x: 56, y: -56}
|
|
||||||
- {x: 0, y: 56}
|
|
||||||
- {x: 0, y: 56}
|
|
||||||
- {x: -56, y: -56}
|
|
||||||
- {x: -56, y: -56}
|
|
||||||
- {x: 56, y: -56}
|
|
||||||
physicsShape: []
|
physicsShape: []
|
||||||
bones: []
|
bones: []
|
||||||
spriteID: 5e97eb03825dee720800000000000000
|
spriteID: 5e97eb03825dee720800000000000000
|
||||||
internalID: 1537655665
|
internalID: 0
|
||||||
vertices: []
|
vertices: []
|
||||||
indices:
|
indices:
|
||||||
edges: []
|
edges: []
|
||||||
weights: []
|
weights: []
|
||||||
secondaryTextures: []
|
secondaryTextures: []
|
||||||
nameFileIdTable: {}
|
nameFileIdTable: {}
|
||||||
mipmapLimitGroupName:
|
spritePackingTag:
|
||||||
pSDRemoveMatte: 0
|
pSDRemoveMatte: 0
|
||||||
|
pSDShowRemoveMatteOption: 0
|
||||||
userData:
|
userData:
|
||||||
assetBundleName:
|
assetBundleName:
|
||||||
assetBundleVariant:
|
assetBundleVariant:
|
||||||
|
Before Width: | Height: | Size: 547 B After Width: | Height: | Size: 547 B |
@ -1,9 +1,9 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 83663f58b08a1ec4e871481083cc7beb
|
guid: a75780b3f1ed4d84ab2f47cdcc67a2c3
|
||||||
TextureImporter:
|
TextureImporter:
|
||||||
internalIDToNameTable: []
|
internalIDToNameTable: []
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
serializedVersion: 13
|
serializedVersion: 12
|
||||||
mipmaps:
|
mipmaps:
|
||||||
mipMapMode: 0
|
mipMapMode: 0
|
||||||
enableMipMap: 0
|
enableMipMap: 0
|
||||||
@ -20,12 +20,11 @@ TextureImporter:
|
|||||||
externalNormalMap: 0
|
externalNormalMap: 0
|
||||||
heightScale: 0.25
|
heightScale: 0.25
|
||||||
normalMapFilter: 0
|
normalMapFilter: 0
|
||||||
flipGreenChannel: 0
|
|
||||||
isReadable: 0
|
isReadable: 0
|
||||||
streamingMipmaps: 0
|
streamingMipmaps: 0
|
||||||
streamingMipmapsPriority: 0
|
streamingMipmapsPriority: 0
|
||||||
vTOnly: 0
|
vTOnly: 0
|
||||||
ignoreMipmapLimit: 0
|
ignoreMasterTextureLimit: 0
|
||||||
grayScaleToAlpha: 0
|
grayScaleToAlpha: 0
|
||||||
generateCubemap: 6
|
generateCubemap: 6
|
||||||
cubemapConvolution: 0
|
cubemapConvolution: 0
|
||||||
@ -64,10 +63,9 @@ TextureImporter:
|
|||||||
textureFormatSet: 0
|
textureFormatSet: 0
|
||||||
ignorePngGamma: 0
|
ignorePngGamma: 0
|
||||||
applyGammaDecoding: 0
|
applyGammaDecoding: 0
|
||||||
swizzle: 50462976
|
|
||||||
cookieLightType: 0
|
cookieLightType: 0
|
||||||
platformSettings:
|
platformSettings:
|
||||||
- serializedVersion: 4
|
- serializedVersion: 3
|
||||||
buildTarget: DefaultTexturePlatform
|
buildTarget: DefaultTexturePlatform
|
||||||
maxTextureSize: 2048
|
maxTextureSize: 2048
|
||||||
resizeAlgorithm: 0
|
resizeAlgorithm: 0
|
||||||
@ -77,10 +75,9 @@ TextureImporter:
|
|||||||
crunchedCompression: 0
|
crunchedCompression: 0
|
||||||
allowsAlphaSplitting: 0
|
allowsAlphaSplitting: 0
|
||||||
overridden: 0
|
overridden: 0
|
||||||
ignorePlatformSupport: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
androidETC2FallbackOverride: 0
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
- serializedVersion: 4
|
- serializedVersion: 3
|
||||||
buildTarget: Standalone
|
buildTarget: Standalone
|
||||||
maxTextureSize: 2048
|
maxTextureSize: 2048
|
||||||
resizeAlgorithm: 0
|
resizeAlgorithm: 0
|
||||||
@ -90,10 +87,9 @@ TextureImporter:
|
|||||||
crunchedCompression: 0
|
crunchedCompression: 0
|
||||||
allowsAlphaSplitting: 0
|
allowsAlphaSplitting: 0
|
||||||
overridden: 0
|
overridden: 0
|
||||||
ignorePlatformSupport: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
androidETC2FallbackOverride: 0
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
- serializedVersion: 4
|
- serializedVersion: 3
|
||||||
buildTarget: Server
|
buildTarget: Server
|
||||||
maxTextureSize: 2048
|
maxTextureSize: 2048
|
||||||
resizeAlgorithm: 0
|
resizeAlgorithm: 0
|
||||||
@ -103,10 +99,9 @@ TextureImporter:
|
|||||||
crunchedCompression: 0
|
crunchedCompression: 0
|
||||||
allowsAlphaSplitting: 0
|
allowsAlphaSplitting: 0
|
||||||
overridden: 0
|
overridden: 0
|
||||||
ignorePlatformSupport: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
androidETC2FallbackOverride: 0
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
- serializedVersion: 4
|
- serializedVersion: 3
|
||||||
buildTarget: WebGL
|
buildTarget: WebGL
|
||||||
maxTextureSize: 2048
|
maxTextureSize: 2048
|
||||||
resizeAlgorithm: 0
|
resizeAlgorithm: 0
|
||||||
@ -116,20 +111,6 @@ TextureImporter:
|
|||||||
crunchedCompression: 0
|
crunchedCompression: 0
|
||||||
allowsAlphaSplitting: 0
|
allowsAlphaSplitting: 0
|
||||||
overridden: 0
|
overridden: 0
|
||||||
ignorePlatformSupport: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
|
||||||
- serializedVersion: 4
|
|
||||||
buildTarget: iOS
|
|
||||||
maxTextureSize: 2048
|
|
||||||
resizeAlgorithm: 0
|
|
||||||
textureFormat: -1
|
|
||||||
textureCompression: 1
|
|
||||||
compressionQuality: 50
|
|
||||||
crunchedCompression: 0
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
overridden: 0
|
|
||||||
ignorePlatformSupport: 0
|
|
||||||
androidETC2FallbackOverride: 0
|
androidETC2FallbackOverride: 0
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
spriteSheet:
|
spriteSheet:
|
||||||
@ -146,8 +127,9 @@ TextureImporter:
|
|||||||
weights: []
|
weights: []
|
||||||
secondaryTextures: []
|
secondaryTextures: []
|
||||||
nameFileIdTable: {}
|
nameFileIdTable: {}
|
||||||
mipmapLimitGroupName:
|
spritePackingTag:
|
||||||
pSDRemoveMatte: 0
|
pSDRemoveMatte: 0
|
||||||
|
pSDShowRemoveMatteOption: 0
|
||||||
userData:
|
userData:
|
||||||
assetBundleName:
|
assetBundleName:
|
||||||
assetBundleVariant:
|
assetBundleVariant:
|
||||||
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: eed78ecbc19e986449a26b5cdd8e03f5
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
Binary file not shown.
@ -1,21 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 7832694ab2e13324a91548c91e46bed9
|
|
||||||
TrueTypeFontImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 4
|
|
||||||
fontSize: 16
|
|
||||||
forceTextureCase: -2
|
|
||||||
characterSpacing: 0
|
|
||||||
characterPadding: 1
|
|
||||||
includeFontData: 1
|
|
||||||
fontNames:
|
|
||||||
- Emilys Candy
|
|
||||||
fallbackFontReferences: []
|
|
||||||
customCharacters:
|
|
||||||
fontRenderingMode: 0
|
|
||||||
ascentCalculationMode: 1
|
|
||||||
useLegacyBoundsCalculation: 0
|
|
||||||
shouldRoundAdvanceValue: 1
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
File diff suppressed because one or more lines are too long
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 083008fb161f8d143a277ce4fdd6e1d1
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 11400000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
Binary file not shown.
@ -1,21 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 18eb24b128fc50a4d98beacf7909b041
|
|
||||||
TrueTypeFontImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 4
|
|
||||||
fontSize: 16
|
|
||||||
forceTextureCase: -2
|
|
||||||
characterSpacing: 0
|
|
||||||
characterPadding: 1
|
|
||||||
includeFontData: 1
|
|
||||||
fontNames:
|
|
||||||
- Lobster
|
|
||||||
fallbackFontReferences: []
|
|
||||||
customCharacters:
|
|
||||||
fontRenderingMode: 0
|
|
||||||
ascentCalculationMode: 1
|
|
||||||
useLegacyBoundsCalculation: 0
|
|
||||||
shouldRoundAdvanceValue: 1
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
File diff suppressed because one or more lines are too long
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 9cb0894884c5a124c83c5aa2434037dd
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 11400000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
Binary file not shown.
@ -1,21 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 311a38450f1556d44bd3a64f06c953cf
|
|
||||||
TrueTypeFontImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 4
|
|
||||||
fontSize: 16
|
|
||||||
forceTextureCase: -2
|
|
||||||
characterSpacing: 0
|
|
||||||
characterPadding: 1
|
|
||||||
includeFontData: 1
|
|
||||||
fontNames:
|
|
||||||
- Montserrat
|
|
||||||
fallbackFontReferences: []
|
|
||||||
customCharacters:
|
|
||||||
fontRenderingMode: 0
|
|
||||||
ascentCalculationMode: 1
|
|
||||||
useLegacyBoundsCalculation: 0
|
|
||||||
shouldRoundAdvanceValue: 1
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
Binary file not shown.
@ -1,21 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: f5766f96105332e4d934318f1f010cf8
|
|
||||||
TrueTypeFontImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 4
|
|
||||||
fontSize: 16
|
|
||||||
forceTextureCase: -2
|
|
||||||
characterSpacing: 0
|
|
||||||
characterPadding: 1
|
|
||||||
includeFontData: 1
|
|
||||||
fontNames:
|
|
||||||
- Montserrat
|
|
||||||
fallbackFontReferences: []
|
|
||||||
customCharacters:
|
|
||||||
fontRenderingMode: 0
|
|
||||||
ascentCalculationMode: 1
|
|
||||||
useLegacyBoundsCalculation: 0
|
|
||||||
shouldRoundAdvanceValue: 1
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
File diff suppressed because one or more lines are too long
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: d3cdee96c70581d499e05bc0c563adca
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 11400000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
Binary file not shown.
@ -1,21 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 744e6dca72d0e024594bc8da223d1122
|
|
||||||
TrueTypeFontImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 4
|
|
||||||
fontSize: 16
|
|
||||||
forceTextureCase: -2
|
|
||||||
characterSpacing: 0
|
|
||||||
characterPadding: 1
|
|
||||||
includeFontData: 1
|
|
||||||
fontNames:
|
|
||||||
- Playfair Display
|
|
||||||
fallbackFontReferences: []
|
|
||||||
customCharacters:
|
|
||||||
fontRenderingMode: 0
|
|
||||||
ascentCalculationMode: 1
|
|
||||||
useLegacyBoundsCalculation: 0
|
|
||||||
shouldRoundAdvanceValue: 1
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
Binary file not shown.
@ -1,21 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 58949743a7bca5c40b7236eb14297666
|
|
||||||
TrueTypeFontImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 4
|
|
||||||
fontSize: 16
|
|
||||||
forceTextureCase: -2
|
|
||||||
characterSpacing: 0
|
|
||||||
characterPadding: 1
|
|
||||||
includeFontData: 1
|
|
||||||
fontNames:
|
|
||||||
- Playfair Display
|
|
||||||
fallbackFontReferences: []
|
|
||||||
customCharacters:
|
|
||||||
fontRenderingMode: 0
|
|
||||||
ascentCalculationMode: 1
|
|
||||||
useLegacyBoundsCalculation: 0
|
|
||||||
shouldRoundAdvanceValue: 1
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
File diff suppressed because one or more lines are too long
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 2f38d7889bac3554ba66df98e7d99da8
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 11400000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
Binary file not shown.
@ -1,21 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: fff2545b1c1f1974d9112eca7e60f2ff
|
|
||||||
TrueTypeFontImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 4
|
|
||||||
fontSize: 16
|
|
||||||
forceTextureCase: -2
|
|
||||||
characterSpacing: 0
|
|
||||||
characterPadding: 1
|
|
||||||
includeFontData: 1
|
|
||||||
fontNames:
|
|
||||||
- Poller One
|
|
||||||
fallbackFontReferences: []
|
|
||||||
customCharacters:
|
|
||||||
fontRenderingMode: 0
|
|
||||||
ascentCalculationMode: 1
|
|
||||||
useLegacyBoundsCalculation: 0
|
|
||||||
shouldRoundAdvanceValue: 1
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
File diff suppressed because one or more lines are too long
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: b43ff873cb13e7449bc1f9ddcf79dd92
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 11400000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
Binary file not shown.
@ -1,21 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 91e3cac92e3ad364b9d1364e2e1dac6b
|
|
||||||
TrueTypeFontImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 4
|
|
||||||
fontSize: 16
|
|
||||||
forceTextureCase: -2
|
|
||||||
characterSpacing: 0
|
|
||||||
characterPadding: 1
|
|
||||||
includeFontData: 1
|
|
||||||
fontNames:
|
|
||||||
- Rubik Doodle Shadow
|
|
||||||
fallbackFontReferences: []
|
|
||||||
customCharacters:
|
|
||||||
fontRenderingMode: 0
|
|
||||||
ascentCalculationMode: 1
|
|
||||||
useLegacyBoundsCalculation: 0
|
|
||||||
shouldRoundAdvanceValue: 1
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
File diff suppressed because one or more lines are too long
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: c19ab5c67b978754db182bf63515c86d
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 11400000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
Binary file not shown.
@ -1,21 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 51c3ba3bb08656d43ba7c588ec8a639e
|
|
||||||
TrueTypeFontImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 4
|
|
||||||
fontSize: 16
|
|
||||||
forceTextureCase: -2
|
|
||||||
characterSpacing: 0
|
|
||||||
characterPadding: 1
|
|
||||||
includeFontData: 1
|
|
||||||
fontNames:
|
|
||||||
- Rubik Mono One
|
|
||||||
fallbackFontReferences: []
|
|
||||||
customCharacters:
|
|
||||||
fontRenderingMode: 0
|
|
||||||
ascentCalculationMode: 1
|
|
||||||
useLegacyBoundsCalculation: 0
|
|
||||||
shouldRoundAdvanceValue: 1
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
File diff suppressed because one or more lines are too long
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 181a7725f330427489c5d10ac0320488
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 11400000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
46
Assets/LogicScript.cs
Normal file
46
Assets/LogicScript.cs
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
using UnityEngine.SceneManagement;
|
||||||
|
|
||||||
|
public class LogicScript : MonoBehaviour
|
||||||
|
{
|
||||||
|
public int playerScore;
|
||||||
|
public Text scoreText;
|
||||||
|
public GameObject gameOverScreen;
|
||||||
|
// public TouchPoint1Script Script1;
|
||||||
|
// public TouchPoint2Script Script2;
|
||||||
|
// public TouchPoint3Script Script3;
|
||||||
|
// public TouchPoint4Script Script4;
|
||||||
|
// public bool IsTouchingBottom;
|
||||||
|
// public bool IsTouchingLeftSide;
|
||||||
|
|
||||||
|
public void addScore(int scoreToAdd){
|
||||||
|
playerScore += scoreToAdd;
|
||||||
|
scoreText.text = playerScore.ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void restartGame() {
|
||||||
|
SceneManager.LoadScene(SceneManager.GetActiveScene().name);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void gameOver() {
|
||||||
|
gameOverScreen.SetActive(true);
|
||||||
|
}
|
||||||
|
|
||||||
|
// void Update() {
|
||||||
|
// if (Script1.IsTouching1 && Script2.IsTouching2) {
|
||||||
|
// IsTouchingBottom = false;
|
||||||
|
// }
|
||||||
|
// if (Script1.IsTouching1 && Script4.IsTouching4) {
|
||||||
|
// IsTouchingLeftSide = true;
|
||||||
|
// }
|
||||||
|
// if (Script2.IsTouching2 && Script3.IsTouching3) {
|
||||||
|
// IsTouchingLeftSide = false;
|
||||||
|
// }
|
||||||
|
// if (Script4.IsTouching4 && Script3.IsTouching3) {
|
||||||
|
// IsTouchingBottom = true;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
}
|
||||||
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 973944b2a3e9dde409a25648c23d4f19
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,84 +0,0 @@
|
|||||||
%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: Background_01
|
|
||||||
m_Shader: {fileID: 10752, 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: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _MainTex:
|
|
||||||
m_Texture: {fileID: 2800000, guid: 8eb1a80a806b57140b0a86cbf29dca91, type: 3}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _MetallicGlossMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _OcclusionMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _ParallaxMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
m_Ints: []
|
|
||||||
m_Floats:
|
|
||||||
- _BumpScale: 1
|
|
||||||
- _Cutoff: 0.5
|
|
||||||
- _DetailNormalMapScale: 1
|
|
||||||
- _DstBlend: 0
|
|
||||||
- _GlossMapScale: 1
|
|
||||||
- _Glossiness: 0.5
|
|
||||||
- _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: 1, g: 1, b: 1, a: 1}
|
|
||||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
|
||||||
m_BuildTextureStacks: []
|
|
||||||
m_AllowLocking: 1
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: b2d10c1db7e012f4f844c995fb595e22
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 2100000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
%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: Background_02
|
|
||||||
m_Shader: {fileID: 10752, guid: 0000000000000000f000000000000000, type: 0}
|
|
||||||
m_ValidKeywords: []
|
|
||||||
m_InvalidKeywords: []
|
|
||||||
m_LightmapFlags: 4
|
|
||||||
m_EnableInstancingVariants: 0
|
|
||||||
m_DoubleSidedGI: 0
|
|
||||||
m_CustomRenderQueue: -1
|
|
||||||
stringTagMap: {}
|
|
||||||
disabledShaderPasses: []
|
|
||||||
m_SavedProperties:
|
|
||||||
serializedVersion: 3
|
|
||||||
m_TexEnvs:
|
|
||||||
- _MainTex:
|
|
||||||
m_Texture: {fileID: 2800000, guid: 5876067cfeb1b4f48bf506461394990b, type: 3}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
m_Ints: []
|
|
||||||
m_Floats: []
|
|
||||||
m_Colors: []
|
|
||||||
m_BuildTextureStacks: []
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: d300556a61682d740a36746a64f4a76d
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 2100000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,84 +0,0 @@
|
|||||||
%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: Background_03
|
|
||||||
m_Shader: {fileID: 10752, 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: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _MainTex:
|
|
||||||
m_Texture: {fileID: 2800000, guid: 3d95ac2cce300cf4aae08afb339d5e5a, type: 3}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _MetallicGlossMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _OcclusionMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _ParallaxMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
m_Ints: []
|
|
||||||
m_Floats:
|
|
||||||
- _BumpScale: 1
|
|
||||||
- _Cutoff: 0.5
|
|
||||||
- _DetailNormalMapScale: 1
|
|
||||||
- _DstBlend: 0
|
|
||||||
- _GlossMapScale: 1
|
|
||||||
- _Glossiness: 0.5
|
|
||||||
- _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: 1, g: 1, b: 1, a: 1}
|
|
||||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
|
||||||
m_BuildTextureStacks: []
|
|
||||||
m_AllowLocking: 1
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: c261bcc0d6841394b80ebe714fa5a2da
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 2100000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,84 +0,0 @@
|
|||||||
%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: Background_04
|
|
||||||
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: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _MainTex:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _MetallicGlossMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _OcclusionMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _ParallaxMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
m_Ints: []
|
|
||||||
m_Floats:
|
|
||||||
- _BumpScale: 1
|
|
||||||
- _Cutoff: 0.5
|
|
||||||
- _DetailNormalMapScale: 1
|
|
||||||
- _DstBlend: 0
|
|
||||||
- _GlossMapScale: 1
|
|
||||||
- _Glossiness: 0.35
|
|
||||||
- _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, g: 0, b: 0, a: 1}
|
|
||||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
|
||||||
m_BuildTextureStacks: []
|
|
||||||
m_AllowLocking: 1
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 31a2754c72f3aff4b88d2db278bb8d19
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 2100000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: bd1eefd0975f1e54f9287dc2fe36ecad
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,9 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 06ae579381df01a4a87bb149dec89954
|
|
||||||
folderAsset: yes
|
|
||||||
timeCreated: 1429061260
|
|
||||||
licenseType: Store
|
|
||||||
DefaultImporter:
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 0e6506e4df2158d43b4c456302e734a0
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,45 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "FMODUnity",
|
|
||||||
"references": [
|
|
||||||
"Unity.Timeline",
|
|
||||||
"Unity.Addressables",
|
|
||||||
"Unity.ResourceManager",
|
|
||||||
"Unity.RenderPipelines.Universal.Runtime"
|
|
||||||
|
|
||||||
],
|
|
||||||
"includePlatforms": [],
|
|
||||||
"excludePlatforms": [],
|
|
||||||
"allowUnsafeCode": false,
|
|
||||||
"overrideReferences": false,
|
|
||||||
"precompiledReferences": [],
|
|
||||||
"autoReferenced": true,
|
|
||||||
"defineConstraints": [],
|
|
||||||
"versionDefines": [
|
|
||||||
{
|
|
||||||
"name": "com.unity.timeline",
|
|
||||||
"expression": "1.0.0",
|
|
||||||
"define": "UNITY_TIMELINE_EXIST"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "com.unity.addressables",
|
|
||||||
"expression": "1.0.0",
|
|
||||||
"define": "UNITY_ADDRESSABLES_EXIST"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "com.unity.modules.physics",
|
|
||||||
"expression": "1.0.0",
|
|
||||||
"define": "UNITY_PHYSICS_EXIST"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "com.unity.modules.physics2d",
|
|
||||||
"expression": "1.0.0",
|
|
||||||
"define": "UNITY_PHYSICS2D_EXIST"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "com.unity.urp",
|
|
||||||
"expression": "1.0.0",
|
|
||||||
"define": "UNITY_URP_EXIST"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"noEngineReferences": false
|
|
||||||
}
|
|
||||||
@ -1,14 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 0c752da273b17c547ae705acf0f2adf2
|
|
||||||
AssemblyDefinitionImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
AssetOrigin:
|
|
||||||
serializedVersion: 1
|
|
||||||
productId: 161631
|
|
||||||
packageName: FMOD for Unity
|
|
||||||
packageVersion: 2.02.19
|
|
||||||
assetPath: Assets/Plugins/FMOD/FMODUnity.asmdef
|
|
||||||
uploadId: 633607
|
|
||||||
@ -1,157 +0,0 @@
|
|||||||
FMOD END USER LICENCE AGREEMENT
|
|
||||||
===============================
|
|
||||||
|
|
||||||
This End User Licence Agreement (EULA) is a legal agreement between you and
|
|
||||||
Firelight Technologies Pty Ltd (ACN 099 182 448) (us or we) and governs your use
|
|
||||||
of FMOD Studio Authoring Tool and FMOD Studio Engine, together the Software.
|
|
||||||
|
|
||||||
1. GRANT OF LICENCE
|
|
||||||
|
|
||||||
1.1 FMOD Studio Authoring Tool
|
|
||||||
|
|
||||||
This EULA grants you the right to use FMOD Studio Authoring Tool for all use,
|
|
||||||
including Commercial use, subject to the following:
|
|
||||||
|
|
||||||
i. FMOD Studio Authoring Tool is used to create content for use with the
|
|
||||||
FMOD Studio Engine only;
|
|
||||||
|
|
||||||
ii. FMOD Studio Authoring Tool is not redistributed in any form.
|
|
||||||
|
|
||||||
1.2 FMOD Studio Engine
|
|
||||||
|
|
||||||
This EULA grants you the right to use FMOD Studio Engine, for personal
|
|
||||||
(hobbyist), educational (students and teachers) or Non-Commercial use only,
|
|
||||||
subject to the following:
|
|
||||||
|
|
||||||
i. FMOD Studio Engine is integrated and redistributed in a software
|
|
||||||
application (Product) only;
|
|
||||||
|
|
||||||
ii. FMOD Studio Engine is not distributed as part of a game engine or tool
|
|
||||||
set;
|
|
||||||
|
|
||||||
iii. FMOD Studio Engine is not used in any Commercial enterprise or for any
|
|
||||||
Commercial production or subcontracting, except for the purposes of
|
|
||||||
Evaluation or Development of a Commercial Product;
|
|
||||||
|
|
||||||
iv. Non-Commercial use does not involve any form of monetisation,
|
|
||||||
sponsorship or promotion;
|
|
||||||
|
|
||||||
v. Product includes attribution in accordance with Clause 3.
|
|
||||||
|
|
||||||
2.OTHER USE
|
|
||||||
|
|
||||||
For all Commercial use, and any Non Commercial use not permitted by this
|
|
||||||
license, a separate license is required. Refer to www.fmod.com/licensing for
|
|
||||||
information.
|
|
||||||
|
|
||||||
3. CREDITS
|
|
||||||
|
|
||||||
All Products require an in game credit line which must include the words “FMOD
|
|
||||||
Studio” and “Firelight Technologies Pty Ltd”. Refer to www.fmod.com/attribution
|
|
||||||
for examples.
|
|
||||||
|
|
||||||
4. INTELLECTUAL PROPERTY RIGHTS
|
|
||||||
|
|
||||||
We are and remain at all times the owner of the Software (including all
|
|
||||||
intellectual property rights in or to the Software). For the avoidance of doubt,
|
|
||||||
nothing in this EULA may be deemed to grant or assign to you any proprietary or
|
|
||||||
ownership interest or intellectual property rights in or to the Software other
|
|
||||||
than the rights licensed pursuant to Clause 1.
|
|
||||||
|
|
||||||
You acknowledge and agree that you have no right, title or interest in and to
|
|
||||||
the intellectual property rights in the Software.
|
|
||||||
|
|
||||||
5. SECURITY AND RISK
|
|
||||||
|
|
||||||
You are responsible for protecting the Software and any related materials at all
|
|
||||||
times from unauthorised access, use or damage.
|
|
||||||
|
|
||||||
6. WARRANTY AND LIMITATION OF LIABILITY
|
|
||||||
|
|
||||||
The Software is provided by us “as is” and, to the maximum extent permitted by
|
|
||||||
law, any express or implied warranties of any kind, including (but not limited
|
|
||||||
to) all implied warranties of merchantability and fitness for a particular
|
|
||||||
purpose are disclaimed.
|
|
||||||
|
|
||||||
In no event shall we (and our employees, contractors and subcontractors),
|
|
||||||
developers and contributors be liable for any direct, special, indirect or
|
|
||||||
consequential damages whatsoever resulting from loss of data or profits, whether
|
|
||||||
in an action of contract, negligence or other tortious conduct, arising out of
|
|
||||||
or in connection with the use or performance of the Software.
|
|
||||||
|
|
||||||
7. OGG VORBIS CODEC
|
|
||||||
|
|
||||||
FMOD uses the Ogg Vorbis codec © 2002, Xiph.Org Foundation.
|
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without modification,
|
|
||||||
are permitted provided that the following conditions are met:
|
|
||||||
|
|
||||||
i. Redistributions of source code must retain the above copyright notice,
|
|
||||||
the list of conditions and the following disclaimer.
|
|
||||||
|
|
||||||
ii. Redistributions in binary form must reproduce the above copyright
|
|
||||||
notice, this list of conditions and the following disclaimer in the
|
|
||||||
documentation and/or other material provided with the distribution.
|
|
||||||
|
|
||||||
iii. Neither the name of the Xiph.org Foundation nor the names of its
|
|
||||||
contributors may be used to endorse or promote products derived from this
|
|
||||||
software without specific prior written permission.
|
|
||||||
|
|
||||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
|
||||||
CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
|
||||||
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
||||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
||||||
IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
|
||||||
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
||||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
|
||||||
OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
|
||||||
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
||||||
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
||||||
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
||||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
|
|
||||||
8. RESONANCE AUDIO SDK
|
|
||||||
|
|
||||||
FMOD includes Resonance Audio SDK, licensed under the Apache Licence, Version
|
|
||||||
2.0 (the Licence); you may not use this file except in compliance with the
|
|
||||||
License. You may obtain a copy of the License at:
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software distributed
|
|
||||||
under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR
|
|
||||||
CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
|
||||||
specific language governing permissions and limitations under the License.
|
|
||||||
|
|
||||||
8. ANDROID PLATFORM CODE
|
|
||||||
|
|
||||||
Copyright (C) 2010 The Android Open Source Project All rights reserved.
|
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without modification,
|
|
||||||
are permitted provided that the following conditions are met:
|
|
||||||
|
|
||||||
* Redistributions of source code must retain the above copyright notice,
|
|
||||||
this list of conditions and the following disclaimer.
|
|
||||||
|
|
||||||
* Redistributions in binary form must reproduce the above copyright notice,
|
|
||||||
this list of conditions and the following disclaimer in the documentation
|
|
||||||
and/or other materials provided with the distribution.
|
|
||||||
|
|
||||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
||||||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
||||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
|
||||||
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
|
||||||
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
||||||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
|
||||||
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
|
||||||
OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
|
||||||
AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
||||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
|
|
||||||
OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
||||||
SUCH DAMAGE.
|
|
||||||
|
|
||||||
9. AUDIOMOTORS DEMO CONTENT
|
|
||||||
|
|
||||||
The audiogaming_audiomotors_demo_engine.agp file is provided for evaluation
|
|
||||||
purposes only and is not to be redistributed. AudioMotors V2 Pro is required to
|
|
||||||
create your own engine content. Refer to https://lesound.io for information.
|
|
||||||
@ -1,14 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 3b3058c191b4b5145a1e9fc5b16402f5
|
|
||||||
TextScriptImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
AssetOrigin:
|
|
||||||
serializedVersion: 1
|
|
||||||
productId: 161631
|
|
||||||
packageName: FMOD for Unity
|
|
||||||
packageVersion: 2.02.19
|
|
||||||
assetPath: Assets/Plugins/FMOD/LICENSE.TXT
|
|
||||||
uploadId: 633607
|
|
||||||
@ -1,14 +0,0 @@
|
|||||||
Welcome to FMOD for Unity
|
|
||||||
|
|
||||||
This package allows you to easily play back audio events created in FMOD Studio
|
|
||||||
within your Unity project.
|
|
||||||
|
|
||||||
The best place to start is with our online documentation:
|
|
||||||
https://fmod.com/docs/2.02/unity
|
|
||||||
|
|
||||||
If you prefer a more step-by-step guide, try our integration tutorial that
|
|
||||||
builds on the familiar Karting Microgame:
|
|
||||||
https://fmod.com/unity-integrate
|
|
||||||
|
|
||||||
For support, join the conversation on our Unity forums:
|
|
||||||
https://qa.fmod.com/c/unity
|
|
||||||
@ -1,14 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 081074d1d9d6ab448b88688c3730e8a1
|
|
||||||
TextScriptImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
AssetOrigin:
|
|
||||||
serializedVersion: 1
|
|
||||||
productId: 161631
|
|
||||||
packageName: FMOD for Unity
|
|
||||||
packageVersion: 2.02.19
|
|
||||||
assetPath: Assets/Plugins/FMOD/README.txt
|
|
||||||
uploadId: 633607
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 041084997f5a4b24092d2a6f6ac833c7
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,884 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!114 &-8225521727601181358
|
|
||||||
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: 335f0a4b26fb46942858ea029e030d2a, type: 3}
|
|
||||||
m_Name: FMODStudioSettingsPlatform
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
identifier: playInEditor
|
|
||||||
parentIdentifier:
|
|
||||||
active: 1
|
|
||||||
Properties:
|
|
||||||
LiveUpdate:
|
|
||||||
Value: 1
|
|
||||||
HasValue: 1
|
|
||||||
LiveUpdatePort:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
Overlay:
|
|
||||||
Value: 1
|
|
||||||
HasValue: 1
|
|
||||||
OverlayPosition:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
OverlayFontSize:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
Logging:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
SampleRate:
|
|
||||||
Value: 48000
|
|
||||||
HasValue: 1
|
|
||||||
BuildDirectory:
|
|
||||||
Value:
|
|
||||||
HasValue: 0
|
|
||||||
SpeakerMode:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
VirtualChannelCount:
|
|
||||||
Value: 1024
|
|
||||||
HasValue: 1
|
|
||||||
RealChannelCount:
|
|
||||||
Value: 256
|
|
||||||
HasValue: 1
|
|
||||||
DSPBufferLength:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
DSPBufferCount:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
Plugins:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
StaticPlugins:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
CallbackHandler:
|
|
||||||
Value: {fileID: 0}
|
|
||||||
HasValue: 0
|
|
||||||
OutputTypeName:
|
|
||||||
threadAffinities:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
displaySortOrder: 0
|
|
||||||
childIdentifiers: []
|
|
||||||
codecChannels:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
--- !u!114 &-7567739772916379983
|
|
||||||
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: 9660e62d6232af242877f0cc2b90c63d, type: 3}
|
|
||||||
m_Name: FMODStudioSettingsPlatform
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
identifier: 2c5177b11d81d824dbb064f9ac8527da
|
|
||||||
parentIdentifier: default
|
|
||||||
active: 0
|
|
||||||
Properties:
|
|
||||||
LiveUpdate:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
LiveUpdatePort:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
Overlay:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
OverlayPosition:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
OverlayFontSize:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
Logging:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
SampleRate:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
BuildDirectory:
|
|
||||||
Value:
|
|
||||||
HasValue: 0
|
|
||||||
SpeakerMode:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
VirtualChannelCount:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
RealChannelCount:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
DSPBufferLength:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
DSPBufferCount:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
Plugins:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
StaticPlugins:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
CallbackHandler:
|
|
||||||
Value: {fileID: 0}
|
|
||||||
HasValue: 0
|
|
||||||
OutputTypeName:
|
|
||||||
threadAffinities:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
displaySortOrder: 0
|
|
||||||
childIdentifiers: []
|
|
||||||
codecChannels:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
--- !u!114 &-5690648171429307514
|
|
||||||
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: 97ba6cc2660c0ca498540d254701057a, type: 3}
|
|
||||||
m_Name: FMODStudioSettingsPlatform
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
identifier: 2fea114e74ecf3c4f920e1d5cc1c4c40
|
|
||||||
parentIdentifier: default
|
|
||||||
active: 0
|
|
||||||
Properties:
|
|
||||||
LiveUpdate:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
LiveUpdatePort:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
Overlay:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
OverlayPosition:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
OverlayFontSize:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
Logging:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
SampleRate:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
BuildDirectory:
|
|
||||||
Value:
|
|
||||||
HasValue: 0
|
|
||||||
SpeakerMode:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
VirtualChannelCount:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
RealChannelCount:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
DSPBufferLength:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
DSPBufferCount:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
Plugins:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
StaticPlugins:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
CallbackHandler:
|
|
||||||
Value: {fileID: 0}
|
|
||||||
HasValue: 0
|
|
||||||
OutputTypeName:
|
|
||||||
threadAffinities:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
displaySortOrder: 0
|
|
||||||
childIdentifiers: []
|
|
||||||
codecChannels:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
--- !u!114 &-5541003330998932044
|
|
||||||
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: 9587379c972e4a54da1949613f11e1c6, type: 3}
|
|
||||||
m_Name: FMODStudioSettingsPlatform
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
identifier: default
|
|
||||||
parentIdentifier:
|
|
||||||
active: 1
|
|
||||||
Properties:
|
|
||||||
LiveUpdate:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
LiveUpdatePort:
|
|
||||||
Value: 9264
|
|
||||||
HasValue: 1
|
|
||||||
Overlay:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
OverlayPosition:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
OverlayFontSize:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
Logging:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
SampleRate:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
BuildDirectory:
|
|
||||||
Value:
|
|
||||||
HasValue: 0
|
|
||||||
SpeakerMode:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
VirtualChannelCount:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
RealChannelCount:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
DSPBufferLength:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
DSPBufferCount:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
Plugins:
|
|
||||||
Value: []
|
|
||||||
HasValue: 1
|
|
||||||
StaticPlugins:
|
|
||||||
Value: []
|
|
||||||
HasValue: 1
|
|
||||||
CallbackHandler:
|
|
||||||
Value: {fileID: 0}
|
|
||||||
HasValue: 0
|
|
||||||
OutputTypeName:
|
|
||||||
threadAffinities:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
displaySortOrder: 0
|
|
||||||
childIdentifiers:
|
|
||||||
- 46fbfdf3fc43db0458918377fd40293e
|
|
||||||
- 2fea114e74ecf3c4f920e1d5cc1c4c40
|
|
||||||
- 52eb9df5db46521439908db3a29a1bbb
|
|
||||||
- b7716510a1f36934c87976f3a81dbf3d
|
|
||||||
- 2c5177b11d81d824dbb064f9ac8527da
|
|
||||||
- 0f8eb3f400726694eb47beb1a9f94ce8
|
|
||||||
- c88d16e5272a4e241b0ef0ac2e53b73d
|
|
||||||
- e7a046c753c3c3d4aacc91f6597f310d
|
|
||||||
- fd7c55dab0fce234b8c25f6ffca523c1
|
|
||||||
codecChannels:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
--- !u!114 &-1396862243487966313
|
|
||||||
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: b87314b32fbe18943af496e4b47136c6, type: 3}
|
|
||||||
m_Name: FMODStudioSettingsPlatform
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
identifier: 46fbfdf3fc43db0458918377fd40293e
|
|
||||||
parentIdentifier: default
|
|
||||||
active: 0
|
|
||||||
Properties:
|
|
||||||
LiveUpdate:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
LiveUpdatePort:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
Overlay:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
OverlayPosition:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
OverlayFontSize:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
Logging:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
SampleRate:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
BuildDirectory:
|
|
||||||
Value:
|
|
||||||
HasValue: 0
|
|
||||||
SpeakerMode:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
VirtualChannelCount:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
RealChannelCount:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
DSPBufferLength:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
DSPBufferCount:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
Plugins:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
StaticPlugins:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
CallbackHandler:
|
|
||||||
Value: {fileID: 0}
|
|
||||||
HasValue: 0
|
|
||||||
OutputTypeName:
|
|
||||||
threadAffinities:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
displaySortOrder: 0
|
|
||||||
childIdentifiers: []
|
|
||||||
codecChannels:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
--- !u!114 &-1152933125485084088
|
|
||||||
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: bc1f51bc35d549941904cf062bae93a3, type: 3}
|
|
||||||
m_Name: FMODStudioSettingsPlatform
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
identifier: 0f8eb3f400726694eb47beb1a9f94ce8
|
|
||||||
parentIdentifier: default
|
|
||||||
active: 0
|
|
||||||
Properties:
|
|
||||||
LiveUpdate:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
LiveUpdatePort:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
Overlay:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
OverlayPosition:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
OverlayFontSize:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
Logging:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
SampleRate:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
BuildDirectory:
|
|
||||||
Value:
|
|
||||||
HasValue: 0
|
|
||||||
SpeakerMode:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
VirtualChannelCount:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
RealChannelCount:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
DSPBufferLength:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
DSPBufferCount:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
Plugins:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
StaticPlugins:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
CallbackHandler:
|
|
||||||
Value: {fileID: 0}
|
|
||||||
HasValue: 0
|
|
||||||
OutputTypeName:
|
|
||||||
threadAffinities:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
displaySortOrder: 0
|
|
||||||
childIdentifiers: []
|
|
||||||
codecChannels:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
--- !u!114 &-24563815046477791
|
|
||||||
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: 3abeb1429547a134480f4f2f1efc7e21, type: 3}
|
|
||||||
m_Name: FMODStudioSettingsPlatform
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
identifier: c88d16e5272a4e241b0ef0ac2e53b73d
|
|
||||||
parentIdentifier: default
|
|
||||||
active: 0
|
|
||||||
Properties:
|
|
||||||
LiveUpdate:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
LiveUpdatePort:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
Overlay:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
OverlayPosition:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
OverlayFontSize:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
Logging:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
SampleRate:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
BuildDirectory:
|
|
||||||
Value:
|
|
||||||
HasValue: 0
|
|
||||||
SpeakerMode:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
VirtualChannelCount:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
RealChannelCount:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
DSPBufferLength:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
DSPBufferCount:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
Plugins:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
StaticPlugins:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
CallbackHandler:
|
|
||||||
Value: {fileID: 0}
|
|
||||||
HasValue: 0
|
|
||||||
OutputTypeName:
|
|
||||||
threadAffinities:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
displaySortOrder: 0
|
|
||||||
childIdentifiers: []
|
|
||||||
codecChannels:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
--- !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: eef8d824ea7b63742966aaa0e94ac383, type: 3}
|
|
||||||
m_Name: FMODStudioSettings
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
switchSettingsMigration: 1
|
|
||||||
HasSourceProject: 1
|
|
||||||
HasPlatforms: 1
|
|
||||||
sourceProjectPath: ../Desktop/Programmieren/Audio-System-Fmod-Square-Dash/Audio-System-Fmod-Square-Dash.fspro
|
|
||||||
sourceBankPath: ../Desktop/Programmieren/Audio-System-Fmod-Square-Dash/Build
|
|
||||||
sourceBankPathUnformatted:
|
|
||||||
BankRefreshCooldown: 5
|
|
||||||
ShowBankRefreshWindow: 1
|
|
||||||
AutomaticEventLoading: 1
|
|
||||||
BankLoadType: 0
|
|
||||||
AutomaticSampleLoading: 0
|
|
||||||
EncryptionKey:
|
|
||||||
ImportType: 0
|
|
||||||
TargetAssetPath: FMODBanks
|
|
||||||
TargetBankFolder:
|
|
||||||
EventLinkage: 0
|
|
||||||
LoggingLevel: 2
|
|
||||||
SpeakerModeSettings: []
|
|
||||||
SampleRateSettings: []
|
|
||||||
LiveUpdateSettings: []
|
|
||||||
OverlaySettings: []
|
|
||||||
BankDirectorySettings: []
|
|
||||||
VirtualChannelSettings: []
|
|
||||||
RealChannelSettings: []
|
|
||||||
Plugins: []
|
|
||||||
MasterBanks:
|
|
||||||
- Master
|
|
||||||
Banks:
|
|
||||||
- Level Musics
|
|
||||||
- Lobby Music
|
|
||||||
- SFX
|
|
||||||
BanksToLoad: []
|
|
||||||
LiveUpdatePort: 9264
|
|
||||||
EnableMemoryTracking: 0
|
|
||||||
AndroidUseOBB: 0
|
|
||||||
AndroidPatchBuild: 0
|
|
||||||
MeterChannelOrdering: 0
|
|
||||||
StopEventsOutsideMaxDistance: 0
|
|
||||||
BoltUnitOptionsBuildPending: 0
|
|
||||||
EnableErrorCallback: 0
|
|
||||||
SharedLibraryUpdateStage: 0
|
|
||||||
SharedLibraryTimeSinceStart: 0
|
|
||||||
CurrentVersion: 131616
|
|
||||||
HideSetupWizard: 1
|
|
||||||
LastEventReferenceScanVersion: 131616
|
|
||||||
Platforms:
|
|
||||||
- {fileID: -8225521727601181358}
|
|
||||||
- {fileID: -5541003330998932044}
|
|
||||||
- {fileID: -1396862243487966313}
|
|
||||||
- {fileID: -5690648171429307514}
|
|
||||||
- {fileID: 5068470234963837874}
|
|
||||||
- {fileID: 1776299659233880587}
|
|
||||||
- {fileID: -7567739772916379983}
|
|
||||||
- {fileID: -1152933125485084088}
|
|
||||||
- {fileID: -24563815046477791}
|
|
||||||
- {fileID: 2923378540979212391}
|
|
||||||
- {fileID: 1423983086696673640}
|
|
||||||
MigratedPlatforms: 0500000012000000060000000b000000080000000a000000090000000c000000150000000200000001000000
|
|
||||||
--- !u!114 &1423983086696673640
|
|
||||||
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: 93a382382f106584e8f8f62412fee177, type: 3}
|
|
||||||
m_Name: FMODStudioSettingsPlatform
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
identifier: fd7c55dab0fce234b8c25f6ffca523c1
|
|
||||||
parentIdentifier: default
|
|
||||||
active: 0
|
|
||||||
Properties:
|
|
||||||
LiveUpdate:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
LiveUpdatePort:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
Overlay:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
OverlayPosition:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
OverlayFontSize:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
Logging:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
SampleRate:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
BuildDirectory:
|
|
||||||
Value:
|
|
||||||
HasValue: 0
|
|
||||||
SpeakerMode:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
VirtualChannelCount:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
RealChannelCount:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
DSPBufferLength:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
DSPBufferCount:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
Plugins:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
StaticPlugins:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
CallbackHandler:
|
|
||||||
Value: {fileID: 0}
|
|
||||||
HasValue: 0
|
|
||||||
OutputTypeName:
|
|
||||||
threadAffinities:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
displaySortOrder: 0
|
|
||||||
childIdentifiers: []
|
|
||||||
codecChannels:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
--- !u!114 &1776299659233880587
|
|
||||||
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: 73549a74f689f0849a8271d9e908c514, type: 3}
|
|
||||||
m_Name: FMODStudioSettingsPlatform
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
identifier: b7716510a1f36934c87976f3a81dbf3d
|
|
||||||
parentIdentifier: default
|
|
||||||
active: 0
|
|
||||||
Properties:
|
|
||||||
LiveUpdate:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
LiveUpdatePort:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
Overlay:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
OverlayPosition:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
OverlayFontSize:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
Logging:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
SampleRate:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
BuildDirectory:
|
|
||||||
Value:
|
|
||||||
HasValue: 0
|
|
||||||
SpeakerMode:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
VirtualChannelCount:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
RealChannelCount:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
DSPBufferLength:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
DSPBufferCount:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
Plugins:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
StaticPlugins:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
CallbackHandler:
|
|
||||||
Value: {fileID: 0}
|
|
||||||
HasValue: 0
|
|
||||||
OutputTypeName:
|
|
||||||
threadAffinities:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
displaySortOrder: 0
|
|
||||||
childIdentifiers: []
|
|
||||||
codecChannels:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
--- !u!114 &2923378540979212391
|
|
||||||
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: 17eea195bdfbf014e91ba7620ee491f8, type: 3}
|
|
||||||
m_Name: FMODStudioSettingsPlatform
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
identifier: e7a046c753c3c3d4aacc91f6597f310d
|
|
||||||
parentIdentifier: default
|
|
||||||
active: 0
|
|
||||||
Properties:
|
|
||||||
LiveUpdate:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
LiveUpdatePort:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
Overlay:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
OverlayPosition:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
OverlayFontSize:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
Logging:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
SampleRate:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
BuildDirectory:
|
|
||||||
Value:
|
|
||||||
HasValue: 0
|
|
||||||
SpeakerMode:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
VirtualChannelCount:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
RealChannelCount:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
DSPBufferLength:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
DSPBufferCount:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
Plugins:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
StaticPlugins:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
CallbackHandler:
|
|
||||||
Value: {fileID: 0}
|
|
||||||
HasValue: 0
|
|
||||||
OutputTypeName:
|
|
||||||
threadAffinities:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
displaySortOrder: 0
|
|
||||||
childIdentifiers: []
|
|
||||||
codecChannels:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
--- !u!114 &5068470234963837874
|
|
||||||
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: d92d0baf34dae0e4ea032a42bd6107c0, type: 3}
|
|
||||||
m_Name: FMODStudioSettingsPlatform
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
identifier: 52eb9df5db46521439908db3a29a1bbb
|
|
||||||
parentIdentifier: default
|
|
||||||
active: 0
|
|
||||||
Properties:
|
|
||||||
LiveUpdate:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
LiveUpdatePort:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
Overlay:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
OverlayPosition:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
OverlayFontSize:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
Logging:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
SampleRate:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
BuildDirectory:
|
|
||||||
Value:
|
|
||||||
HasValue: 0
|
|
||||||
SpeakerMode:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
VirtualChannelCount:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
RealChannelCount:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
DSPBufferLength:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
DSPBufferCount:
|
|
||||||
Value: 0
|
|
||||||
HasValue: 0
|
|
||||||
Plugins:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
StaticPlugins:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
CallbackHandler:
|
|
||||||
Value: {fileID: 0}
|
|
||||||
HasValue: 0
|
|
||||||
OutputTypeName:
|
|
||||||
threadAffinities:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
displaySortOrder: 0
|
|
||||||
childIdentifiers: []
|
|
||||||
codecChannels:
|
|
||||||
Value: []
|
|
||||||
HasValue: 0
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: c02451fcd286b4142859a99c4c305d01
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 11400000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 850b7bf08237b964b8b005fe703774f9
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: ce39533effc93ba409e337ba540bf789
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 93923a20291353a40809350917bab197
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,17 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "FMODUnityResonanceEditor",
|
|
||||||
"references": [
|
|
||||||
"FMODUnityResonance"
|
|
||||||
],
|
|
||||||
"includePlatforms": [
|
|
||||||
"Editor"
|
|
||||||
],
|
|
||||||
"excludePlatforms": [],
|
|
||||||
"allowUnsafeCode": false,
|
|
||||||
"overrideReferences": false,
|
|
||||||
"precompiledReferences": [],
|
|
||||||
"autoReferenced": true,
|
|
||||||
"defineConstraints": [],
|
|
||||||
"versionDefines": [],
|
|
||||||
"noEngineReferences": false
|
|
||||||
}
|
|
||||||
@ -1,14 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 194213485063a984b98ce9410892267a
|
|
||||||
AssemblyDefinitionImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
AssetOrigin:
|
|
||||||
serializedVersion: 1
|
|
||||||
productId: 161631
|
|
||||||
packageName: FMOD for Unity
|
|
||||||
packageVersion: 2.02.19
|
|
||||||
assetPath: Assets/Plugins/FMOD/addons/ResonanceAudio/Editor/FMODUnityResonanceEditor.asmdef
|
|
||||||
uploadId: 633607
|
|
||||||
@ -1,122 +0,0 @@
|
|||||||
// Copyright 2017 Google Inc. All rights reserved.
|
|
||||||
//
|
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
// you may not use this file except in compliance with the License.
|
|
||||||
// You may obtain a copy of the License at
|
|
||||||
//
|
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
//
|
|
||||||
// Unless required by applicable law or agreed to in writing, software
|
|
||||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
// See the License for the specific language governing permissions and
|
|
||||||
// limitations under the License.
|
|
||||||
|
|
||||||
using UnityEngine;
|
|
||||||
using UnityEditor;
|
|
||||||
using System.Collections;
|
|
||||||
|
|
||||||
namespace FMODUnityResonance
|
|
||||||
{
|
|
||||||
/// A custom editor for properties on the FmodResonanceAudioRoom script. This appears in the
|
|
||||||
/// Inspector window of a FmodResonanceAudioRoom object.
|
|
||||||
[CustomEditor(typeof(FmodResonanceAudioRoom))]
|
|
||||||
[CanEditMultipleObjects]
|
|
||||||
public class FmodResonanceAudioRoomEditor : Editor
|
|
||||||
{
|
|
||||||
private SerializedProperty leftWall = null;
|
|
||||||
private SerializedProperty rightWall = null;
|
|
||||||
private SerializedProperty floor = null;
|
|
||||||
private SerializedProperty ceiling = null;
|
|
||||||
private SerializedProperty backWall = null;
|
|
||||||
private SerializedProperty frontWall = null;
|
|
||||||
private SerializedProperty reflectivity = null;
|
|
||||||
private SerializedProperty reverbGainDb = null;
|
|
||||||
private SerializedProperty reverbBrightness = null;
|
|
||||||
private SerializedProperty reverbTime = null;
|
|
||||||
private SerializedProperty size = null;
|
|
||||||
|
|
||||||
private GUIContent surfaceMaterialsLabel = new GUIContent("Surface Materials",
|
|
||||||
"Room surface materials to calculate the acoustic properties of the room.");
|
|
||||||
private GUIContent surfaceMaterialLabel = new GUIContent("Surface Material",
|
|
||||||
"Surface material used to calculate the acoustic properties of the room.");
|
|
||||||
private GUIContent reflectivityLabel = new GUIContent("Reflectivity",
|
|
||||||
"Adjusts what proportion of the direct sound is reflected back by each surface, after an " +
|
|
||||||
"appropriate delay. Reverberation is unaffected by this setting.");
|
|
||||||
private GUIContent reverbGainLabel = new GUIContent("Gain (dB)",
|
|
||||||
"Applies a gain adjustment to the reverberation in the room. The default value will leave " +
|
|
||||||
"reverb unaffected.");
|
|
||||||
private GUIContent reverbPropertiesLabel = new GUIContent("Reverb Properties",
|
|
||||||
"Parameters to adjust the reverb properties of the room.");
|
|
||||||
private GUIContent reverbBrightnessLabel = new GUIContent("Brightness",
|
|
||||||
"Adjusts the balance between high and low frequencies in the reverb.");
|
|
||||||
private GUIContent reverbTimeLabel = new GUIContent("Time",
|
|
||||||
"Adjusts the overall duration of the reverb by a positive scaling factor.");
|
|
||||||
private GUIContent sizeLabel = new GUIContent("Size", "Sets the room dimensions.");
|
|
||||||
|
|
||||||
private void OnEnable()
|
|
||||||
{
|
|
||||||
leftWall = serializedObject.FindProperty("LeftWall");
|
|
||||||
rightWall = serializedObject.FindProperty("RightWall");
|
|
||||||
floor = serializedObject.FindProperty("Floor");
|
|
||||||
ceiling = serializedObject.FindProperty("Ceiling");
|
|
||||||
backWall = serializedObject.FindProperty("BackWall");
|
|
||||||
frontWall = serializedObject.FindProperty("FrontWall");
|
|
||||||
reflectivity = serializedObject.FindProperty("Reflectivity");
|
|
||||||
reverbGainDb = serializedObject.FindProperty("ReverbGainDb");
|
|
||||||
reverbBrightness = serializedObject.FindProperty("ReverbBrightness");
|
|
||||||
reverbTime = serializedObject.FindProperty("ReverbTime");
|
|
||||||
size = serializedObject.FindProperty("Size");
|
|
||||||
}
|
|
||||||
|
|
||||||
/// @cond
|
|
||||||
public override void OnInspectorGUI()
|
|
||||||
{
|
|
||||||
serializedObject.Update();
|
|
||||||
|
|
||||||
// Add clickable script field, as would have been provided by DrawDefaultInspector()
|
|
||||||
MonoScript script = MonoScript.FromMonoBehaviour(target as MonoBehaviour);
|
|
||||||
EditorGUI.BeginDisabledGroup(true);
|
|
||||||
EditorGUILayout.ObjectField("Script", script, typeof(MonoScript), false);
|
|
||||||
EditorGUI.EndDisabledGroup();
|
|
||||||
|
|
||||||
EditorGUILayout.LabelField(surfaceMaterialsLabel);
|
|
||||||
++EditorGUI.indentLevel;
|
|
||||||
DrawSurfaceMaterial(leftWall);
|
|
||||||
DrawSurfaceMaterial(rightWall);
|
|
||||||
DrawSurfaceMaterial(floor);
|
|
||||||
DrawSurfaceMaterial(ceiling);
|
|
||||||
DrawSurfaceMaterial(backWall);
|
|
||||||
DrawSurfaceMaterial(frontWall);
|
|
||||||
--EditorGUI.indentLevel;
|
|
||||||
|
|
||||||
EditorGUILayout.Separator();
|
|
||||||
|
|
||||||
EditorGUILayout.Slider(reflectivity, 0.0f, FmodResonanceAudio.MaxReflectivity, reflectivityLabel);
|
|
||||||
|
|
||||||
EditorGUILayout.Separator();
|
|
||||||
|
|
||||||
EditorGUILayout.LabelField(reverbPropertiesLabel);
|
|
||||||
++EditorGUI.indentLevel;
|
|
||||||
EditorGUILayout.Slider(reverbGainDb, FmodResonanceAudio.MinGainDb, FmodResonanceAudio.MaxGainDb,
|
|
||||||
reverbGainLabel);
|
|
||||||
EditorGUILayout.Slider(reverbBrightness, FmodResonanceAudio.MinReverbBrightness,
|
|
||||||
FmodResonanceAudio.MaxReverbBrightness, reverbBrightnessLabel);
|
|
||||||
EditorGUILayout.Slider(reverbTime, 0.0f, FmodResonanceAudio.MaxReverbTime, reverbTimeLabel);
|
|
||||||
--EditorGUI.indentLevel;
|
|
||||||
|
|
||||||
EditorGUILayout.Separator();
|
|
||||||
|
|
||||||
EditorGUILayout.PropertyField(size, sizeLabel);
|
|
||||||
|
|
||||||
serializedObject.ApplyModifiedProperties();
|
|
||||||
}
|
|
||||||
/// @endcond
|
|
||||||
|
|
||||||
private void DrawSurfaceMaterial(SerializedProperty surfaceMaterial)
|
|
||||||
{
|
|
||||||
surfaceMaterialLabel.text = surfaceMaterial.displayName;
|
|
||||||
EditorGUILayout.PropertyField(surfaceMaterial, surfaceMaterialLabel);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,19 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 935c6716e27bd481e97897dd9e1de595
|
|
||||||
timeCreated: 1511395157
|
|
||||||
licenseType: Store
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
AssetOrigin:
|
|
||||||
serializedVersion: 1
|
|
||||||
productId: 161631
|
|
||||||
packageName: FMOD for Unity
|
|
||||||
packageVersion: 2.02.19
|
|
||||||
assetPath: Assets/Plugins/FMOD/addons/ResonanceAudio/Editor/FmodResonanceAudioRoomEditor.cs
|
|
||||||
uploadId: 633607
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 05a6a02c28ee77a49b6fcadf67aff3b7
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "FMODUnityResonance",
|
|
||||||
"references": [
|
|
||||||
"FMODUnity"
|
|
||||||
],
|
|
||||||
"includePlatforms": [],
|
|
||||||
"excludePlatforms": [],
|
|
||||||
"allowUnsafeCode": false,
|
|
||||||
"overrideReferences": false,
|
|
||||||
"precompiledReferences": [],
|
|
||||||
"autoReferenced": true,
|
|
||||||
"defineConstraints": [],
|
|
||||||
"versionDefines": [],
|
|
||||||
"noEngineReferences": false
|
|
||||||
}
|
|
||||||
@ -1,14 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 44d09cf463b68274884d8a3c8a94e528
|
|
||||||
AssemblyDefinitionImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
AssetOrigin:
|
|
||||||
serializedVersion: 1
|
|
||||||
productId: 161631
|
|
||||||
packageName: FMOD for Unity
|
|
||||||
packageVersion: 2.02.19
|
|
||||||
assetPath: Assets/Plugins/FMOD/addons/ResonanceAudio/Scripts/FMODUnityResonance.asmdef
|
|
||||||
uploadId: 633607
|
|
||||||
@ -1,290 +0,0 @@
|
|||||||
// Copyright 2017 Google Inc. All rights reserved.
|
|
||||||
//
|
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
// you may not use this file except in compliance with the License.
|
|
||||||
// You may obtain a copy of the License at
|
|
||||||
//
|
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
//
|
|
||||||
// Unless required by applicable law or agreed to in writing, software
|
|
||||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
// See the License for the specific language governing permissions and
|
|
||||||
// limitations under the License.
|
|
||||||
|
|
||||||
using UnityEngine;
|
|
||||||
using System;
|
|
||||||
using System.Collections;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Runtime.InteropServices;
|
|
||||||
using FMODUnity;
|
|
||||||
|
|
||||||
namespace FMODUnityResonance
|
|
||||||
{
|
|
||||||
/// This is the main Resonance Audio class that communicates with the FMOD Unity integration. Native
|
|
||||||
/// functions of the system can only be called through this class to preserve the internal system
|
|
||||||
/// functionality.
|
|
||||||
public static class FmodResonanceAudio
|
|
||||||
{
|
|
||||||
/// Maximum allowed gain value in decibels.
|
|
||||||
public const float MaxGainDb = 24.0f;
|
|
||||||
|
|
||||||
/// Minimum allowed gain value in decibels.
|
|
||||||
public const float MinGainDb = -24.0f;
|
|
||||||
|
|
||||||
/// Maximum allowed reverb brightness modifier value.
|
|
||||||
public const float MaxReverbBrightness = 1.0f;
|
|
||||||
|
|
||||||
/// Minimum allowed reverb brightness modifier value.
|
|
||||||
public const float MinReverbBrightness = -1.0f;
|
|
||||||
|
|
||||||
/// Maximum allowed reverb time modifier value.
|
|
||||||
public const float MaxReverbTime = 3.0f;
|
|
||||||
|
|
||||||
/// Maximum allowed reflectivity multiplier of a room surface material.
|
|
||||||
public const float MaxReflectivity = 2.0f;
|
|
||||||
|
|
||||||
// Right-handed to left-handed matrix converter (and vice versa).
|
|
||||||
private static readonly Matrix4x4 flipZ = Matrix4x4.Scale(new Vector3(1, 1, -1));
|
|
||||||
|
|
||||||
// Get a handle to the Resonance Audio Listener FMOD Plugin.
|
|
||||||
private static readonly string listenerPluginName = "Resonance Audio Listener";
|
|
||||||
|
|
||||||
// Size of |RoomProperties| struct in bytes.
|
|
||||||
private static readonly int roomPropertiesSize = FMOD.MarshalHelper.SizeOf(typeof(RoomProperties));
|
|
||||||
|
|
||||||
// Plugin data parameter index for the room properties.
|
|
||||||
private static readonly int roomPropertiesIndex = 1;
|
|
||||||
|
|
||||||
// Boundaries instance to be used in room detection logic.
|
|
||||||
private static Bounds bounds = new Bounds(Vector3.zero, Vector3.zero);
|
|
||||||
|
|
||||||
// Container to store the currently active rooms in the scene.
|
|
||||||
private static List<FmodResonanceAudioRoom> enabledRooms = new List<FmodResonanceAudioRoom>();
|
|
||||||
|
|
||||||
// Current listener position.
|
|
||||||
private static FMOD.VECTOR listenerPositionFmod = new FMOD.VECTOR();
|
|
||||||
|
|
||||||
// FMOD Resonance Audio Listener Plugin.
|
|
||||||
private static FMOD.DSP listenerPlugin;
|
|
||||||
|
|
||||||
/// Updates the room effects of the environment with given |room| properties.
|
|
||||||
/// @note This should only be called from the main Unity thread.
|
|
||||||
public static void UpdateAudioRoom(FmodResonanceAudioRoom room, bool roomEnabled)
|
|
||||||
{
|
|
||||||
// Update the enabled rooms list.
|
|
||||||
if (roomEnabled)
|
|
||||||
{
|
|
||||||
if (!enabledRooms.Contains(room))
|
|
||||||
{
|
|
||||||
enabledRooms.Add(room);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
enabledRooms.Remove(room);
|
|
||||||
}
|
|
||||||
// Update the current room effects to be applied.
|
|
||||||
if (enabledRooms.Count > 0)
|
|
||||||
{
|
|
||||||
FmodResonanceAudioRoom currentRoom = enabledRooms[enabledRooms.Count - 1];
|
|
||||||
RoomProperties roomProperties = GetRoomProperties(currentRoom);
|
|
||||||
// Pass the room properties into a pointer.
|
|
||||||
IntPtr roomPropertiesPtr = Marshal.AllocHGlobal(roomPropertiesSize);
|
|
||||||
Marshal.StructureToPtr(roomProperties, roomPropertiesPtr, false);
|
|
||||||
ListenerPlugin.setParameterData(roomPropertiesIndex, GetBytes(roomPropertiesPtr,
|
|
||||||
roomPropertiesSize));
|
|
||||||
Marshal.FreeHGlobal(roomPropertiesPtr);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
// Set the room properties to a null room, which will effectively disable the room effects.
|
|
||||||
ListenerPlugin.setParameterData(roomPropertiesIndex, GetBytes(IntPtr.Zero, 0));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Returns whether the listener is currently inside the given |room| boundaries.
|
|
||||||
public static bool IsListenerInsideRoom(FmodResonanceAudioRoom room)
|
|
||||||
{
|
|
||||||
// Compute the room position relative to the listener.
|
|
||||||
FMOD.VECTOR unused;
|
|
||||||
RuntimeManager.CoreSystem.get3DListenerAttributes(0, out listenerPositionFmod, out unused,
|
|
||||||
out unused, out unused);
|
|
||||||
Vector3 listenerPosition = new Vector3(listenerPositionFmod.x, listenerPositionFmod.y,
|
|
||||||
listenerPositionFmod.z);
|
|
||||||
Vector3 relativePosition = listenerPosition - room.transform.position;
|
|
||||||
Quaternion rotationInverse = Quaternion.Inverse(room.transform.rotation);
|
|
||||||
// Set the size of the room as the boundary and return whether the listener is inside.
|
|
||||||
bounds.size = Vector3.Scale(room.transform.lossyScale, room.Size);
|
|
||||||
return bounds.Contains(rotationInverse * relativePosition);
|
|
||||||
}
|
|
||||||
|
|
||||||
[StructLayout(LayoutKind.Sequential)]
|
|
||||||
private struct RoomProperties
|
|
||||||
{
|
|
||||||
// Center position of the room in world space.
|
|
||||||
public float PositionX;
|
|
||||||
public float PositionY;
|
|
||||||
public float PositionZ;
|
|
||||||
|
|
||||||
// Rotation (quaternion) of the room in world space.
|
|
||||||
public float RotationX;
|
|
||||||
public float RotationY;
|
|
||||||
public float RotationZ;
|
|
||||||
public float RotationW;
|
|
||||||
|
|
||||||
// Size of the shoebox room in world space.
|
|
||||||
public float DimensionsX;
|
|
||||||
public float DimensionsY;
|
|
||||||
public float DimensionsZ;
|
|
||||||
|
|
||||||
// Material name of each surface of the shoebox room.
|
|
||||||
public FmodResonanceAudioRoom.SurfaceMaterial MaterialLeft;
|
|
||||||
public FmodResonanceAudioRoom.SurfaceMaterial MaterialRight;
|
|
||||||
public FmodResonanceAudioRoom.SurfaceMaterial MaterialBottom;
|
|
||||||
public FmodResonanceAudioRoom.SurfaceMaterial MaterialTop;
|
|
||||||
public FmodResonanceAudioRoom.SurfaceMaterial MaterialFront;
|
|
||||||
public FmodResonanceAudioRoom.SurfaceMaterial MaterialBack;
|
|
||||||
|
|
||||||
// User defined uniform scaling factor for reflectivity. This parameter has no effect when set
|
|
||||||
// to 1.0f.
|
|
||||||
public float ReflectionScalar;
|
|
||||||
|
|
||||||
// User defined reverb tail gain multiplier. This parameter has no effect when set to 0.0f.
|
|
||||||
public float ReverbGain;
|
|
||||||
|
|
||||||
// Adjusts the reverberation time across all frequency bands. RT60 values are multiplied by this
|
|
||||||
// factor. Has no effect when set to 1.0f.
|
|
||||||
public float ReverbTime;
|
|
||||||
|
|
||||||
// Controls the slope of a line from the lowest to the highest RT60 values (increases high
|
|
||||||
// frequency RT60s when positive, decreases when negative). Has no effect when set to 0.0f.
|
|
||||||
public float ReverbBrightness;
|
|
||||||
};
|
|
||||||
|
|
||||||
// Returns the FMOD Resonance Audio Listener Plugin.
|
|
||||||
private static FMOD.DSP ListenerPlugin
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
if (!listenerPlugin.hasHandle())
|
|
||||||
{
|
|
||||||
listenerPlugin = Initialize();
|
|
||||||
}
|
|
||||||
return listenerPlugin;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Converts given |db| value to its amplitude equivalent where 'dB = 20 * log10(amplitude)'.
|
|
||||||
private static float ConvertAmplitudeFromDb(float db)
|
|
||||||
{
|
|
||||||
return Mathf.Pow(10.0f, 0.05f * db);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Converts given |position| and |rotation| from Unity space to audio space.
|
|
||||||
private static void ConvertAudioTransformFromUnity(ref Vector3 position,
|
|
||||||
ref Quaternion rotation)
|
|
||||||
{
|
|
||||||
// Compose the transformation matrix.
|
|
||||||
Matrix4x4 transformMatrix = Matrix4x4.TRS(position, rotation, Vector3.one);
|
|
||||||
// Convert the transformation matrix from left-handed to right-handed.
|
|
||||||
transformMatrix = flipZ * transformMatrix * flipZ;
|
|
||||||
// Update |position| and |rotation| respectively.
|
|
||||||
position = transformMatrix.GetColumn(3);
|
|
||||||
rotation = Quaternion.LookRotation(transformMatrix.GetColumn(2), transformMatrix.GetColumn(1));
|
|
||||||
}
|
|
||||||
|
|
||||||
// Returns a byte array of |length| created from |ptr|.
|
|
||||||
private static byte[] GetBytes(IntPtr ptr, int length)
|
|
||||||
{
|
|
||||||
if (ptr != IntPtr.Zero)
|
|
||||||
{
|
|
||||||
byte[] byteArray = new byte[length];
|
|
||||||
Marshal.Copy(ptr, byteArray, 0, length);
|
|
||||||
return byteArray;
|
|
||||||
}
|
|
||||||
// Return an empty array if the pointer is null.
|
|
||||||
return new byte[1];
|
|
||||||
}
|
|
||||||
|
|
||||||
// Returns room properties of the given |room|.
|
|
||||||
private static RoomProperties GetRoomProperties(FmodResonanceAudioRoom room)
|
|
||||||
{
|
|
||||||
RoomProperties roomProperties;
|
|
||||||
Vector3 position = room.transform.position;
|
|
||||||
Quaternion rotation = room.transform.rotation;
|
|
||||||
Vector3 scale = Vector3.Scale(room.transform.lossyScale, room.Size);
|
|
||||||
ConvertAudioTransformFromUnity(ref position, ref rotation);
|
|
||||||
roomProperties.PositionX = position.x;
|
|
||||||
roomProperties.PositionY = position.y;
|
|
||||||
roomProperties.PositionZ = position.z;
|
|
||||||
roomProperties.RotationX = rotation.x;
|
|
||||||
roomProperties.RotationY = rotation.y;
|
|
||||||
roomProperties.RotationZ = rotation.z;
|
|
||||||
roomProperties.RotationW = rotation.w;
|
|
||||||
roomProperties.DimensionsX = scale.x;
|
|
||||||
roomProperties.DimensionsY = scale.y;
|
|
||||||
roomProperties.DimensionsZ = scale.z;
|
|
||||||
roomProperties.MaterialLeft = room.LeftWall;
|
|
||||||
roomProperties.MaterialRight = room.RightWall;
|
|
||||||
roomProperties.MaterialBottom = room.Floor;
|
|
||||||
roomProperties.MaterialTop = room.Ceiling;
|
|
||||||
roomProperties.MaterialFront = room.FrontWall;
|
|
||||||
roomProperties.MaterialBack = room.BackWall;
|
|
||||||
roomProperties.ReverbGain = ConvertAmplitudeFromDb(room.ReverbGainDb);
|
|
||||||
roomProperties.ReverbTime = room.ReverbTime;
|
|
||||||
roomProperties.ReverbBrightness = room.ReverbBrightness;
|
|
||||||
roomProperties.ReflectionScalar = room.Reflectivity;
|
|
||||||
return roomProperties;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Initializes and returns the FMOD Resonance Audio Listener Plugin.
|
|
||||||
private static FMOD.DSP Initialize()
|
|
||||||
{
|
|
||||||
// Search through all busses on in banks.
|
|
||||||
int numBanks = 0;
|
|
||||||
FMOD.DSP dsp = new FMOD.DSP();
|
|
||||||
FMOD.Studio.Bank[] banks = null;
|
|
||||||
RuntimeManager.StudioSystem.getBankCount(out numBanks);
|
|
||||||
RuntimeManager.StudioSystem.getBankList(out banks);
|
|
||||||
for (int currentBank = 0; currentBank < numBanks; ++currentBank)
|
|
||||||
{
|
|
||||||
int numBusses = 0;
|
|
||||||
FMOD.Studio.Bus[] busses = null;
|
|
||||||
banks[currentBank].getBusCount(out numBusses);
|
|
||||||
banks[currentBank].getBusList(out busses);
|
|
||||||
for (int currentBus = 0; currentBus < numBusses; ++currentBus)
|
|
||||||
{
|
|
||||||
// Make sure the channel group of the current bus is assigned properly.
|
|
||||||
string busPath = null;
|
|
||||||
busses[currentBus].getPath(out busPath);
|
|
||||||
RuntimeManager.StudioSystem.getBus(busPath, out busses[currentBus]);
|
|
||||||
busses[currentBus].lockChannelGroup();
|
|
||||||
RuntimeManager.StudioSystem.flushCommands();
|
|
||||||
FMOD.ChannelGroup channelGroup;
|
|
||||||
busses[currentBus].getChannelGroup(out channelGroup);
|
|
||||||
if (channelGroup.hasHandle())
|
|
||||||
{
|
|
||||||
int numDsps = 0;
|
|
||||||
channelGroup.getNumDSPs(out numDsps);
|
|
||||||
for (int currentDsp = 0; currentDsp < numDsps; ++currentDsp)
|
|
||||||
{
|
|
||||||
channelGroup.getDSP(currentDsp, out dsp);
|
|
||||||
string dspNameSb;
|
|
||||||
int unusedInt = 0;
|
|
||||||
uint unusedUint = 0;
|
|
||||||
dsp.getInfo(out dspNameSb, out unusedUint, out unusedInt, out unusedInt, out unusedInt);
|
|
||||||
if (dspNameSb.ToString().Equals(listenerPluginName) && dsp.hasHandle())
|
|
||||||
{
|
|
||||||
return dsp;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
busses[currentBus].unlockChannelGroup();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
RuntimeUtils.DebugLogError(listenerPluginName + " not found in the FMOD project.");
|
|
||||||
return dsp;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,19 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 6794e6301575a445d8588930a0752568
|
|
||||||
timeCreated: 1511395157
|
|
||||||
licenseType: Store
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
AssetOrigin:
|
|
||||||
serializedVersion: 1
|
|
||||||
productId: 161631
|
|
||||||
packageName: FMOD for Unity
|
|
||||||
packageVersion: 2.02.19
|
|
||||||
assetPath: Assets/Plugins/FMOD/addons/ResonanceAudio/Scripts/FmodResonanceAudio.cs
|
|
||||||
uploadId: 633607
|
|
||||||
@ -1,121 +0,0 @@
|
|||||||
// Copyright 2017 Google Inc. All rights reserved.
|
|
||||||
//
|
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
// you may not use this file except in compliance with the License.
|
|
||||||
// You may obtain a copy of the License at
|
|
||||||
//
|
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
//
|
|
||||||
// Unless required by applicable law or agreed to in writing, software
|
|
||||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
// See the License for the specific language governing permissions and
|
|
||||||
// limitations under the License.
|
|
||||||
|
|
||||||
using UnityEngine;
|
|
||||||
using UnityEngine.Serialization;
|
|
||||||
using System.Collections;
|
|
||||||
|
|
||||||
namespace FMODUnityResonance
|
|
||||||
{
|
|
||||||
/// Resonance Audio room component that simulates environmental effects of a room with respect to
|
|
||||||
/// the properties of the attached game object.
|
|
||||||
[AddComponentMenu("ResonanceAudio/FmodResonanceAudioRoom")]
|
|
||||||
public class FmodResonanceAudioRoom : MonoBehaviour
|
|
||||||
{
|
|
||||||
/// Material type that determines the acoustic properties of a room surface.
|
|
||||||
public enum SurfaceMaterial
|
|
||||||
{
|
|
||||||
Transparent = 0, ///< Transparent
|
|
||||||
AcousticCeilingTiles = 1, ///< Acoustic ceiling tiles
|
|
||||||
BrickBare = 2, ///< Brick, bare
|
|
||||||
BrickPainted = 3, ///< Brick, painted
|
|
||||||
ConcreteBlockCoarse = 4, ///< Concrete block, coarse
|
|
||||||
ConcreteBlockPainted = 5, ///< Concrete block, painted
|
|
||||||
CurtainHeavy = 6, ///< Curtain, heavy
|
|
||||||
FiberglassInsulation = 7, ///< Fiberglass insulation
|
|
||||||
GlassThin = 8, ///< Glass, thin
|
|
||||||
GlassThick = 9, ///< Glass, thick
|
|
||||||
Grass = 10, ///< Grass
|
|
||||||
LinoleumOnConcrete = 11, ///< Linoleum on concrete
|
|
||||||
Marble = 12, ///< Marble
|
|
||||||
Metal = 13, ///< Galvanized sheet metal
|
|
||||||
ParquetOnConcrete = 14, ///< Parquet on concrete
|
|
||||||
PlasterRough = 15, ///< Plaster, rough
|
|
||||||
PlasterSmooth = 16, ///< Plaster, smooth
|
|
||||||
PlywoodPanel = 17, ///< Plywood panel
|
|
||||||
PolishedConcreteOrTile = 18, ///< Polished concrete or tile
|
|
||||||
Sheetrock = 19, ///< Sheetrock
|
|
||||||
WaterOrIceSurface = 20, ///< Water or ice surface
|
|
||||||
WoodCeiling = 21, ///< Wood ceiling
|
|
||||||
WoodPanel = 22 ///< Wood panel
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Room surface material in negative x direction.
|
|
||||||
[FormerlySerializedAs("leftWall")]
|
|
||||||
public SurfaceMaterial LeftWall = SurfaceMaterial.ConcreteBlockCoarse;
|
|
||||||
|
|
||||||
/// Room surface material in positive x direction.
|
|
||||||
[FormerlySerializedAs("rightWall")]
|
|
||||||
public SurfaceMaterial RightWall = SurfaceMaterial.ConcreteBlockCoarse;
|
|
||||||
|
|
||||||
/// Room surface material in negative y direction.
|
|
||||||
[FormerlySerializedAs("floor")]
|
|
||||||
public SurfaceMaterial Floor = SurfaceMaterial.ParquetOnConcrete;
|
|
||||||
|
|
||||||
/// Room surface material in positive y direction.
|
|
||||||
[FormerlySerializedAs("ceiling")]
|
|
||||||
public SurfaceMaterial Ceiling = SurfaceMaterial.PlasterRough;
|
|
||||||
|
|
||||||
/// Room surface material in negative z direction.
|
|
||||||
[FormerlySerializedAs("backWall")]
|
|
||||||
public SurfaceMaterial BackWall = SurfaceMaterial.ConcreteBlockCoarse;
|
|
||||||
|
|
||||||
/// Room surface material in positive z direction.
|
|
||||||
[FormerlySerializedAs("frontWall")]
|
|
||||||
public SurfaceMaterial FrontWall = SurfaceMaterial.ConcreteBlockCoarse;
|
|
||||||
|
|
||||||
/// Reflectivity scalar for each surface of the room.
|
|
||||||
[FormerlySerializedAs("reflectivity")]
|
|
||||||
public float Reflectivity = 1.0f;
|
|
||||||
|
|
||||||
/// Reverb gain modifier in decibels.
|
|
||||||
[FormerlySerializedAs("reverbGainDb")]
|
|
||||||
public float ReverbGainDb = 0.0f;
|
|
||||||
|
|
||||||
/// Reverb brightness modifier.
|
|
||||||
[FormerlySerializedAs("reverbBrightness")]
|
|
||||||
public float ReverbBrightness = 0.0f;
|
|
||||||
|
|
||||||
/// Reverb time modifier.
|
|
||||||
[FormerlySerializedAs("reverbTime")]
|
|
||||||
public float ReverbTime = 1.0f;
|
|
||||||
|
|
||||||
/// Size of the room (normalized with respect to scale of the game object).
|
|
||||||
[FormerlySerializedAs("size")]
|
|
||||||
public Vector3 Size = Vector3.one;
|
|
||||||
|
|
||||||
private void OnEnable()
|
|
||||||
{
|
|
||||||
FmodResonanceAudio.UpdateAudioRoom(this, FmodResonanceAudio.IsListenerInsideRoom(this));
|
|
||||||
}
|
|
||||||
|
|
||||||
private void OnDisable()
|
|
||||||
{
|
|
||||||
FmodResonanceAudio.UpdateAudioRoom(this, false);
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Update()
|
|
||||||
{
|
|
||||||
FmodResonanceAudio.UpdateAudioRoom(this, FmodResonanceAudio.IsListenerInsideRoom(this));
|
|
||||||
}
|
|
||||||
|
|
||||||
private void OnDrawGizmosSelected()
|
|
||||||
{
|
|
||||||
// Draw shoebox model wireframe of the room.
|
|
||||||
Gizmos.color = Color.yellow;
|
|
||||||
Gizmos.matrix = transform.localToWorldMatrix;
|
|
||||||
Gizmos.DrawWireCube(Vector3.zero, Size);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,19 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 6b0c5e63920ee4f55b7ec5248525af4b
|
|
||||||
timeCreated: 1511395157
|
|
||||||
licenseType: Store
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
AssetOrigin:
|
|
||||||
serializedVersion: 1
|
|
||||||
productId: 161631
|
|
||||||
packageName: FMOD for Unity
|
|
||||||
packageVersion: 2.02.19
|
|
||||||
assetPath: Assets/Plugins/FMOD/addons/ResonanceAudio/Scripts/FmodResonanceAudioRoom.cs
|
|
||||||
uploadId: 633607
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 27e5eef2bd66ffe429eebdc4579b7231
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 380 B |
@ -1,64 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 3300e81f02e64924eb7cb7782713b126
|
|
||||||
timeCreated: 1455151837
|
|
||||||
licenseType: Store
|
|
||||||
TextureImporter:
|
|
||||||
fileIDToRecycleName: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
mipmaps:
|
|
||||||
mipMapMode: 0
|
|
||||||
enableMipMap: 0
|
|
||||||
linearTexture: 1
|
|
||||||
correctGamma: 0
|
|
||||||
fadeOut: 0
|
|
||||||
borderMipMap: 0
|
|
||||||
mipMapFadeDistanceStart: 1
|
|
||||||
mipMapFadeDistanceEnd: 3
|
|
||||||
bumpmap:
|
|
||||||
convertToNormalMap: 0
|
|
||||||
externalNormalMap: 0
|
|
||||||
heightScale: 0.25
|
|
||||||
normalMapFilter: 0
|
|
||||||
isReadable: 0
|
|
||||||
grayScaleToAlpha: 0
|
|
||||||
generateCubemap: 0
|
|
||||||
cubemapConvolution: 0
|
|
||||||
cubemapConvolutionSteps: 7
|
|
||||||
cubemapConvolutionExponent: 1.5
|
|
||||||
seamlessCubemap: 0
|
|
||||||
textureFormat: -3
|
|
||||||
maxTextureSize: 2048
|
|
||||||
textureSettings:
|
|
||||||
filterMode: -1
|
|
||||||
aniso: 1
|
|
||||||
mipBias: -1
|
|
||||||
wrapMode: 1
|
|
||||||
nPOTScale: 0
|
|
||||||
lightmap: 0
|
|
||||||
rGBM: 0
|
|
||||||
compressionQuality: 50
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
spriteMode: 0
|
|
||||||
spriteExtrude: 1
|
|
||||||
spriteMeshType: 1
|
|
||||||
alignment: 0
|
|
||||||
spritePivot: {x: 0.5, y: 0.5}
|
|
||||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
|
||||||
spritePixelsToUnits: 100
|
|
||||||
alphaIsTransparency: 1
|
|
||||||
textureType: 2
|
|
||||||
buildTargetSettings: []
|
|
||||||
spriteSheet:
|
|
||||||
sprites: []
|
|
||||||
outline: []
|
|
||||||
spritePackingTag:
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
AssetOrigin:
|
|
||||||
serializedVersion: 1
|
|
||||||
productId: 161631
|
|
||||||
packageName: FMOD for Unity
|
|
||||||
packageVersion: 2.02.19
|
|
||||||
assetPath: Assets/Plugins/FMOD/images/AddIcon.png
|
|
||||||
uploadId: 633607
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 292 B |
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user