This commit is contained in:
Alexander Filippov 2024-05-14 04:06:02 +02:00
commit d2c9941a75
191 changed files with 12353 additions and 0 deletions

4
.gitattributes vendored Normal file
View File

@ -0,0 +1,4 @@
*.so filter=lfs diff=lfs merge=lfs -text
*.a filter=lfs diff=lfs merge=lfs -text
*.dll filter=lfs diff=lfs merge=lfs -text
*.bundle filter=lfs diff=lfs merge=lfs -text

8
Binaries.meta Executable file
View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: f382311500bdbdf4e90e5228cb2788bd
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
Binaries/Android.meta Executable file
View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 702cfdc9907c1db4faf161f65ff4a94e
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
Binaries/Android/arm64.meta Executable file
View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 0c8f13fd3f59e3d4b870ff47df5d5960
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2cbeea2f9e8a9574b82e8eddfd9ef01d4f65d28326c0136c7cb3985109110cb2
size 2988128

View File

@ -0,0 +1,32 @@
fileFormatVersion: 2
guid: 65d940c607de5fe4083367b48ef41559
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 1
isOverridable: 0
isExplicitlyReferenced: 0
platformData:
- first:
Android: Android
second:
enabled: 1
settings:
CPU: ARM64
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1beac2ebe1377ec424dc8f6315240426edd77a11aa95674296f3e83f43703d3a
size 23131504

View File

@ -0,0 +1,32 @@
fileFormatVersion: 2
guid: 32c74da812273c841a7c6f7adc2cda8f
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
platformData:
- first:
Android: Android
second:
enabled: 1
settings:
CPU: ARM64
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

8
Binaries/Android/armv7.meta Executable file
View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 035133931f34382429e3f8f973458818
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8adaa665b95078b5d372f4eeb049a3c17fc346d66b5316b2b457da4b74be5833
size 1987428

View File

@ -0,0 +1,32 @@
fileFormatVersion: 2
guid: 45d56bf06868bce4d98f924a338394cf
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 1
isOverridable: 0
isExplicitlyReferenced: 0
platformData:
- first:
Android: Android
second:
enabled: 1
settings:
CPU: ARMv7
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7c65e4adc09f2a1224d062bd1835dc8e435f0a9867aa46d844c9c36c251b18c0
size 19627132

View File

@ -0,0 +1,32 @@
fileFormatVersion: 2
guid: 3280807063032c6488f8573e637182e0
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
platformData:
- first:
Android: Android
second:
enabled: 1
settings:
CPU: ARMv7
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

8
Binaries/Android/x86.meta Executable file
View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 82f970e91fa348c4a9e1443d700f6765
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6572772b2aec9d9969c81339f71217139b060398de2569589a397ea0e4969c48
size 2495272

View File

@ -0,0 +1,32 @@
fileFormatVersion: 2
guid: 2580d2d5225cd4942b96af150d9380b8
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 1
isOverridable: 0
isExplicitlyReferenced: 0
platformData:
- first:
Android: Android
second:
enabled: 1
settings:
CPU: x86
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3c54d600bfc4215fb73d091dba03ec753ba928cc10ef2c6784bae4104849f424
size 19807996

View File

@ -0,0 +1,32 @@
fileFormatVersion: 2
guid: d6d5bdf8052a5e146b27c150cf967d7e
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
platformData:
- first:
Android: Android
second:
enabled: 1
settings:
CPU: x86
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

8
Binaries/Linux.meta Executable file
View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 4063b98da3a82e64ea56c5487aacd513
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

9
Binaries/Linux/x86.meta Executable file
View File

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 0b0df2bea2345aa4f9e86bcacbc9608c
folderAsset: yes
timeCreated: 1500590827
licenseType: Pro
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d44f1b1a71e4572158c720bfe8343af60b6f5579e1bbad5373697564785fcbc6
size 74648

View File

@ -0,0 +1,121 @@
fileFormatVersion: 2
guid: 2bcf76b2e4398cb49b45812674a7ec17
timeCreated: 1500675747
licenseType: Free
PluginImporter:
serializedVersion: 2
iconMap: {}
executionOrder: {}
isPreloaded: 1
isOverridable: 0
platformData:
data:
first:
'': Any
second:
enabled: 0
settings:
Exclude Editor: 0
Exclude Linux: 0
Exclude Linux64: 1
Exclude LinuxUniversal: 0
Exclude OSXIntel: 1
Exclude OSXIntel64: 1
Exclude OSXUniversal: 1
Exclude Win: 0
Exclude Win64: 0
data:
first:
'': Editor
second:
enabled: 0
settings:
CPU: x86
OS: Linux
data:
first:
Any:
second:
enabled: 0
settings: {}
data:
first:
Editor: Editor
second:
enabled: 1
settings:
CPU: x86
DefaultValueInitialized: true
data:
first:
Facebook: Win
second:
enabled: 1
settings:
CPU: AnyCPU
data:
first:
Facebook: Win64
second:
enabled: 0
settings:
CPU: None
data:
first:
Standalone: Linux
second:
enabled: 1
settings:
CPU: x86
data:
first:
Standalone: Linux64
second:
enabled: 0
settings:
CPU: None
data:
first:
Standalone: LinuxUniversal
second:
enabled: 1
settings:
CPU: x86
data:
first:
Standalone: OSXIntel
second:
enabled: 0
settings:
CPU: None
data:
first:
Standalone: OSXIntel64
second:
enabled: 0
settings:
CPU: None
data:
first:
Standalone: OSXUniversal
second:
enabled: 0
settings:
CPU: None
data:
first:
Standalone: Win
second:
enabled: 1
settings:
CPU: AnyCPU
data:
first:
Standalone: Win64
second:
enabled: 1
settings:
CPU: None
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ea8609ab190d46cbe206672062005625fa3f67ff56b5372ba29c17e387f98fb5
size 17604252

View File

@ -0,0 +1,121 @@
fileFormatVersion: 2
guid: b73d370ef894b8d409fc51247d5b13cf
timeCreated: 1500675748
licenseType: Free
PluginImporter:
serializedVersion: 2
iconMap: {}
executionOrder: {}
isPreloaded: 0
isOverridable: 0
platformData:
data:
first:
'': Any
second:
enabled: 0
settings:
Exclude Editor: 0
Exclude Linux: 0
Exclude Linux64: 1
Exclude LinuxUniversal: 0
Exclude OSXIntel: 1
Exclude OSXIntel64: 1
Exclude OSXUniversal: 1
Exclude Win: 0
Exclude Win64: 0
data:
first:
'': Editor
second:
enabled: 0
settings:
CPU: x86
OS: Linux
data:
first:
Any:
second:
enabled: 0
settings: {}
data:
first:
Editor: Editor
second:
enabled: 1
settings:
CPU: x86
DefaultValueInitialized: true
data:
first:
Facebook: Win
second:
enabled: 1
settings:
CPU: AnyCPU
data:
first:
Facebook: Win64
second:
enabled: 0
settings:
CPU: None
data:
first:
Standalone: Linux
second:
enabled: 1
settings:
CPU: x86
data:
first:
Standalone: Linux64
second:
enabled: 0
settings:
CPU: None
data:
first:
Standalone: LinuxUniversal
second:
enabled: 1
settings:
CPU: x86
data:
first:
Standalone: OSXIntel
second:
enabled: 0
settings:
CPU: None
data:
first:
Standalone: OSXIntel64
second:
enabled: 0
settings:
CPU: None
data:
first:
Standalone: OSXUniversal
second:
enabled: 0
settings:
CPU: None
data:
first:
Standalone: Win
second:
enabled: 1
settings:
CPU: AnyCPU
data:
first:
Standalone: Win64
second:
enabled: 1
settings:
CPU: None
userData:
assetBundleName:
assetBundleVariant:

9
Binaries/Linux/x86_64.meta Executable file
View File

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 72f15056fc1aa3e4e91f7d395110ca58
folderAsset: yes
timeCreated: 1497043676
licenseType: Pro
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a4824a29e7e3516f886513597b780899a6c6f5093457af8d6337bef5bd393099
size 72792

View File

@ -0,0 +1,121 @@
fileFormatVersion: 2
guid: 45e1d12e441bb9a4d875c1c402cc3bab
timeCreated: 1500675747
licenseType: Free
PluginImporter:
serializedVersion: 2
iconMap: {}
executionOrder: {}
isPreloaded: 1
isOverridable: 0
platformData:
data:
first:
'': Any
second:
enabled: 0
settings:
Exclude Editor: 0
Exclude Linux: 1
Exclude Linux64: 0
Exclude LinuxUniversal: 0
Exclude OSXIntel: 1
Exclude OSXIntel64: 1
Exclude OSXUniversal: 1
Exclude Win: 0
Exclude Win64: 0
data:
first:
'': Editor
second:
enabled: 0
settings:
CPU: x86_64
OS: Linux
data:
first:
Any:
second:
enabled: 0
settings: {}
data:
first:
Editor: Editor
second:
enabled: 1
settings:
CPU: x86_64
DefaultValueInitialized: true
data:
first:
Facebook: Win
second:
enabled: 0
settings:
CPU: None
data:
first:
Facebook: Win64
second:
enabled: 1
settings:
CPU: AnyCPU
data:
first:
Standalone: Linux
second:
enabled: 0
settings:
CPU: None
data:
first:
Standalone: Linux64
second:
enabled: 1
settings:
CPU: x86_64
data:
first:
Standalone: LinuxUniversal
second:
enabled: 1
settings:
CPU: x86_64
data:
first:
Standalone: OSXIntel
second:
enabled: 0
settings:
CPU: None
data:
first:
Standalone: OSXIntel64
second:
enabled: 0
settings:
CPU: None
data:
first:
Standalone: OSXUniversal
second:
enabled: 0
settings:
CPU: None
data:
first:
Standalone: Win
second:
enabled: 1
settings:
CPU: None
data:
first:
Standalone: Win64
second:
enabled: 1
settings:
CPU: AnyCPU
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a210a6fc5aa3e0d068a74c89b82eadec1fe199e270ef88b3f2ddf4b4c7277260
size 20861840

View File

@ -0,0 +1,121 @@
fileFormatVersion: 2
guid: c9ba4a34d9f98f045ac750ca5a13cc0a
timeCreated: 1500675748
licenseType: Free
PluginImporter:
serializedVersion: 2
iconMap: {}
executionOrder: {}
isPreloaded: 0
isOverridable: 0
platformData:
data:
first:
'': Any
second:
enabled: 0
settings:
Exclude Editor: 0
Exclude Linux: 1
Exclude Linux64: 0
Exclude LinuxUniversal: 0
Exclude OSXIntel: 1
Exclude OSXIntel64: 1
Exclude OSXUniversal: 1
Exclude Win: 0
Exclude Win64: 0
data:
first:
'': Editor
second:
enabled: 0
settings:
CPU: x86_64
OS: Linux
data:
first:
Any:
second:
enabled: 0
settings: {}
data:
first:
Editor: Editor
second:
enabled: 1
settings:
CPU: x86_64
DefaultValueInitialized: true
data:
first:
Facebook: Win
second:
enabled: 0
settings:
CPU: None
data:
first:
Facebook: Win64
second:
enabled: 1
settings:
CPU: AnyCPU
data:
first:
Standalone: Linux
second:
enabled: 0
settings:
CPU: None
data:
first:
Standalone: Linux64
second:
enabled: 1
settings:
CPU: x86_64
data:
first:
Standalone: LinuxUniversal
second:
enabled: 1
settings:
CPU: x86_64
data:
first:
Standalone: OSXIntel
second:
enabled: 0
settings:
CPU: None
data:
first:
Standalone: OSXIntel64
second:
enabled: 0
settings:
CPU: None
data:
first:
Standalone: OSXUniversal
second:
enabled: 0
settings:
CPU: None
data:
first:
Standalone: Win
second:
enabled: 1
settings:
CPU: None
data:
first:
Standalone: Win64
second:
enabled: 1
settings:
CPU: AnyCPU
userData:
assetBundleName:
assetBundleVariant:

8
Binaries/Windows.meta Executable file
View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: f8d2e4abd33c0b841a8641dfe8a55c02
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
Binaries/Windows/x86.meta Executable file
View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: b350a431a2f520b4b9d3e7227b7ec517
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f48bde8e1c20d42341d1fed4fa902cc2e98deb97a6dfba356b86744a08292da8
size 119808

View File

@ -0,0 +1,121 @@
fileFormatVersion: 2
guid: 034df7716f3c2ee43b6049cbd524c6d7
timeCreated: 1500675747
licenseType: Free
PluginImporter:
serializedVersion: 2
iconMap: {}
executionOrder: {}
isPreloaded: 1
isOverridable: 0
platformData:
data:
first:
'': Any
second:
enabled: 0
settings:
Exclude Editor: 0
Exclude Linux: 0
Exclude Linux64: 0
Exclude LinuxUniversal: 0
Exclude OSXIntel: 0
Exclude OSXIntel64: 0
Exclude OSXUniversal: 0
Exclude Win: 0
Exclude Win64: 1
data:
first:
'': Editor
second:
enabled: 0
settings:
CPU: x86
OS: Windows
data:
first:
Any:
second:
enabled: 0
settings: {}
data:
first:
Editor: Editor
second:
enabled: 1
settings:
CPU: x86
DefaultValueInitialized: true
data:
first:
Facebook: Win
second:
enabled: 1
settings:
CPU: AnyCPU
data:
first:
Facebook: Win64
second:
enabled: 0
settings:
CPU: None
data:
first:
Standalone: Linux
second:
enabled: 1
settings:
CPU: x86
data:
first:
Standalone: Linux64
second:
enabled: 1
settings:
CPU: None
data:
first:
Standalone: LinuxUniversal
second:
enabled: 1
settings:
CPU: AnyCPU
data:
first:
Standalone: OSXIntel
second:
enabled: 1
settings:
CPU: AnyCPU
data:
first:
Standalone: OSXIntel64
second:
enabled: 1
settings:
CPU: None
data:
first:
Standalone: OSXUniversal
second:
enabled: 1
settings:
CPU: AnyCPU
data:
first:
Standalone: Win
second:
enabled: 1
settings:
CPU: AnyCPU
data:
first:
Standalone: Win64
second:
enabled: 0
settings:
CPU: None
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3d3651fe55fd9ae3678bdd23bbc721ee65939e81ae1992b4c9ccac5793c0ca00
size 16401408

View File

@ -0,0 +1,121 @@
fileFormatVersion: 2
guid: df5a46ce5e3327545a16c08880340232
timeCreated: 1500675748
licenseType: Free
PluginImporter:
serializedVersion: 2
iconMap: {}
executionOrder: {}
isPreloaded: 0
isOverridable: 0
platformData:
data:
first:
'': Any
second:
enabled: 0
settings:
Exclude Editor: 0
Exclude Linux: 0
Exclude Linux64: 0
Exclude LinuxUniversal: 0
Exclude OSXIntel: 0
Exclude OSXIntel64: 0
Exclude OSXUniversal: 0
Exclude Win: 0
Exclude Win64: 1
data:
first:
'': Editor
second:
enabled: 0
settings:
CPU: x86
OS: Windows
data:
first:
Any:
second:
enabled: 0
settings: {}
data:
first:
Editor: Editor
second:
enabled: 1
settings:
CPU: x86
DefaultValueInitialized: true
data:
first:
Facebook: Win
second:
enabled: 1
settings:
CPU: AnyCPU
data:
first:
Facebook: Win64
second:
enabled: 0
settings:
CPU: None
data:
first:
Standalone: Linux
second:
enabled: 1
settings:
CPU: x86
data:
first:
Standalone: Linux64
second:
enabled: 1
settings:
CPU: None
data:
first:
Standalone: LinuxUniversal
second:
enabled: 1
settings:
CPU: AnyCPU
data:
first:
Standalone: OSXIntel
second:
enabled: 1
settings:
CPU: AnyCPU
data:
first:
Standalone: OSXIntel64
second:
enabled: 1
settings:
CPU: None
data:
first:
Standalone: OSXUniversal
second:
enabled: 1
settings:
CPU: AnyCPU
data:
first:
Standalone: Win
second:
enabled: 1
settings:
CPU: AnyCPU
data:
first:
Standalone: Win64
second:
enabled: 0
settings:
CPU: None
userData:
assetBundleName:
assetBundleVariant:

8
Binaries/Windows/x86_64.meta Executable file
View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 7cba442208850444ea5f98da27753834
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e858bf4514aca48eab762adcecaeda1edeccdddfbe97feb8e67795329b2f37d2
size 72192

View File

@ -0,0 +1,63 @@
fileFormatVersion: 2
guid: 2a3c4cfa413248a4190297fbd3eb2de7
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
: Any
second:
enabled: 0
settings:
Exclude Editor: 0
Exclude Linux64: 0
Exclude OSXUniversal: 0
Exclude Win: 1
Exclude Win64: 0
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 1
settings:
CPU: x86_64
DefaultValueInitialized: true
OS: Windows
- first:
Standalone: Linux64
second:
enabled: 1
settings:
CPU: None
- first:
Standalone: OSXUniversal
second:
enabled: 1
settings:
CPU: None
- first:
Standalone: Win
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: Win64
second:
enabled: 1
settings:
CPU: x86_64
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:44e94a5de6345ffb2968fb1781e7edaab3ec3d2c0854f93be0bb581b94c5d48c
size 1772032

View File

@ -0,0 +1,63 @@
fileFormatVersion: 2
guid: 79aa0fc1a754b08408af853b0c212c19
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
: Any
second:
enabled: 0
settings:
Exclude Editor: 0
Exclude Linux64: 0
Exclude OSXUniversal: 0
Exclude Win: 1
Exclude Win64: 0
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 1
settings:
CPU: x86_64
DefaultValueInitialized: true
OS: Windows
- first:
Standalone: Linux64
second:
enabled: 1
settings:
CPU: None
- first:
Standalone: OSXUniversal
second:
enabled: 1
settings:
CPU: None
- first:
Standalone: Win
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: Win64
second:
enabled: 1
settings:
CPU: x86_64
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3dad7fe151ae0f3a32d820a00c4c832c8bfe987bd8531f1a959815a49a9bfbe7
size 154112

View File

@ -0,0 +1,121 @@
fileFormatVersion: 2
guid: 5d6635a5cbc49144e9a2194784a1edc1
timeCreated: 1497043676
licenseType: Pro
PluginImporter:
serializedVersion: 2
iconMap: {}
executionOrder: {}
isPreloaded: 1
isOverridable: 0
platformData:
data:
first:
'': Any
second:
enabled: 0
settings:
Exclude Editor: 0
Exclude Linux: 0
Exclude Linux64: 0
Exclude LinuxUniversal: 0
Exclude OSXIntel: 0
Exclude OSXIntel64: 0
Exclude OSXUniversal: 0
Exclude Win: 1
Exclude Win64: 0
data:
first:
'': Editor
second:
enabled: 0
settings:
CPU: x86_64
OS: Windows
data:
first:
Any:
second:
enabled: 0
settings: {}
data:
first:
Editor: Editor
second:
enabled: 1
settings:
CPU: x86_64
DefaultValueInitialized: true
data:
first:
Facebook: Win
second:
enabled: 0
settings:
CPU: None
data:
first:
Facebook: Win64
second:
enabled: 1
settings:
CPU: AnyCPU
data:
first:
Standalone: Linux
second:
enabled: 1
settings:
CPU: None
data:
first:
Standalone: Linux64
second:
enabled: 1
settings:
CPU: x86_64
data:
first:
Standalone: LinuxUniversal
second:
enabled: 1
settings:
CPU: AnyCPU
data:
first:
Standalone: OSXIntel
second:
enabled: 1
settings:
CPU: None
data:
first:
Standalone: OSXIntel64
second:
enabled: 1
settings:
CPU: AnyCPU
data:
first:
Standalone: OSXUniversal
second:
enabled: 1
settings:
CPU: AnyCPU
data:
first:
Standalone: Win
second:
enabled: 0
settings:
CPU: None
data:
first:
Standalone: Win64
second:
enabled: 1
settings:
CPU: AnyCPU
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0d2a68d4017d1a1c50e2324da9d591788c351bf60e7a4ec4583c7de4c275433b
size 20901376

View File

@ -0,0 +1,109 @@
fileFormatVersion: 2
guid: 01f204cdd3aa0d449bff1ab94d059ce3
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
: Any
second:
enabled: 0
settings:
Exclude Editor: 0
Exclude Linux: 0
Exclude Linux64: 0
Exclude LinuxUniversal: 0
Exclude OSXIntel: 0
Exclude OSXIntel64: 0
Exclude OSXUniversal: 0
Exclude Win: 1
Exclude Win64: 0
- first:
: Editor
second:
enabled: 0
settings:
CPU: x86_64
OS: Windows
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 1
settings:
CPU: x86_64
DefaultValueInitialized: true
- first:
Facebook: Win
second:
enabled: 0
settings:
CPU: None
- first:
Facebook: Win64
second:
enabled: 1
settings:
CPU: AnyCPU
- first:
Standalone: Linux
second:
enabled: 1
settings:
CPU: None
- first:
Standalone: Linux64
second:
enabled: 1
settings:
CPU: AnyCPU
- first:
Standalone: LinuxUniversal
second:
enabled: 1
settings:
CPU: AnyCPU
- first:
Standalone: OSXIntel
second:
enabled: 1
settings:
CPU: None
- first:
Standalone: OSXIntel64
second:
enabled: 1
settings:
CPU: AnyCPU
- first:
Standalone: OSXUniversal
second:
enabled: 1
settings:
CPU: AnyCPU
- first:
Standalone: Win
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: Win64
second:
enabled: 1
settings:
CPU: AnyCPU
userData:
assetBundleName:
assetBundleVariant:

8
Resources.meta Executable file
View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: e5745ad563e845743b8920252a3e6611
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
Resources/Materials.meta Executable file
View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 88a93f7297473be4f8ebcdf7f46e5102
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

21
Resources/Materials/Brick.asset Executable file
View File

@ -0,0 +1,21 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1cb82a87a4954a947923856a12b49b38, type: 3}
m_Name: Brick
m_EditorClassIdentifier:
lowFreqAbsorption: 0.03
midFreqAbsorption: 0.04
highFreqAbsorption: 0.07
scattering: 0.05
lowFreqTransmission: 0.015
midFreqTransmission: 0.015
highFreqTransmission: 0.015

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: ed65b244617a3154ba34ebdb722855a9
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,21 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1cb82a87a4954a947923856a12b49b38, type: 3}
m_Name: Carpet
m_EditorClassIdentifier:
lowFreqAbsorption: 0.24
midFreqAbsorption: 0.69
highFreqAbsorption: 0.73
scattering: 0.05
lowFreqTransmission: 0.02
midFreqTransmission: 0.005
highFreqTransmission: 0.003

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 4ef433d5b2fa5ad4a9e19a415c6ab619
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,21 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1cb82a87a4954a947923856a12b49b38, type: 3}
m_Name: Ceramic
m_EditorClassIdentifier:
lowFreqAbsorption: 0.01
midFreqAbsorption: 0.01
highFreqAbsorption: 0.02
scattering: 0.05
lowFreqTransmission: 0.06
midFreqTransmission: 0.044
highFreqTransmission: 0.011

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 1ae39e85ad35335439c46ec8a6d27ea9
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,21 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1cb82a87a4954a947923856a12b49b38, type: 3}
m_Name: Concrete
m_EditorClassIdentifier:
lowFreqAbsorption: 0.05
midFreqAbsorption: 0.07
highFreqAbsorption: 0.08
scattering: 0.05
lowFreqTransmission: 0.015
midFreqTransmission: 0.002
highFreqTransmission: 0.001

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 2a011bab5de11df4c81c68931509f73a
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,21 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1cb82a87a4954a947923856a12b49b38, type: 3}
m_Name: Default
m_EditorClassIdentifier:
lowFreqAbsorption: 0.1
midFreqAbsorption: 0.2
highFreqAbsorption: 0.3
scattering: 0.05
lowFreqTransmission: 0.1
midFreqTransmission: 0.05
highFreqTransmission: 0.03

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: a086f686223eed942816c70be67841b0
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:

21
Resources/Materials/Glass.asset Executable file
View File

@ -0,0 +1,21 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1cb82a87a4954a947923856a12b49b38, type: 3}
m_Name: Glass
m_EditorClassIdentifier:
lowFreqAbsorption: 0.06
midFreqAbsorption: 0.03
highFreqAbsorption: 0.02
scattering: 0.05
lowFreqTransmission: 0.06
midFreqTransmission: 0.044
highFreqTransmission: 0.011

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 08bf73ad12cb44944875b02ce7f9d694
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,21 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1cb82a87a4954a947923856a12b49b38, type: 3}
m_Name: Gravel
m_EditorClassIdentifier:
lowFreqAbsorption: 0.6
midFreqAbsorption: 0.7
highFreqAbsorption: 0.8
scattering: 0.05
lowFreqTransmission: 0.031
midFreqTransmission: 0.012
highFreqTransmission: 0.008

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: b1c2b85c159e39042b3aa49340f34357
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:

21
Resources/Materials/Metal.asset Executable file
View File

@ -0,0 +1,21 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1cb82a87a4954a947923856a12b49b38, type: 3}
m_Name: Metal
m_EditorClassIdentifier:
lowFreqAbsorption: 0.2
midFreqAbsorption: 0.07
highFreqAbsorption: 0.06
scattering: 0.05
lowFreqTransmission: 0.2
midFreqTransmission: 0.025
highFreqTransmission: 0.01

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: d780f25df1d231d4aa9a31ab3ba935d0
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,21 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1cb82a87a4954a947923856a12b49b38, type: 3}
m_Name: Plaster
m_EditorClassIdentifier:
lowFreqAbsorption: 0.12
midFreqAbsorption: 0.06
highFreqAbsorption: 0.04
scattering: 0.05
lowFreqTransmission: 0.056
midFreqTransmission: 0.056
highFreqTransmission: 0.004

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 9e0a6d5705eaec64ab63e6ac7132e0a7
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:

21
Resources/Materials/Rock.asset Executable file
View File

@ -0,0 +1,21 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1cb82a87a4954a947923856a12b49b38, type: 3}
m_Name: Rock
m_EditorClassIdentifier:
lowFreqAbsorption: 0.13
midFreqAbsorption: 0.2
highFreqAbsorption: 0.24
scattering: 0.05
lowFreqTransmission: 0.015
midFreqTransmission: 0.002
highFreqTransmission: 0.001

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 5c0320d65bcecce4abf2efe02ff313aa
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:

21
Resources/Materials/Wood.asset Executable file
View File

@ -0,0 +1,21 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1cb82a87a4954a947923856a12b49b38, type: 3}
m_Name: Wood
m_EditorClassIdentifier:
lowFreqAbsorption: 0.11
midFreqAbsorption: 0.07
highFreqAbsorption: 0.06
scattering: 0.05
lowFreqTransmission: 0.07
midFreqTransmission: 0.014
highFreqTransmission: 0.005

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 5272c55b882edd34a9d80b11bd6f240c
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,59 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f3efcebd75ef2af49badc83215c91685, type: 3}
m_Name: SteamAudioSettings
m_EditorClassIdentifier:
audioEngine: 0
perspectiveCorrection: 0
perspectiveCorrectionFactor: 1
hrtfVolumeGainDB: 0
hrtfNormalizationType: 0
SOFAFiles: []
defaultMaterial: {fileID: 11400000, guid: a086f686223eed942816c70be67841b0, type: 2}
sceneType: 1
layerMask:
serializedVersion: 2
m_Bits: 0
maxOcclusionSamples: 16
realTimeRays: 4096
realTimeBounces: 4
realTimeDuration: 1
realTimeAmbisonicOrder: 1
realTimeMaxSources: 32
realTimeCPUCoresPercentage: 5
realTimeIrradianceMinDistance: 1
bakeConvolution: 1
bakeParametric: 0
bakingRays: 16384
bakingBounces: 16
bakingDuration: 1
bakingAmbisonicOrder: 1
bakingCPUCoresPercentage: 50
bakingIrradianceMinDistance: 1
bakingVisibilitySamples: 4
bakingVisibilityRadius: 1
bakingVisibilityThreshold: 0.1
bakingVisibilityRange: 1000
bakingPathRange: 1000
bakedPathingCPUCoresPercentage: 50
simulationUpdateInterval: 0.1
reflectionEffectType: 0
hybridReverbTransitionTime: 1
hybridReverbOverlapPercent: 25
deviceType: 2
maxReservedComputeUnits: 8
fractionComputeUnitsForIRUpdate: 0.5
bakingBatchSize: 8
TANDuration: 1
TANAmbisonicOrder: 1
TANMaxSources: 32
EnableValidation: 0

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: ff1b2a159df1c3cfdbe348cc31ca3268
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

8
Scripts.meta Executable file
View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: ea85a97536b166141a47b7f51400324c
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
Scripts/Editor.meta Executable file
View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 5daecada1ea129e47a5e0decc073a3af
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

105
Scripts/Editor/Build.cs Executable file
View File

@ -0,0 +1,105 @@
//
// Copyright 2017-2023 Valve Corporation.
//
// 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 System;
using UnityEngine; // deleteme?
using UnityEditor;
#if UNITY_2021_2_OR_NEWER
using UnityEditor.Build;
#endif
using UnityEditor.Callbacks;
#if UNITY_IOS
using UnityEditor.iOS.Xcode;
#endif
namespace SteamAudio
{
public static class Build
{
public static void BuildSteamAudio()
{
var args = Environment.GetCommandLineArgs();
var lastArg = args[args.Length - 1];
var fileName = "SteamAudio.unitypackage";
if (lastArg != "SteamAudio.Build.BuildSteamAudio")
{
fileName = lastArg + "/" + fileName;
}
var assets = new string[] { "Assets/Plugins" };
AssetDatabase.ExportPackage(assets, fileName, ExportPackageOptions.Recurse);
}
}
[InitializeOnLoad]
public static class Defines
{
// Define the constant STEAMAUDIO_ENABLED for all platforms that are supported by
// Steam Audio. User scripts should check if this constant is defined
// (using #if STEAMAUDIO_ENABLED) before using any of the Steam Audio C# classes.
static Defines()
{
#if UNITY_2021_2_OR_NEWER
NamedBuildTarget[] supportedPlatforms = {
NamedBuildTarget.Standalone,
NamedBuildTarget.Android,
NamedBuildTarget.iOS,
};
foreach (var supportedPlatform in supportedPlatforms)
{
var defines = PlayerSettings.GetScriptingDefineSymbols(supportedPlatform);
if (!defines.Contains("STEAMAUDIO_ENABLED"))
{
if (defines.Length > 0)
{
defines += ";";
}
defines += "STEAMAUDIO_ENABLED";
PlayerSettings.SetScriptingDefineSymbols(supportedPlatform, defines);
}
}
#endif
}
}
public static class BuildProcessor
{
[PostProcessBuild]
public static void OnPostProcessBuild(BuildTarget buildTarget, string buildPath)
{
if (buildTarget == BuildTarget.iOS)
{
#if UNITY_IOS
var projectPath = PBXProject.GetPBXProjectPath(buildPath);
var project = new PBXProject();
project.ReadFromFile(projectPath);
var file = project.AddFile("usr/lib/libz.tbd", "Frameworks/libz.tbd", PBXSourceTree.Sdk);
var target = project.TargetGuidByName("UnityFramework");
project.AddFileToBuild(target, file);
project.WriteToFile(projectPath);
#endif
}
}
}
}

11
Scripts/Editor/Build.cs.meta Executable file
View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 4cf552bb6c6d7894c8e64136a5d4a41c
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,33 @@
//
// Copyright 2017-2023 Valve Corporation.
//
// 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 UnityEditor;
namespace SteamAudio
{
/*
* Custom editor GUI for SOFAFile assets.
*/
[CustomEditor(typeof(SOFAFile))]
public class SOFAFileEditor : Editor
{
public override void OnInspectorGUI()
{
EditorGUILayout.PropertyField(serializedObject.FindProperty("sofaName"));
EditorGUILayout.LabelField("Size", Common.HumanReadableDataSize(serializedObject.FindProperty("data").arraySize));
}
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: ad7854f3d94e96f4795542d446b68921
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,50 @@
//
// Copyright 2017-2023 Valve Corporation.
//
// 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 System.IO;
using UnityEngine;
#if UNITY_2020_2_OR_NEWER
using UnityEditor.AssetImporters;
#else
using UnityEditor.Experimental.AssetImporters;
#endif
namespace SteamAudio
{
/*
* Imports .sofa files as SOFAFile asset objects.
*/
[ScriptedImporter(2, "sofa")]
public class SOFAFileImporter : ScriptedImporter
{
[Range(-12.0f, 12.0f)]
public float hrtfVolumeGainDB = 0.0f;
public HRTFNormType hrtfNormalizationType = HRTFNormType.None;
public override void OnImportAsset(AssetImportContext ctx)
{
var sofaFile = ScriptableObject.CreateInstance<SOFAFile>();
sofaFile.sofaName = Path.GetFileName(ctx.assetPath);
sofaFile.data = File.ReadAllBytes(ctx.assetPath);
sofaFile.volume = hrtfVolumeGainDB;
sofaFile.normType = hrtfNormalizationType;
ctx.AddObjectToAsset("sofa file", sofaFile);
ctx.SetMainObject(sofaFile);
}
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 1731f5ddf70efee4c8320ac591373b56
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,41 @@
//
// Copyright 2017-2023 Valve Corporation.
//
// 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 UnityEditor;
#if UNITY_2020_2_OR_NEWER
using UnityEditor.AssetImporters;
#else
using UnityEditor.Experimental.AssetImporters;
#endif
namespace SteamAudio
{
/*
* Custom editor GUI for SOFAFile import settings.
*/
[CustomEditor(typeof(SOFAFileImporter))]
public class SOFAFileImporterEditor : ScriptedImporterEditor
{
public override void OnInspectorGUI()
{
serializedObject.Update();
EditorGUILayout.PropertyField(serializedObject.FindProperty("hrtfVolumeGainDB"), new UnityEngine.GUIContent("HRTF Volume Gain (dB)"));
EditorGUILayout.PropertyField(serializedObject.FindProperty("hrtfNormalizationType"), new UnityEngine.GUIContent("HRTF Normalization Type"));
serializedObject.ApplyModifiedProperties();
ApplyRevertGUI();
}
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: d3653cc84febdd64e8064c9e17883043
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,41 @@
//
// Copyright 2017-2023 Valve Corporation.
//
// 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 UnityEditor;
namespace SteamAudio
{
[CustomEditor(typeof(SerializedData))]
public class SerializedDataInspector : Editor
{
SerializedProperty mData;
private void OnEnable()
{
mData = serializedObject.FindProperty("data");
}
public override void OnInspectorGUI()
{
serializedObject.Update();
var size = mData.arraySize;
EditorGUILayout.LabelField("Serialized Data", Common.HumanReadableDataSize(size));
serializedObject.ApplyModifiedProperties();
}
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 9184af0375b7f6140be4f789b5fc7083
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,50 @@
//
// Copyright 2017-2023 Valve Corporation.
//
// 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 UnityEditor;
namespace SteamAudio
{
[CustomEditor(typeof(SteamAudioAmbisonicSource))]
[CanEditMultipleObjects]
public class SteamAudioAmbisonicSourceInspector : Editor
{
SerializedProperty mApplyHRTF;
private void OnEnable()
{
mApplyHRTF = serializedObject.FindProperty("applyHRTF");
}
public override void OnInspectorGUI()
{
if (SteamAudioSettings.Singleton.audioEngine != AudioEngineType.Unity)
{
EditorGUILayout.HelpBox(
"This component requires the audio engine to be set to Unity. Click" +
"Steam Audio > Settings to change this.", MessageType.Warning);
return;
}
serializedObject.Update();
EditorGUILayout.PropertyField(mApplyHRTF);
serializedObject.ApplyModifiedProperties();
}
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 93bd07e672dff904ea2291dd4ac45a45
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,97 @@
//
// Copyright 2017-2023 Valve Corporation.
//
// 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;
namespace SteamAudio
{
[CustomEditor(typeof(SteamAudioBakedListener))]
public class SteamAudioBakedListenerInspector : Editor
{
#if STEAMAUDIO_ENABLED
SerializedProperty mInfluenceRadius;
SerializedProperty mUseAllProbeBatches;
SerializedProperty mProbeBatches;
bool mStatsFoldout = false;
bool mShouldShowProgressBar = false;
private void OnEnable()
{
mInfluenceRadius = serializedObject.FindProperty("influenceRadius");
mUseAllProbeBatches = serializedObject.FindProperty("useAllProbeBatches");
mProbeBatches = serializedObject.FindProperty("probeBatches");
}
public override void OnInspectorGUI()
{
serializedObject.Update();
var oldGUIEnabled = GUI.enabled;
GUI.enabled = !Baker.IsBakeActive() && !EditorApplication.isPlayingOrWillChangePlaymode;
var tgt = target as SteamAudioBakedListener;
EditorGUILayout.PropertyField(mInfluenceRadius);
EditorGUILayout.PropertyField(mUseAllProbeBatches);
if (!mUseAllProbeBatches.boolValue)
{
EditorGUILayout.PropertyField(mProbeBatches);
}
EditorGUILayout.Space();
if (GUILayout.Button("Bake"))
{
tgt.BeginBake();
mShouldShowProgressBar = true;
}
GUI.enabled = oldGUIEnabled;
if (mShouldShowProgressBar && !Baker.IsBakeActive())
{
mShouldShowProgressBar = false;
}
if (mShouldShowProgressBar)
{
Baker.DrawProgressBar();
}
Repaint();
EditorGUILayout.Space();
mStatsFoldout = EditorGUILayout.Foldout(mStatsFoldout, "Baked Data Statistics");
if (mStatsFoldout && !Baker.IsBakeActive())
{
for (var i = 0; i < tgt.GetProbeBatchesUsed().Length; ++i)
{
EditorGUILayout.LabelField(tgt.GetProbeBatchesUsed()[i].gameObject.name, Common.HumanReadableDataSize(tgt.GetProbeDataSizes()[i]));
}
EditorGUILayout.LabelField("Total Size", Common.HumanReadableDataSize(tgt.GetTotalDataSize()));
}
serializedObject.ApplyModifiedProperties();
}
#else
public override void OnInspectorGUI()
{
EditorGUILayout.HelpBox("Steam Audio is not supported for the target platform or STEAMAUDIO_ENABLED define symbol is missing.", MessageType.Warning);
}
#endif
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 5e99d6d8163e0e24cadf1add0983102e
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,97 @@
//
// Copyright 2017-2023 Valve Corporation.
//
// 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;
namespace SteamAudio
{
[CustomEditor(typeof(SteamAudioBakedSource))]
public class SteamAudioBakedSourceInspector : Editor
{
#if STEAMAUDIO_ENABLED
SerializedProperty mInfluenceRadius;
SerializedProperty mUseAllProbeBatches;
SerializedProperty mProbeBatches;
bool mStatsFoldout = false;
bool mShouldShowProgressBar = false;
private void OnEnable()
{
mInfluenceRadius = serializedObject.FindProperty("influenceRadius");
mUseAllProbeBatches = serializedObject.FindProperty("useAllProbeBatches");
mProbeBatches = serializedObject.FindProperty("probeBatches");
}
public override void OnInspectorGUI()
{
serializedObject.Update();
var oldGUIEnabled = GUI.enabled;
GUI.enabled = !Baker.IsBakeActive() && !EditorApplication.isPlayingOrWillChangePlaymode;
var tgt = target as SteamAudioBakedSource;
EditorGUILayout.PropertyField(mInfluenceRadius);
EditorGUILayout.PropertyField(mUseAllProbeBatches);
if (!mUseAllProbeBatches.boolValue)
{
EditorGUILayout.PropertyField(mProbeBatches);
}
EditorGUILayout.Space();
if (GUILayout.Button("Bake"))
{
tgt.BeginBake();
mShouldShowProgressBar = true;
}
GUI.enabled = oldGUIEnabled;
if (mShouldShowProgressBar && !Baker.IsBakeActive())
{
mShouldShowProgressBar = false;
}
if (mShouldShowProgressBar)
{
Baker.DrawProgressBar();
}
Repaint();
EditorGUILayout.Space();
mStatsFoldout = EditorGUILayout.Foldout(mStatsFoldout, "Baked Data Statistics");
if (mStatsFoldout && !Baker.IsBakeActive())
{
for (var i = 0; i < tgt.GetProbeBatchesUsed().Length; ++i)
{
EditorGUILayout.LabelField(tgt.GetProbeBatchesUsed()[i].gameObject.name, Common.HumanReadableDataSize(tgt.GetProbeDataSizes()[i]));
}
EditorGUILayout.LabelField("Total Size", Common.HumanReadableDataSize(tgt.GetTotalDataSize()));
}
serializedObject.ApplyModifiedProperties();
}
#else
public override void OnInspectorGUI()
{
EditorGUILayout.HelpBox("Steam Audio is not supported for the target platform or STEAMAUDIO_ENABLED define symbol is missing.", MessageType.Warning);
}
#endif
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 3333927edc4e4ec4e880a1ff9e9a7a2e
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,75 @@
//
// Copyright 2017-2023 Valve Corporation.
//
// 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 UnityEditor;
using UnityEditor.SceneManagement;
using UnityEngine;
namespace SteamAudio
{
[CustomEditor(typeof(SteamAudioDynamicObject))]
public class SteamAudioDynamicObjectInspector : Editor
{
#if STEAMAUDIO_ENABLED
SerializedProperty mAsset;
private void OnEnable()
{
mAsset = serializedObject.FindProperty("asset");
}
public override void OnInspectorGUI()
{
serializedObject.Update();
EditorGUILayout.PropertyField(mAsset);
if (mAsset.objectReferenceValue == null)
{
EditorGUILayout.HelpBox(
"This Dynamic Object has not been exported to an asset yet. Please click Export Dynamic Object " +
"to do so.", MessageType.Warning);
}
EditorGUILayout.Space();
if (GUILayout.Button("Export Dynamic Object"))
{
if (mAsset.objectReferenceValue == null)
{
var name = (target as SteamAudioDynamicObject).gameObject.scene.name + "_" + target.name;
mAsset.objectReferenceValue = SerializedData.PromptForNewAsset(name);
serializedObject.ApplyModifiedProperties();
}
SteamAudioManager.ExportDynamicObject(target as SteamAudioDynamicObject, false);
}
if (GUILayout.Button("Export Dynamic Object as OBJ"))
{
SteamAudioManager.ExportDynamicObject(target as SteamAudioDynamicObject, true);
}
serializedObject.ApplyModifiedProperties();
}
#else
public override void OnInspectorGUI()
{
EditorGUILayout.HelpBox("Steam Audio is not supported for the target platform or STEAMAUDIO_ENABLED define symbol is missing.", MessageType.Warning);
}
#endif
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 980be31a5041c924094140b19f4276cd
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,70 @@
//
// Copyright 2017-2023 Valve Corporation.
//
// 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;
namespace SteamAudio
{
[CustomEditor(typeof(SteamAudioGeometry))]
[CanEditMultipleObjects]
public class SteamAudioGeometryInspector : Editor
{
#if STEAMAUDIO_ENABLED
SerializedProperty mMaterial;
SerializedProperty mExportAllChildren;
SerializedProperty mTerrainSimplificationLevel;
private void OnEnable()
{
mMaterial = serializedObject.FindProperty("material");
mExportAllChildren = serializedObject.FindProperty("exportAllChildren");
mTerrainSimplificationLevel = serializedObject.FindProperty("terrainSimplificationLevel");
}
public override void OnInspectorGUI()
{
serializedObject.Update();
var tgt = target as SteamAudioGeometry;
EditorGUILayout.PropertyField(mMaterial);
if (tgt.transform.childCount != 0)
{
EditorGUILayout.PropertyField(mExportAllChildren);
}
if (tgt.gameObject.GetComponent<Terrain>() != null)
{
EditorGUILayout.PropertyField(mTerrainSimplificationLevel);
}
EditorGUILayout.Space();
EditorGUILayout.LabelField("Geometry Statistics", EditorStyles.boldLabel);
EditorGUILayout.LabelField("Vertices", tgt.GetNumVertices().ToString());
EditorGUILayout.LabelField("Triangles", tgt.GetNumTriangles().ToString());
serializedObject.ApplyModifiedProperties();
}
#else
public override void OnInspectorGUI()
{
EditorGUILayout.HelpBox("Steam Audio is not supported for the target platform or STEAMAUDIO_ENABLED define symbol is missing.", MessageType.Warning);
}
#endif
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 58fcd8cc93a64734490ae21a46fb412d
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,108 @@
//
// Copyright 2017-2023 Valve Corporation.
//
// 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;
namespace SteamAudio
{
[CustomEditor(typeof(SteamAudioListener))]
public class SteamAudioListenerInspector : Editor
{
#if STEAMAUDIO_ENABLED
SerializedProperty mCurrentBakedListener;
SerializedProperty mApplyReverb;
SerializedProperty mReverbType;
SerializedProperty mUseAllProbeBatches;
SerializedProperty mProbeBatches;
bool mStatsFoldout = false;
bool mShouldShowProgressBar = false;
private void OnEnable()
{
mCurrentBakedListener = serializedObject.FindProperty("currentBakedListener");
mApplyReverb = serializedObject.FindProperty("applyReverb");
mReverbType = serializedObject.FindProperty("reverbType");
mUseAllProbeBatches = serializedObject.FindProperty("useAllProbeBatches");
mProbeBatches = serializedObject.FindProperty("probeBatches");
}
public override void OnInspectorGUI()
{
serializedObject.Update();
EditorGUILayout.PropertyField(mCurrentBakedListener);
EditorGUILayout.PropertyField(mApplyReverb);
if (mApplyReverb.boolValue)
{
EditorGUILayout.PropertyField(mReverbType);
}
var oldGUIEnabled = GUI.enabled;
GUI.enabled = !Baker.IsBakeActive() && !EditorApplication.isPlayingOrWillChangePlaymode;
var tgt = target as SteamAudioListener;
EditorGUILayout.PropertyField(mUseAllProbeBatches);
if (!mUseAllProbeBatches.boolValue)
{
EditorGUILayout.PropertyField(mProbeBatches);
}
EditorGUILayout.Space();
if (GUILayout.Button("Bake"))
{
tgt.BeginBake();
mShouldShowProgressBar = true;
}
GUI.enabled = oldGUIEnabled;
if (mShouldShowProgressBar && !Baker.IsBakeActive())
{
mShouldShowProgressBar = false;
}
if (mShouldShowProgressBar)
{
Baker.DrawProgressBar();
}
Repaint();
EditorGUILayout.Space();
mStatsFoldout = EditorGUILayout.Foldout(mStatsFoldout, "Baked Data Statistics");
if (mStatsFoldout && !Baker.IsBakeActive())
{
for (var i = 0; i < tgt.GetProbeBatchesUsed().Length; ++i)
{
EditorGUILayout.LabelField(tgt.GetProbeBatchesUsed()[i].gameObject.name, Common.HumanReadableDataSize(tgt.GetProbeDataSizes()[i]));
}
EditorGUILayout.LabelField("Total Size", Common.HumanReadableDataSize(tgt.GetTotalDataSize()));
}
serializedObject.ApplyModifiedProperties();
}
#else
public override void OnInspectorGUI()
{
EditorGUILayout.HelpBox("Steam Audio is not supported for the target platform or STEAMAUDIO_ENABLED define symbol is missing.", MessageType.Warning);
}
#endif
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 68c66682e05a3a744896f1452c21c860
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,57 @@
//
// Copyright 2017-2023 Valve Corporation.
//
// 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 UnityEditor;
namespace SteamAudio
{
[CustomEditor(typeof(SteamAudioManager))]
[CanEditMultipleObjects]
public class SteamAudioManagerInspector : Editor
{
#if STEAMAUDIO_ENABLED
SerializedProperty mCurrentHRTF;
private void OnEnable()
{
mCurrentHRTF = serializedObject.FindProperty("currentHRTF");
}
public override void OnInspectorGUI()
{
serializedObject.Update();
var tgt = target as SteamAudioManager;
EditorGUILayout.Space();
EditorGUILayout.LabelField("HRTF Settings", EditorStyles.boldLabel);
mCurrentHRTF.intValue = EditorGUILayout.Popup("Current HRTF", mCurrentHRTF.intValue, tgt.hrtfNames);
EditorGUILayout.Space();
EditorGUILayout.HelpBox(
"This component should not be added manually to any GameObject. It is automatically created and" +
"destroyed by Steam Audio.", MessageType.Warning);
serializedObject.ApplyModifiedProperties();
}
#else
public override void OnInspectorGUI()
{
EditorGUILayout.HelpBox("Steam Audio is not supported for the target platform or STEAMAUDIO_ENABLED define symbol is missing.", MessageType.Warning);
}
#endif
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: e5adb5adac336b84fa2308b30315459d
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,59 @@
//
// Copyright 2017-2023 Valve Corporation.
//
// 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 UnityEditor;
namespace SteamAudio
{
[CustomEditor(typeof(SteamAudioMaterial))]
[CanEditMultipleObjects]
public class SteamAudioMaterialInspector : Editor
{
SerializedProperty lowFreqAbsorption;
SerializedProperty midFreqAbsorption;
SerializedProperty highFreqAbsorption;
SerializedProperty scattering;
SerializedProperty lowFreqTransmission;
SerializedProperty midFreqTransmission;
SerializedProperty highFreqTransmission;
private void OnEnable()
{
lowFreqAbsorption = serializedObject.FindProperty("lowFreqAbsorption");
midFreqAbsorption = serializedObject.FindProperty("midFreqAbsorption");
highFreqAbsorption = serializedObject.FindProperty("highFreqAbsorption");
scattering = serializedObject.FindProperty("scattering");
lowFreqTransmission = serializedObject.FindProperty("lowFreqTransmission");
midFreqTransmission = serializedObject.FindProperty("midFreqTransmission");
highFreqTransmission = serializedObject.FindProperty("highFreqTransmission");
}
public override void OnInspectorGUI()
{
serializedObject.Update();
EditorGUILayout.PropertyField(lowFreqAbsorption);
EditorGUILayout.PropertyField(midFreqAbsorption);
EditorGUILayout.PropertyField(highFreqAbsorption);
EditorGUILayout.PropertyField(scattering);
EditorGUILayout.PropertyField(lowFreqTransmission);
EditorGUILayout.PropertyField(midFreqTransmission);
EditorGUILayout.PropertyField(highFreqTransmission);
serializedObject.ApplyModifiedProperties();
}
}
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: d390cf1bb6f67ca47b6b5d3c43ec5956
timeCreated: 1499375927
licenseType: Pro
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,74 @@
//
// Copyright 2017-2023 Valve Corporation.
//
// 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;
namespace SteamAudio
{
public class SteamAudioMixerReturnGUI : IAudioEffectPluginGUI
{
public override string Name
{
get
{
return "Steam Audio Mixer Return";
}
}
public override string Vendor
{
get
{
return "Valve Corporation";
}
}
public override string Description
{
get
{
return "Enables accelerated mixing of reflections for sources spatialized using Steam Audio.";
}
}
public override bool OnGUI(IAudioEffectPlugin plugin)
{
if (SteamAudioSettings.Singleton.audioEngine != AudioEngineType.Unity)
{
EditorGUILayout.HelpBox(
"This Audio Mixer effect requires the audio engine to be set to Unity. Click" +
"Steam Audio > Settings to change this.", MessageType.Warning);
return false;
}
var binauralValue = 0.0f;
plugin.GetFloatParameter("Binaural", out binauralValue);
var binaural = (binauralValue == 1.0f);
binaural = EditorGUILayout.Toggle("Apply HRTF", binaural);
binauralValue = (binaural) ? 1.0f : 0.0f;
plugin.SetFloatParameter("Binaural", binauralValue);
return false;
}
}
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 03cab73d8173c364bb30b17574e2f240
timeCreated: 1499881264
licenseType: Pro
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

Some files were not shown because too many files have changed in this diff Show More