├── .gitignore
├── AndroidProject
├── .gitignore
├── .idea
│ ├── codeStyles
│ │ └── Project.xml
│ ├── misc.xml
│ ├── modules.xml
│ └── runConfigurations.xml
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── hiyorin
│ │ │ └── systemvolumeplugin
│ │ │ └── ExampleInstrumentedTest.java
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ └── res
│ │ │ ├── drawable-v24
│ │ │ └── ic_launcher_foreground.xml
│ │ │ ├── drawable
│ │ │ └── ic_launcher_background.xml
│ │ │ ├── mipmap-anydpi-v26
│ │ │ ├── ic_launcher.xml
│ │ │ └── ic_launcher_round.xml
│ │ │ ├── mipmap-hdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-mdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ └── values
│ │ │ ├── colors.xml
│ │ │ ├── strings.xml
│ │ │ └── styles.xml
│ │ └── test
│ │ └── java
│ │ └── com
│ │ └── hiyorin
│ │ └── systemvolumeplugin
│ │ └── ExampleUnitTest.java
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
├── settings.gradle
└── systemvolumeplugin
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ ├── androidTest
│ └── java
│ │ └── com
│ │ └── hiyorin
│ │ └── systemvolumeplugin
│ │ └── ExampleInstrumentedTest.java
│ ├── main
│ ├── AndroidManifest.xml
│ └── java
│ │ └── com
│ │ └── hiyorin
│ │ └── systemvolumeplugin
│ │ └── SystemVolumeReceiver.java
│ └── test
│ └── java
│ └── com
│ └── hiyorin
│ └── systemvolumeplugin
│ └── ExampleUnitTest.java
├── Assets
├── Editor.meta
├── Editor
│ ├── ExportPackage.cs
│ └── ExportPackage.cs.meta
├── Plugins.meta
└── Plugins
│ ├── SystemVolumePlugin.meta
│ └── SystemVolumePlugin
│ ├── Examples.meta
│ ├── Examples
│ ├── Example.cs
│ ├── Example.cs.meta
│ ├── Example.unity
│ └── Example.unity.meta
│ ├── Plugins.meta
│ ├── Plugins
│ ├── Android.meta
│ ├── Android
│ │ ├── systemvolume-lib.aar
│ │ └── systemvolume-lib.aar.meta
│ ├── iOS.meta
│ └── iOS
│ │ ├── SystemVolumePlugin.mm
│ │ ├── SystemVolumePlugin.mm.meta
│ │ ├── SystemVolumeReceiver.h
│ │ ├── SystemVolumeReceiver.h.meta
│ │ ├── SystemVolumeReceiver.m
│ │ └── SystemVolumeReceiver.m.meta
│ ├── Scripts.meta
│ └── Scripts
│ ├── Internal.meta
│ ├── Internal
│ ├── IPlatform.cs
│ ├── IPlatform.cs.meta
│ ├── SystemVolumeForAndroid.cs
│ ├── SystemVolumeForAndroid.cs.meta
│ ├── SystemVolumeForEditor.cs
│ ├── SystemVolumeForEditor.cs.meta
│ ├── SystemVolumeForIOS.cs
│ ├── SystemVolumeForIOS.cs.meta
│ ├── SystemVolumePlugin.cs
│ └── SystemVolumePlugin.cs.meta
│ ├── SystemVolumeController.cs
│ └── SystemVolumeController.cs.meta
├── LICENSE
├── Packages
└── manifest.json
├── ProjectSettings
├── AudioManager.asset
├── ClusterInputManager.asset
├── DynamicsManager.asset
├── EditorBuildSettings.asset
├── EditorSettings.asset
├── GraphicsSettings.asset
├── InputManager.asset
├── NavMeshAreas.asset
├── NetworkManager.asset
├── Physics2DSettings.asset
├── PresetManager.asset
├── ProjectSettings.asset
├── ProjectVersion.txt
├── QualitySettings.asset
├── TagManager.asset
├── TimeManager.asset
└── UnityConnectSettings.asset
└── README.md
/.gitignore:
--------------------------------------------------------------------------------
1 | [Ll]ibrary/
2 | [Tt]emp/
3 | [Oo]bj/
4 | [Bb]uild/
5 | [Bb]uilds/
6 | Assets/AssetStoreTools*
7 |
8 | # Visual Studio cache directory
9 | .vs/
10 |
11 | # Autogenerated VS/MD/Consulo solution and project files
12 | ExportedObj/
13 | .consulo/
14 | *.csproj
15 | *.unityproj
16 | *.sln
17 | *.suo
18 | *.tmp
19 | *.user
20 | *.userprefs
21 | *.pidb
22 | *.booproj
23 | *.svd
24 | *.pdb
25 | *.opendb
26 |
27 | # Unity3D generated meta files
28 | *.pidb.meta
29 | *.pdb.meta
30 |
31 | # Unity3D Generated File On Crash Reports
32 | sysinfo.txt
33 |
34 | # Builds
35 | *.apk
36 | *.unitypackage
37 |
--------------------------------------------------------------------------------
/AndroidProject/.gitignore:
--------------------------------------------------------------------------------
1 | # Built application files
2 | *.apk
3 | *.ap_
4 |
5 | # Files for the ART/Dalvik VM
6 | *.dex
7 |
8 | # Java class files
9 | *.class
10 |
11 | # Generated files
12 | bin/
13 | gen/
14 | out/
15 |
16 | # Gradle files
17 | .gradle/
18 | build/
19 |
20 | # Local configuration file (sdk path, etc)
21 | local.properties
22 |
23 | # Proguard folder generated by Eclipse
24 | proguard/
25 |
26 | # Log Files
27 | *.log
28 |
29 | # Android Studio Navigation editor temp files
30 | .navigation/
31 |
32 | # Android Studio captures folder
33 | captures/
34 |
35 | # IntelliJ
36 | *.iml
37 | .idea/workspace.xml
38 | .idea/tasks.xml
39 | .idea/gradle.xml
40 | .idea/assetWizardSettings.xml
41 | .idea/dictionaries
42 | .idea/libraries
43 | .idea/caches
44 |
45 | # Keystore files
46 | # Uncomment the following line if you do not want to check your keystore files in.
47 | #*.jks
48 |
49 | # External native build folder generated in Android Studio 2.2 and later
50 | .externalNativeBuild
51 |
52 | # Google Services (e.g. APIs or Firebase)
53 | google-services.json
54 |
55 | # Freeline
56 | freeline.py
57 | freeline/
58 | freeline_project_description.json
59 |
60 | # fastlane
61 | fastlane/report.xml
62 | fastlane/Preview.html
63 | fastlane/screenshots
64 | fastlane/test_output
65 | fastlane/readme.md
66 |
--------------------------------------------------------------------------------
/AndroidProject/.idea/codeStyles/Project.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/AndroidProject/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
17 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/AndroidProject/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/AndroidProject/.idea/runConfigurations.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
11 |
12 |
--------------------------------------------------------------------------------
/AndroidProject/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/AndroidProject/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 |
3 | android {
4 | compileSdkVersion 28
5 | defaultConfig {
6 | applicationId "com.hiyorin.systemvolumeplugin"
7 | minSdkVersion 14
8 | targetSdkVersion 28
9 | versionCode 1
10 | versionName "1.0"
11 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
12 | }
13 | buildTypes {
14 | release {
15 | minifyEnabled false
16 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
17 | }
18 | }
19 | }
20 |
21 | dependencies {
22 | implementation fileTree(dir: 'libs', include: ['*.jar'])
23 | implementation 'com.android.support:appcompat-v7:28.0.0-beta01'
24 | testImplementation 'junit:junit:4.12'
25 | androidTestImplementation 'com.android.support.test:runner:1.0.2'
26 | androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
27 | }
28 |
--------------------------------------------------------------------------------
/AndroidProject/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
22 |
--------------------------------------------------------------------------------
/AndroidProject/app/src/androidTest/java/com/hiyorin/systemvolumeplugin/ExampleInstrumentedTest.java:
--------------------------------------------------------------------------------
1 | package com.hiyorin.systemvolumeplugin;
2 |
3 | import android.content.Context;
4 | import android.support.test.InstrumentationRegistry;
5 | import android.support.test.runner.AndroidJUnit4;
6 |
7 | import org.junit.Test;
8 | import org.junit.runner.RunWith;
9 |
10 | import static org.junit.Assert.*;
11 |
12 | /**
13 | * Instrumented test, which will execute on an Android device.
14 | *
15 | * @see Testing documentation
16 | */
17 | @RunWith(AndroidJUnit4.class)
18 | public class ExampleInstrumentedTest {
19 | @Test
20 | public void useAppContext() {
21 | // Context of the app under test.
22 | Context appContext = InstrumentationRegistry.getTargetContext();
23 |
24 | assertEquals("com.hiyorin.systemvolumeplugin", appContext.getPackageName());
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/AndroidProject/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
11 |
12 |
--------------------------------------------------------------------------------
/AndroidProject/app/src/main/res/drawable-v24/ic_launcher_foreground.xml:
--------------------------------------------------------------------------------
1 |
7 |
12 |
13 |
19 |
22 |
25 |
26 |
27 |
28 |
34 |
35 |
--------------------------------------------------------------------------------
/AndroidProject/app/src/main/res/drawable/ic_launcher_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
10 |
15 |
20 |
25 |
30 |
35 |
40 |
45 |
50 |
55 |
60 |
65 |
70 |
75 |
80 |
85 |
90 |
95 |
100 |
105 |
110 |
115 |
120 |
125 |
130 |
135 |
140 |
145 |
150 |
155 |
160 |
165 |
170 |
171 |
--------------------------------------------------------------------------------
/AndroidProject/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/AndroidProject/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/AndroidProject/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiyorin/SystemVolumePlugin-for-Unity/95d3a31ccf183a42526fb7d5e758fd91062a27f0/AndroidProject/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/AndroidProject/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiyorin/SystemVolumePlugin-for-Unity/95d3a31ccf183a42526fb7d5e758fd91062a27f0/AndroidProject/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/AndroidProject/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiyorin/SystemVolumePlugin-for-Unity/95d3a31ccf183a42526fb7d5e758fd91062a27f0/AndroidProject/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/AndroidProject/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiyorin/SystemVolumePlugin-for-Unity/95d3a31ccf183a42526fb7d5e758fd91062a27f0/AndroidProject/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/AndroidProject/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiyorin/SystemVolumePlugin-for-Unity/95d3a31ccf183a42526fb7d5e758fd91062a27f0/AndroidProject/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/AndroidProject/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiyorin/SystemVolumePlugin-for-Unity/95d3a31ccf183a42526fb7d5e758fd91062a27f0/AndroidProject/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/AndroidProject/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiyorin/SystemVolumePlugin-for-Unity/95d3a31ccf183a42526fb7d5e758fd91062a27f0/AndroidProject/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/AndroidProject/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiyorin/SystemVolumePlugin-for-Unity/95d3a31ccf183a42526fb7d5e758fd91062a27f0/AndroidProject/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/AndroidProject/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiyorin/SystemVolumePlugin-for-Unity/95d3a31ccf183a42526fb7d5e758fd91062a27f0/AndroidProject/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/AndroidProject/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiyorin/SystemVolumePlugin-for-Unity/95d3a31ccf183a42526fb7d5e758fd91062a27f0/AndroidProject/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/AndroidProject/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #3F51B5
4 | #303F9F
5 | #FF4081
6 |
7 |
--------------------------------------------------------------------------------
/AndroidProject/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | SystemVolumePlugin
3 |
4 |
--------------------------------------------------------------------------------
/AndroidProject/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/AndroidProject/app/src/test/java/com/hiyorin/systemvolumeplugin/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.hiyorin.systemvolumeplugin;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * @see Testing documentation
11 | */
12 | public class ExampleUnitTest {
13 | @Test
14 | public void addition_isCorrect() {
15 | assertEquals(4, 2 + 2);
16 | }
17 | }
--------------------------------------------------------------------------------
/AndroidProject/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 |
5 | repositories {
6 | google()
7 | jcenter()
8 | }
9 | dependencies {
10 | classpath 'com.android.tools.build:gradle:3.1.3'
11 |
12 | // NOTE: Do not place your application dependencies here; they belong
13 | // in the individual module build.gradle files
14 | }
15 | }
16 |
17 | allprojects {
18 | repositories {
19 | google()
20 | jcenter()
21 | }
22 | }
23 |
24 | task clean(type: Delete) {
25 | delete rootProject.buildDir
26 | }
27 |
--------------------------------------------------------------------------------
/AndroidProject/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 | # IDE (e.g. Android Studio) users:
3 | # Gradle settings configured through the IDE *will override*
4 | # any settings specified in this file.
5 | # For more details on how to configure your build environment visit
6 | # http://www.gradle.org/docs/current/userguide/build_environment.html
7 | # Specifies the JVM arguments used for the daemon process.
8 | # The setting is particularly useful for tweaking memory settings.
9 | org.gradle.jvmargs=-Xmx1536m
10 | # When configured, Gradle will run in incubating parallel mode.
11 | # This option should only be used with decoupled projects. More details, visit
12 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
13 | # org.gradle.parallel=true
14 |
--------------------------------------------------------------------------------
/AndroidProject/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiyorin/SystemVolumePlugin-for-Unity/95d3a31ccf183a42526fb7d5e758fd91062a27f0/AndroidProject/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/AndroidProject/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Mon Jul 30 01:06:37 JST 2018
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
7 |
--------------------------------------------------------------------------------
/AndroidProject/gradlew:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | ##############################################################################
4 | ##
5 | ## Gradle start up script for UN*X
6 | ##
7 | ##############################################################################
8 |
9 | # Attempt to set APP_HOME
10 | # Resolve links: $0 may be a link
11 | PRG="$0"
12 | # Need this for relative symlinks.
13 | while [ -h "$PRG" ] ; do
14 | ls=`ls -ld "$PRG"`
15 | link=`expr "$ls" : '.*-> \(.*\)$'`
16 | if expr "$link" : '/.*' > /dev/null; then
17 | PRG="$link"
18 | else
19 | PRG=`dirname "$PRG"`"/$link"
20 | fi
21 | done
22 | SAVED="`pwd`"
23 | cd "`dirname \"$PRG\"`/" >/dev/null
24 | APP_HOME="`pwd -P`"
25 | cd "$SAVED" >/dev/null
26 |
27 | APP_NAME="Gradle"
28 | APP_BASE_NAME=`basename "$0"`
29 |
30 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
31 | DEFAULT_JVM_OPTS=""
32 |
33 | # Use the maximum available, or set MAX_FD != -1 to use that value.
34 | MAX_FD="maximum"
35 |
36 | warn () {
37 | echo "$*"
38 | }
39 |
40 | die () {
41 | echo
42 | echo "$*"
43 | echo
44 | exit 1
45 | }
46 |
47 | # OS specific support (must be 'true' or 'false').
48 | cygwin=false
49 | msys=false
50 | darwin=false
51 | nonstop=false
52 | case "`uname`" in
53 | CYGWIN* )
54 | cygwin=true
55 | ;;
56 | Darwin* )
57 | darwin=true
58 | ;;
59 | MINGW* )
60 | msys=true
61 | ;;
62 | NONSTOP* )
63 | nonstop=true
64 | ;;
65 | esac
66 |
67 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
68 |
69 | # Determine the Java command to use to start the JVM.
70 | if [ -n "$JAVA_HOME" ] ; then
71 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
72 | # IBM's JDK on AIX uses strange locations for the executables
73 | JAVACMD="$JAVA_HOME/jre/sh/java"
74 | else
75 | JAVACMD="$JAVA_HOME/bin/java"
76 | fi
77 | if [ ! -x "$JAVACMD" ] ; then
78 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
79 |
80 | Please set the JAVA_HOME variable in your environment to match the
81 | location of your Java installation."
82 | fi
83 | else
84 | JAVACMD="java"
85 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
86 |
87 | Please set the JAVA_HOME variable in your environment to match the
88 | location of your Java installation."
89 | fi
90 |
91 | # Increase the maximum file descriptors if we can.
92 | if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
93 | MAX_FD_LIMIT=`ulimit -H -n`
94 | if [ $? -eq 0 ] ; then
95 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
96 | MAX_FD="$MAX_FD_LIMIT"
97 | fi
98 | ulimit -n $MAX_FD
99 | if [ $? -ne 0 ] ; then
100 | warn "Could not set maximum file descriptor limit: $MAX_FD"
101 | fi
102 | else
103 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
104 | fi
105 | fi
106 |
107 | # For Darwin, add options to specify how the application appears in the dock
108 | if $darwin; then
109 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
110 | fi
111 |
112 | # For Cygwin, switch paths to Windows format before running java
113 | if $cygwin ; then
114 | APP_HOME=`cygpath --path --mixed "$APP_HOME"`
115 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
116 | JAVACMD=`cygpath --unix "$JAVACMD"`
117 |
118 | # We build the pattern for arguments to be converted via cygpath
119 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
120 | SEP=""
121 | for dir in $ROOTDIRSRAW ; do
122 | ROOTDIRS="$ROOTDIRS$SEP$dir"
123 | SEP="|"
124 | done
125 | OURCYGPATTERN="(^($ROOTDIRS))"
126 | # Add a user-defined pattern to the cygpath arguments
127 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then
128 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
129 | fi
130 | # Now convert the arguments - kludge to limit ourselves to /bin/sh
131 | i=0
132 | for arg in "$@" ; do
133 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
134 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
135 |
136 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
137 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
138 | else
139 | eval `echo args$i`="\"$arg\""
140 | fi
141 | i=$((i+1))
142 | done
143 | case $i in
144 | (0) set -- ;;
145 | (1) set -- "$args0" ;;
146 | (2) set -- "$args0" "$args1" ;;
147 | (3) set -- "$args0" "$args1" "$args2" ;;
148 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
149 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
150 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
151 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
152 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
153 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
154 | esac
155 | fi
156 |
157 | # Escape application args
158 | save () {
159 | for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
160 | echo " "
161 | }
162 | APP_ARGS=$(save "$@")
163 |
164 | # Collect all arguments for the java command, following the shell quoting and substitution rules
165 | eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
166 |
167 | # by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
168 | if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
169 | cd "$(dirname "$0")"
170 | fi
171 |
172 | exec "$JAVACMD" "$@"
173 |
--------------------------------------------------------------------------------
/AndroidProject/gradlew.bat:
--------------------------------------------------------------------------------
1 | @if "%DEBUG%" == "" @echo off
2 | @rem ##########################################################################
3 | @rem
4 | @rem Gradle startup script for Windows
5 | @rem
6 | @rem ##########################################################################
7 |
8 | @rem Set local scope for the variables with windows NT shell
9 | if "%OS%"=="Windows_NT" setlocal
10 |
11 | set DIRNAME=%~dp0
12 | if "%DIRNAME%" == "" set DIRNAME=.
13 | set APP_BASE_NAME=%~n0
14 | set APP_HOME=%DIRNAME%
15 |
16 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
17 | set DEFAULT_JVM_OPTS=
18 |
19 | @rem Find java.exe
20 | if defined JAVA_HOME goto findJavaFromJavaHome
21 |
22 | set JAVA_EXE=java.exe
23 | %JAVA_EXE% -version >NUL 2>&1
24 | if "%ERRORLEVEL%" == "0" goto init
25 |
26 | echo.
27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
28 | echo.
29 | echo Please set the JAVA_HOME variable in your environment to match the
30 | echo location of your Java installation.
31 |
32 | goto fail
33 |
34 | :findJavaFromJavaHome
35 | set JAVA_HOME=%JAVA_HOME:"=%
36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe
37 |
38 | if exist "%JAVA_EXE%" goto init
39 |
40 | echo.
41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
42 | echo.
43 | echo Please set the JAVA_HOME variable in your environment to match the
44 | echo location of your Java installation.
45 |
46 | goto fail
47 |
48 | :init
49 | @rem Get command-line arguments, handling Windows variants
50 |
51 | if not "%OS%" == "Windows_NT" goto win9xME_args
52 |
53 | :win9xME_args
54 | @rem Slurp the command line arguments.
55 | set CMD_LINE_ARGS=
56 | set _SKIP=2
57 |
58 | :win9xME_args_slurp
59 | if "x%~1" == "x" goto execute
60 |
61 | set CMD_LINE_ARGS=%*
62 |
63 | :execute
64 | @rem Setup the command line
65 |
66 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
67 |
68 | @rem Execute Gradle
69 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
70 |
71 | :end
72 | @rem End local scope for the variables with windows NT shell
73 | if "%ERRORLEVEL%"=="0" goto mainEnd
74 |
75 | :fail
76 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
77 | rem the _cmd.exe /c_ return code!
78 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
79 | exit /b 1
80 |
81 | :mainEnd
82 | if "%OS%"=="Windows_NT" endlocal
83 |
84 | :omega
85 |
--------------------------------------------------------------------------------
/AndroidProject/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app', ':systemvolumeplugin'
2 |
--------------------------------------------------------------------------------
/AndroidProject/systemvolumeplugin/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/AndroidProject/systemvolumeplugin/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.library'
2 |
3 | android {
4 | compileSdkVersion 28
5 |
6 | defaultConfig {
7 | minSdkVersion 14
8 | targetSdkVersion 28
9 | versionCode 1
10 | versionName "1.0"
11 |
12 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
13 |
14 | }
15 |
16 | buildTypes {
17 | release {
18 | minifyEnabled false
19 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
20 | }
21 | }
22 |
23 | }
24 |
25 | dependencies {
26 | implementation fileTree(include: ['*.jar'], dir: 'libs')
27 | implementation 'com.android.support:appcompat-v7:28.0.0-beta01'
28 | testImplementation 'junit:junit:4.12'
29 | androidTestImplementation 'com.android.support.test:runner:1.0.2'
30 | androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
31 | compileOnly files('/Applications/Unity/PlaybackEngines/AndroidPlayer/Variations/mono/Development/Classes/classes.jar')
32 | }
33 |
34 |
35 | task exportAar(type: Copy) {
36 | from('build/outputs/aar/')
37 | into('../../Assets/Plugins/SystemVolume/Plugins/Android/')
38 | include('systemvolumeplugin-release.aar')
39 | rename('systemvolumeplugin-release.aar', 'systemvolume-lib.aar')
40 | }
--------------------------------------------------------------------------------
/AndroidProject/systemvolumeplugin/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
22 |
--------------------------------------------------------------------------------
/AndroidProject/systemvolumeplugin/src/androidTest/java/com/hiyorin/systemvolumeplugin/ExampleInstrumentedTest.java:
--------------------------------------------------------------------------------
1 | package com.hiyorin.systemvolumeplugin;
2 |
3 | import android.content.Context;
4 | import android.support.test.InstrumentationRegistry;
5 | import android.support.test.runner.AndroidJUnit4;
6 |
7 | import org.junit.Test;
8 | import org.junit.runner.RunWith;
9 |
10 | import static org.junit.Assert.*;
11 |
12 | /**
13 | * Instrumented test, which will execute on an Android device.
14 | *
15 | * @see Testing documentation
16 | */
17 | @RunWith(AndroidJUnit4.class)
18 | public class ExampleInstrumentedTest {
19 | @Test
20 | public void useAppContext() {
21 | // Context of the app under test.
22 | Context appContext = InstrumentationRegistry.getTargetContext();
23 |
24 | assertEquals("com.hiyorin.systemvolumeplugin.test", appContext.getPackageName());
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/AndroidProject/systemvolumeplugin/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/AndroidProject/systemvolumeplugin/src/main/java/com/hiyorin/systemvolumeplugin/SystemVolumeReceiver.java:
--------------------------------------------------------------------------------
1 | package com.hiyorin.systemvolumeplugin;
2 |
3 | import android.content.BroadcastReceiver;
4 | import android.content.Context;
5 | import android.content.Intent;
6 |
7 | import android.media.AudioManager;
8 |
9 | import com.unity3d.player.UnityPlayer;
10 |
11 | public class SystemVolumeReceiver extends BroadcastReceiver {
12 | @Override
13 | public void onReceive(Context context, Intent intent) {
14 | if(intent.getAction().equals("android.media.VOLUME_CHANGED_ACTION")) {
15 | AudioManager am = (AudioManager)context.getSystemService(Context.AUDIO_SERVICE);
16 | float currentVolume = am.getStreamVolume(AudioManager.STREAM_MUSIC);
17 | float maxVolume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC);
18 | float volume = currentVolume / maxVolume;
19 | UnityPlayer.UnitySendMessage("SystemVolumePlugin","OnChangeSystemVolume", String.valueOf(volume));
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/AndroidProject/systemvolumeplugin/src/test/java/com/hiyorin/systemvolumeplugin/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.hiyorin.systemvolumeplugin;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * @see Testing documentation
11 | */
12 | public class ExampleUnitTest {
13 | @Test
14 | public void addition_isCorrect() {
15 | assertEquals(4, 2 + 2);
16 | }
17 | }
--------------------------------------------------------------------------------
/Assets/Editor.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 307e72a2ec6c0422fb36d1123c616ac7
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/Editor/ExportPackage.cs:
--------------------------------------------------------------------------------
1 | using System.IO;
2 | using UnityEngine;
3 | using UnityEditor;
4 |
5 | public class ExportPackage
6 | {
7 | private readonly static string[] Paths = {
8 | "Assets/Plugins/SystemVolumePlugin",
9 | };
10 |
11 | private const string ReadMe = "README.md";
12 | private const string License = "LICENSE";
13 |
14 | [MenuItem("Assets/Export SystemVolumePlugin")]
15 | private static void Export()
16 | {
17 | string readmePath = Path.Combine(Application.dataPath, "Plugins/SystemVolumePlugin", ReadMe);
18 | string licensePath = Path.Combine(Application.dataPath, "Plugins/SystemVolumePlugin", License);
19 | File.Copy(Path.Combine(Application.dataPath, "..", ReadMe), readmePath);
20 | File.Copy(Path.Combine(Application.dataPath, "..", License), licensePath);
21 | AssetDatabase.Refresh();
22 |
23 | AssetDatabase.ExportPackage(Paths, "SystemVolumePlugin-for-Unity.unitypackage", ExportPackageOptions.Recurse);
24 | Debug.Log("Export complete!");
25 |
26 | File.Delete(readmePath);
27 | File.Delete(licensePath);
28 | File.Delete(readmePath + ".meta");
29 | File.Delete(licensePath + ".meta");
30 | AssetDatabase.Refresh();
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/Assets/Editor/ExportPackage.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 1ab8e9930834a4da0a4979fa4a4ac472
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/Plugins.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f2240eaa7c96943c0902a25e5a6c41fe
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/Plugins/SystemVolumePlugin.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f377562fb13f641da9c4eaaec131a320
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/Plugins/SystemVolumePlugin/Examples.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: cd8b49994dd584f03b79e49c12459592
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/Plugins/SystemVolumePlugin/Examples/Example.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using UnityEngine.UI;
3 |
4 | namespace SystemVolume.Example
5 | {
6 | public sealed class Example : MonoBehaviour
7 | {
8 | [SerializeField] private Text _currentVoluemText = null;
9 |
10 | private SystemVolumeController _controller;
11 |
12 | private void Start()
13 | {
14 | _controller = new SystemVolumeController();
15 | _controller.OnChangeVolume = volume => {
16 | _currentVoluemText.text = volume.ToString();
17 | };
18 | }
19 |
20 | public void OnClickDownButton()
21 | {
22 | _controller.Volume = Mathf.Clamp01(_controller.Volume - 0.1f);
23 | }
24 |
25 | public void OnClickUpButton()
26 | {
27 | _controller.Volume = Mathf.Clamp01(_controller.Volume + 0.1f);
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/Assets/Plugins/SystemVolumePlugin/Examples/Example.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 00b8ca612f19c48a5880ac2d62726a15
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/Plugins/SystemVolumePlugin/Examples/Example.unity:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!29 &1
4 | OcclusionCullingSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | m_OcclusionBakeSettings:
8 | smallestOccluder: 5
9 | smallestHole: 0.25
10 | backfaceThreshold: 100
11 | m_SceneGUID: 00000000000000000000000000000000
12 | m_OcclusionCullingData: {fileID: 0}
13 | --- !u!104 &2
14 | RenderSettings:
15 | m_ObjectHideFlags: 0
16 | serializedVersion: 9
17 | m_Fog: 0
18 | m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
19 | m_FogMode: 3
20 | m_FogDensity: 0.01
21 | m_LinearFogStart: 0
22 | m_LinearFogEnd: 300
23 | m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
24 | m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
25 | m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
26 | m_AmbientIntensity: 1
27 | m_AmbientMode: 0
28 | m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
29 | m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0}
30 | m_HaloStrength: 0.5
31 | m_FlareStrength: 1
32 | m_FlareFadeSpeed: 3
33 | m_HaloTexture: {fileID: 0}
34 | m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
35 | m_DefaultReflectionMode: 0
36 | m_DefaultReflectionResolution: 128
37 | m_ReflectionBounces: 1
38 | m_ReflectionIntensity: 1
39 | m_CustomReflection: {fileID: 0}
40 | m_Sun: {fileID: 0}
41 | m_IndirectSpecularColor: {r: 0.4465785, g: 0.49641252, b: 0.574817, a: 1}
42 | m_UseRadianceAmbientProbe: 0
43 | --- !u!157 &3
44 | LightmapSettings:
45 | m_ObjectHideFlags: 0
46 | serializedVersion: 11
47 | m_GIWorkflowMode: 0
48 | m_GISettings:
49 | serializedVersion: 2
50 | m_BounceScale: 1
51 | m_IndirectOutputScale: 1
52 | m_AlbedoBoost: 1
53 | m_TemporalCoherenceThreshold: 1
54 | m_EnvironmentLightingMode: 0
55 | m_EnableBakedLightmaps: 1
56 | m_EnableRealtimeLightmaps: 1
57 | m_LightmapEditorSettings:
58 | serializedVersion: 10
59 | m_Resolution: 2
60 | m_BakeResolution: 40
61 | m_AtlasSize: 1024
62 | m_AO: 0
63 | m_AOMaxDistance: 1
64 | m_CompAOExponent: 1
65 | m_CompAOExponentDirect: 0
66 | m_Padding: 2
67 | m_LightmapParameters: {fileID: 0}
68 | m_LightmapsBakeMode: 1
69 | m_TextureCompression: 1
70 | m_FinalGather: 0
71 | m_FinalGatherFiltering: 1
72 | m_FinalGatherRayCount: 256
73 | m_ReflectionCompression: 2
74 | m_MixedBakeMode: 2
75 | m_BakeBackend: 1
76 | m_PVRSampling: 1
77 | m_PVRDirectSampleCount: 32
78 | m_PVRSampleCount: 500
79 | m_PVRBounces: 2
80 | m_PVRFilterTypeDirect: 0
81 | m_PVRFilterTypeIndirect: 0
82 | m_PVRFilterTypeAO: 0
83 | m_PVRFilteringMode: 1
84 | m_PVRCulling: 1
85 | m_PVRFilteringGaussRadiusDirect: 1
86 | m_PVRFilteringGaussRadiusIndirect: 5
87 | m_PVRFilteringGaussRadiusAO: 2
88 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5
89 | m_PVRFilteringAtrousPositionSigmaIndirect: 2
90 | m_PVRFilteringAtrousPositionSigmaAO: 1
91 | m_ShowResolutionOverlay: 1
92 | m_LightingDataAsset: {fileID: 0}
93 | m_UseShadowmask: 1
94 | --- !u!196 &4
95 | NavMeshSettings:
96 | serializedVersion: 2
97 | m_ObjectHideFlags: 0
98 | m_BuildSettings:
99 | serializedVersion: 2
100 | agentTypeID: 0
101 | agentRadius: 0.5
102 | agentHeight: 2
103 | agentSlope: 45
104 | agentClimb: 0.4
105 | ledgeDropHeight: 0
106 | maxJumpAcrossDistance: 0
107 | minRegionArea: 2
108 | manualCellSize: 0
109 | cellSize: 0.16666667
110 | manualTileSize: 0
111 | tileSize: 256
112 | accuratePlacement: 0
113 | debug:
114 | m_Flags: 0
115 | m_NavMeshData: {fileID: 0}
116 | --- !u!1 &118616726
117 | GameObject:
118 | m_ObjectHideFlags: 0
119 | m_CorrespondingSourceObject: {fileID: 0}
120 | m_PrefabInternal: {fileID: 0}
121 | serializedVersion: 6
122 | m_Component:
123 | - component: {fileID: 118616727}
124 | - component: {fileID: 118616729}
125 | - component: {fileID: 118616728}
126 | m_Layer: 5
127 | m_Name: Text
128 | m_TagString: Untagged
129 | m_Icon: {fileID: 0}
130 | m_NavMeshLayer: 0
131 | m_StaticEditorFlags: 0
132 | m_IsActive: 1
133 | --- !u!224 &118616727
134 | RectTransform:
135 | m_ObjectHideFlags: 0
136 | m_CorrespondingSourceObject: {fileID: 0}
137 | m_PrefabInternal: {fileID: 0}
138 | m_GameObject: {fileID: 118616726}
139 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
140 | m_LocalPosition: {x: 0, y: 0, z: 0}
141 | m_LocalScale: {x: 1, y: 1, z: 1}
142 | m_Children: []
143 | m_Father: {fileID: 1467462229}
144 | m_RootOrder: 0
145 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
146 | m_AnchorMin: {x: 0, y: 0}
147 | m_AnchorMax: {x: 1, y: 1}
148 | m_AnchoredPosition: {x: 0, y: 0}
149 | m_SizeDelta: {x: 0, y: 0}
150 | m_Pivot: {x: 0.5, y: 0.5}
151 | --- !u!114 &118616728
152 | MonoBehaviour:
153 | m_ObjectHideFlags: 0
154 | m_CorrespondingSourceObject: {fileID: 0}
155 | m_PrefabInternal: {fileID: 0}
156 | m_GameObject: {fileID: 118616726}
157 | m_Enabled: 1
158 | m_EditorHideFlags: 0
159 | m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3}
160 | m_Name:
161 | m_EditorClassIdentifier:
162 | m_Material: {fileID: 0}
163 | m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
164 | m_RaycastTarget: 1
165 | m_OnCullStateChanged:
166 | m_PersistentCalls:
167 | m_Calls: []
168 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
169 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
170 | m_FontData:
171 | m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
172 | m_FontSize: 64
173 | m_FontStyle: 0
174 | m_BestFit: 0
175 | m_MinSize: 6
176 | m_MaxSize: 64
177 | m_Alignment: 4
178 | m_AlignByGeometry: 0
179 | m_RichText: 1
180 | m_HorizontalOverflow: 0
181 | m_VerticalOverflow: 0
182 | m_LineSpacing: 1
183 | m_Text: Up
184 | --- !u!222 &118616729
185 | CanvasRenderer:
186 | m_ObjectHideFlags: 0
187 | m_CorrespondingSourceObject: {fileID: 0}
188 | m_PrefabInternal: {fileID: 0}
189 | m_GameObject: {fileID: 118616726}
190 | m_CullTransparentMesh: 0
191 | --- !u!1 &123220994
192 | GameObject:
193 | m_ObjectHideFlags: 0
194 | m_CorrespondingSourceObject: {fileID: 0}
195 | m_PrefabInternal: {fileID: 0}
196 | serializedVersion: 6
197 | m_Component:
198 | - component: {fileID: 123220995}
199 | - component: {fileID: 123220998}
200 | - component: {fileID: 123220997}
201 | - component: {fileID: 123220996}
202 | m_Layer: 5
203 | m_Name: Button - Down
204 | m_TagString: Untagged
205 | m_Icon: {fileID: 0}
206 | m_NavMeshLayer: 0
207 | m_StaticEditorFlags: 0
208 | m_IsActive: 1
209 | --- !u!224 &123220995
210 | RectTransform:
211 | m_ObjectHideFlags: 0
212 | m_CorrespondingSourceObject: {fileID: 0}
213 | m_PrefabInternal: {fileID: 0}
214 | m_GameObject: {fileID: 123220994}
215 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
216 | m_LocalPosition: {x: 0, y: 0, z: 0}
217 | m_LocalScale: {x: 1, y: 1, z: 1}
218 | m_Children:
219 | - {fileID: 265679405}
220 | m_Father: {fileID: 1834468272}
221 | m_RootOrder: 0
222 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
223 | m_AnchorMin: {x: 0, y: 1}
224 | m_AnchorMax: {x: 0, y: 1}
225 | m_AnchoredPosition: {x: 212, y: 0}
226 | m_SizeDelta: {x: 320, y: 128}
227 | m_Pivot: {x: 0.5, y: 0.5}
228 | --- !u!114 &123220996
229 | MonoBehaviour:
230 | m_ObjectHideFlags: 0
231 | m_CorrespondingSourceObject: {fileID: 0}
232 | m_PrefabInternal: {fileID: 0}
233 | m_GameObject: {fileID: 123220994}
234 | m_Enabled: 1
235 | m_EditorHideFlags: 0
236 | m_Script: {fileID: 1392445389, guid: f70555f144d8491a825f0804e09c671c, type: 3}
237 | m_Name:
238 | m_EditorClassIdentifier:
239 | m_Navigation:
240 | m_Mode: 3
241 | m_SelectOnUp: {fileID: 0}
242 | m_SelectOnDown: {fileID: 0}
243 | m_SelectOnLeft: {fileID: 0}
244 | m_SelectOnRight: {fileID: 0}
245 | m_Transition: 1
246 | m_Colors:
247 | m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
248 | m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
249 | m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
250 | m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
251 | m_ColorMultiplier: 1
252 | m_FadeDuration: 0.1
253 | m_SpriteState:
254 | m_HighlightedSprite: {fileID: 0}
255 | m_PressedSprite: {fileID: 0}
256 | m_DisabledSprite: {fileID: 0}
257 | m_AnimationTriggers:
258 | m_NormalTrigger: Normal
259 | m_HighlightedTrigger: Highlighted
260 | m_PressedTrigger: Pressed
261 | m_DisabledTrigger: Disabled
262 | m_Interactable: 1
263 | m_TargetGraphic: {fileID: 123220997}
264 | m_OnClick:
265 | m_PersistentCalls:
266 | m_Calls:
267 | - m_Target: {fileID: 1719713293}
268 | m_MethodName: OnClickDownButton
269 | m_Mode: 1
270 | m_Arguments:
271 | m_ObjectArgument: {fileID: 0}
272 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
273 | m_IntArgument: 0
274 | m_FloatArgument: 0
275 | m_StringArgument:
276 | m_BoolArgument: 0
277 | m_CallState: 2
278 | m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0,
279 | Culture=neutral, PublicKeyToken=null
280 | --- !u!114 &123220997
281 | MonoBehaviour:
282 | m_ObjectHideFlags: 0
283 | m_CorrespondingSourceObject: {fileID: 0}
284 | m_PrefabInternal: {fileID: 0}
285 | m_GameObject: {fileID: 123220994}
286 | m_Enabled: 1
287 | m_EditorHideFlags: 0
288 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3}
289 | m_Name:
290 | m_EditorClassIdentifier:
291 | m_Material: {fileID: 0}
292 | m_Color: {r: 1, g: 1, b: 1, a: 1}
293 | m_RaycastTarget: 1
294 | m_OnCullStateChanged:
295 | m_PersistentCalls:
296 | m_Calls: []
297 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
298 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
299 | m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
300 | m_Type: 1
301 | m_PreserveAspect: 0
302 | m_FillCenter: 1
303 | m_FillMethod: 4
304 | m_FillAmount: 1
305 | m_FillClockwise: 1
306 | m_FillOrigin: 0
307 | --- !u!222 &123220998
308 | CanvasRenderer:
309 | m_ObjectHideFlags: 0
310 | m_CorrespondingSourceObject: {fileID: 0}
311 | m_PrefabInternal: {fileID: 0}
312 | m_GameObject: {fileID: 123220994}
313 | m_CullTransparentMesh: 0
314 | --- !u!1 &145802315
315 | GameObject:
316 | m_ObjectHideFlags: 0
317 | m_CorrespondingSourceObject: {fileID: 0}
318 | m_PrefabInternal: {fileID: 0}
319 | serializedVersion: 6
320 | m_Component:
321 | - component: {fileID: 145802318}
322 | - component: {fileID: 145802317}
323 | - component: {fileID: 145802316}
324 | m_Layer: 0
325 | m_Name: Main Camera
326 | m_TagString: MainCamera
327 | m_Icon: {fileID: 0}
328 | m_NavMeshLayer: 0
329 | m_StaticEditorFlags: 0
330 | m_IsActive: 1
331 | --- !u!81 &145802316
332 | AudioListener:
333 | m_ObjectHideFlags: 0
334 | m_CorrespondingSourceObject: {fileID: 0}
335 | m_PrefabInternal: {fileID: 0}
336 | m_GameObject: {fileID: 145802315}
337 | m_Enabled: 1
338 | --- !u!20 &145802317
339 | Camera:
340 | m_ObjectHideFlags: 0
341 | m_CorrespondingSourceObject: {fileID: 0}
342 | m_PrefabInternal: {fileID: 0}
343 | m_GameObject: {fileID: 145802315}
344 | m_Enabled: 1
345 | serializedVersion: 2
346 | m_ClearFlags: 1
347 | m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
348 | m_projectionMatrixMode: 1
349 | m_SensorSize: {x: 36, y: 24}
350 | m_LensShift: {x: 0, y: 0}
351 | m_FocalLength: 50
352 | m_NormalizedViewPortRect:
353 | serializedVersion: 2
354 | x: 0
355 | y: 0
356 | width: 1
357 | height: 1
358 | near clip plane: 0.3
359 | far clip plane: 1000
360 | field of view: 60
361 | orthographic: 0
362 | orthographic size: 5
363 | m_Depth: -1
364 | m_CullingMask:
365 | serializedVersion: 2
366 | m_Bits: 4294967295
367 | m_RenderingPath: -1
368 | m_TargetTexture: {fileID: 0}
369 | m_TargetDisplay: 0
370 | m_TargetEye: 3
371 | m_HDR: 1
372 | m_AllowMSAA: 1
373 | m_AllowDynamicResolution: 0
374 | m_ForceIntoRT: 0
375 | m_OcclusionCulling: 1
376 | m_StereoConvergence: 10
377 | m_StereoSeparation: 0.022
378 | --- !u!4 &145802318
379 | Transform:
380 | m_ObjectHideFlags: 0
381 | m_CorrespondingSourceObject: {fileID: 0}
382 | m_PrefabInternal: {fileID: 0}
383 | m_GameObject: {fileID: 145802315}
384 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
385 | m_LocalPosition: {x: 0, y: 1, z: -10}
386 | m_LocalScale: {x: 1, y: 1, z: 1}
387 | m_Children: []
388 | m_Father: {fileID: 0}
389 | m_RootOrder: 0
390 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
391 | --- !u!1 &265679404
392 | GameObject:
393 | m_ObjectHideFlags: 0
394 | m_CorrespondingSourceObject: {fileID: 0}
395 | m_PrefabInternal: {fileID: 0}
396 | serializedVersion: 6
397 | m_Component:
398 | - component: {fileID: 265679405}
399 | - component: {fileID: 265679407}
400 | - component: {fileID: 265679406}
401 | m_Layer: 5
402 | m_Name: Text
403 | m_TagString: Untagged
404 | m_Icon: {fileID: 0}
405 | m_NavMeshLayer: 0
406 | m_StaticEditorFlags: 0
407 | m_IsActive: 1
408 | --- !u!224 &265679405
409 | RectTransform:
410 | m_ObjectHideFlags: 0
411 | m_CorrespondingSourceObject: {fileID: 0}
412 | m_PrefabInternal: {fileID: 0}
413 | m_GameObject: {fileID: 265679404}
414 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
415 | m_LocalPosition: {x: 0, y: 0, z: 0}
416 | m_LocalScale: {x: 1, y: 1, z: 1}
417 | m_Children: []
418 | m_Father: {fileID: 123220995}
419 | m_RootOrder: 0
420 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
421 | m_AnchorMin: {x: 0, y: 0}
422 | m_AnchorMax: {x: 1, y: 1}
423 | m_AnchoredPosition: {x: 0, y: 0}
424 | m_SizeDelta: {x: 0, y: 0}
425 | m_Pivot: {x: 0.5, y: 0.5}
426 | --- !u!114 &265679406
427 | MonoBehaviour:
428 | m_ObjectHideFlags: 0
429 | m_CorrespondingSourceObject: {fileID: 0}
430 | m_PrefabInternal: {fileID: 0}
431 | m_GameObject: {fileID: 265679404}
432 | m_Enabled: 1
433 | m_EditorHideFlags: 0
434 | m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3}
435 | m_Name:
436 | m_EditorClassIdentifier:
437 | m_Material: {fileID: 0}
438 | m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
439 | m_RaycastTarget: 1
440 | m_OnCullStateChanged:
441 | m_PersistentCalls:
442 | m_Calls: []
443 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
444 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
445 | m_FontData:
446 | m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
447 | m_FontSize: 64
448 | m_FontStyle: 0
449 | m_BestFit: 0
450 | m_MinSize: 6
451 | m_MaxSize: 64
452 | m_Alignment: 4
453 | m_AlignByGeometry: 0
454 | m_RichText: 1
455 | m_HorizontalOverflow: 0
456 | m_VerticalOverflow: 0
457 | m_LineSpacing: 1
458 | m_Text: Down
459 | --- !u!222 &265679407
460 | CanvasRenderer:
461 | m_ObjectHideFlags: 0
462 | m_CorrespondingSourceObject: {fileID: 0}
463 | m_PrefabInternal: {fileID: 0}
464 | m_GameObject: {fileID: 265679404}
465 | m_CullTransparentMesh: 0
466 | --- !u!1 &582478816
467 | GameObject:
468 | m_ObjectHideFlags: 0
469 | m_CorrespondingSourceObject: {fileID: 0}
470 | m_PrefabInternal: {fileID: 0}
471 | serializedVersion: 6
472 | m_Component:
473 | - component: {fileID: 582478818}
474 | - component: {fileID: 582478817}
475 | m_Layer: 0
476 | m_Name: Directional Light
477 | m_TagString: Untagged
478 | m_Icon: {fileID: 0}
479 | m_NavMeshLayer: 0
480 | m_StaticEditorFlags: 0
481 | m_IsActive: 1
482 | --- !u!108 &582478817
483 | Light:
484 | m_ObjectHideFlags: 0
485 | m_CorrespondingSourceObject: {fileID: 0}
486 | m_PrefabInternal: {fileID: 0}
487 | m_GameObject: {fileID: 582478816}
488 | m_Enabled: 1
489 | serializedVersion: 8
490 | m_Type: 1
491 | m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1}
492 | m_Intensity: 1
493 | m_Range: 10
494 | m_SpotAngle: 30
495 | m_CookieSize: 10
496 | m_Shadows:
497 | m_Type: 2
498 | m_Resolution: -1
499 | m_CustomResolution: -1
500 | m_Strength: 1
501 | m_Bias: 0.05
502 | m_NormalBias: 0.4
503 | m_NearPlane: 0.2
504 | m_Cookie: {fileID: 0}
505 | m_DrawHalo: 0
506 | m_Flare: {fileID: 0}
507 | m_RenderMode: 0
508 | m_CullingMask:
509 | serializedVersion: 2
510 | m_Bits: 4294967295
511 | m_Lightmapping: 4
512 | m_LightShadowCasterMode: 0
513 | m_AreaSize: {x: 1, y: 1}
514 | m_BounceIntensity: 1
515 | m_ColorTemperature: 6570
516 | m_UseColorTemperature: 0
517 | m_ShadowRadius: 0
518 | m_ShadowAngle: 0
519 | --- !u!4 &582478818
520 | Transform:
521 | m_ObjectHideFlags: 0
522 | m_CorrespondingSourceObject: {fileID: 0}
523 | m_PrefabInternal: {fileID: 0}
524 | m_GameObject: {fileID: 582478816}
525 | m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
526 | m_LocalPosition: {x: 0, y: 3, z: 0}
527 | m_LocalScale: {x: 1, y: 1, z: 1}
528 | m_Children: []
529 | m_Father: {fileID: 0}
530 | m_RootOrder: 1
531 | m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
532 | --- !u!1 &1467462228
533 | GameObject:
534 | m_ObjectHideFlags: 0
535 | m_CorrespondingSourceObject: {fileID: 0}
536 | m_PrefabInternal: {fileID: 0}
537 | serializedVersion: 6
538 | m_Component:
539 | - component: {fileID: 1467462229}
540 | - component: {fileID: 1467462232}
541 | - component: {fileID: 1467462231}
542 | - component: {fileID: 1467462230}
543 | m_Layer: 5
544 | m_Name: Button - Up
545 | m_TagString: Untagged
546 | m_Icon: {fileID: 0}
547 | m_NavMeshLayer: 0
548 | m_StaticEditorFlags: 0
549 | m_IsActive: 1
550 | --- !u!224 &1467462229
551 | RectTransform:
552 | m_ObjectHideFlags: 0
553 | m_CorrespondingSourceObject: {fileID: 0}
554 | m_PrefabInternal: {fileID: 0}
555 | m_GameObject: {fileID: 1467462228}
556 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
557 | m_LocalPosition: {x: 0, y: 0, z: 0}
558 | m_LocalScale: {x: 1, y: 1, z: 1}
559 | m_Children:
560 | - {fileID: 118616727}
561 | m_Father: {fileID: 1834468272}
562 | m_RootOrder: 2
563 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
564 | m_AnchorMin: {x: 0, y: 1}
565 | m_AnchorMax: {x: 0, y: 1}
566 | m_AnchoredPosition: {x: 868, y: 0}
567 | m_SizeDelta: {x: 320, y: 128}
568 | m_Pivot: {x: 0.5, y: 0.5}
569 | --- !u!114 &1467462230
570 | MonoBehaviour:
571 | m_ObjectHideFlags: 0
572 | m_CorrespondingSourceObject: {fileID: 0}
573 | m_PrefabInternal: {fileID: 0}
574 | m_GameObject: {fileID: 1467462228}
575 | m_Enabled: 1
576 | m_EditorHideFlags: 0
577 | m_Script: {fileID: 1392445389, guid: f70555f144d8491a825f0804e09c671c, type: 3}
578 | m_Name:
579 | m_EditorClassIdentifier:
580 | m_Navigation:
581 | m_Mode: 3
582 | m_SelectOnUp: {fileID: 0}
583 | m_SelectOnDown: {fileID: 0}
584 | m_SelectOnLeft: {fileID: 0}
585 | m_SelectOnRight: {fileID: 0}
586 | m_Transition: 1
587 | m_Colors:
588 | m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
589 | m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
590 | m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
591 | m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
592 | m_ColorMultiplier: 1
593 | m_FadeDuration: 0.1
594 | m_SpriteState:
595 | m_HighlightedSprite: {fileID: 0}
596 | m_PressedSprite: {fileID: 0}
597 | m_DisabledSprite: {fileID: 0}
598 | m_AnimationTriggers:
599 | m_NormalTrigger: Normal
600 | m_HighlightedTrigger: Highlighted
601 | m_PressedTrigger: Pressed
602 | m_DisabledTrigger: Disabled
603 | m_Interactable: 1
604 | m_TargetGraphic: {fileID: 1467462231}
605 | m_OnClick:
606 | m_PersistentCalls:
607 | m_Calls:
608 | - m_Target: {fileID: 1719713293}
609 | m_MethodName: OnClickUpButton
610 | m_Mode: 1
611 | m_Arguments:
612 | m_ObjectArgument: {fileID: 0}
613 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
614 | m_IntArgument: 0
615 | m_FloatArgument: 0
616 | m_StringArgument:
617 | m_BoolArgument: 0
618 | m_CallState: 2
619 | m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0,
620 | Culture=neutral, PublicKeyToken=null
621 | --- !u!114 &1467462231
622 | MonoBehaviour:
623 | m_ObjectHideFlags: 0
624 | m_CorrespondingSourceObject: {fileID: 0}
625 | m_PrefabInternal: {fileID: 0}
626 | m_GameObject: {fileID: 1467462228}
627 | m_Enabled: 1
628 | m_EditorHideFlags: 0
629 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3}
630 | m_Name:
631 | m_EditorClassIdentifier:
632 | m_Material: {fileID: 0}
633 | m_Color: {r: 1, g: 1, b: 1, a: 1}
634 | m_RaycastTarget: 1
635 | m_OnCullStateChanged:
636 | m_PersistentCalls:
637 | m_Calls: []
638 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
639 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
640 | m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
641 | m_Type: 1
642 | m_PreserveAspect: 0
643 | m_FillCenter: 1
644 | m_FillMethod: 4
645 | m_FillAmount: 1
646 | m_FillClockwise: 1
647 | m_FillOrigin: 0
648 | --- !u!222 &1467462232
649 | CanvasRenderer:
650 | m_ObjectHideFlags: 0
651 | m_CorrespondingSourceObject: {fileID: 0}
652 | m_PrefabInternal: {fileID: 0}
653 | m_GameObject: {fileID: 1467462228}
654 | m_CullTransparentMesh: 0
655 | --- !u!1 &1511410380
656 | GameObject:
657 | m_ObjectHideFlags: 0
658 | m_CorrespondingSourceObject: {fileID: 0}
659 | m_PrefabInternal: {fileID: 0}
660 | serializedVersion: 6
661 | m_Component:
662 | - component: {fileID: 1511410384}
663 | - component: {fileID: 1511410383}
664 | - component: {fileID: 1511410382}
665 | - component: {fileID: 1511410381}
666 | m_Layer: 5
667 | m_Name: Canvas
668 | m_TagString: Untagged
669 | m_Icon: {fileID: 0}
670 | m_NavMeshLayer: 0
671 | m_StaticEditorFlags: 0
672 | m_IsActive: 1
673 | --- !u!114 &1511410381
674 | MonoBehaviour:
675 | m_ObjectHideFlags: 0
676 | m_CorrespondingSourceObject: {fileID: 0}
677 | m_PrefabInternal: {fileID: 0}
678 | m_GameObject: {fileID: 1511410380}
679 | m_Enabled: 1
680 | m_EditorHideFlags: 0
681 | m_Script: {fileID: 1301386320, guid: f70555f144d8491a825f0804e09c671c, type: 3}
682 | m_Name:
683 | m_EditorClassIdentifier:
684 | m_IgnoreReversedGraphics: 1
685 | m_BlockingObjects: 0
686 | m_BlockingMask:
687 | serializedVersion: 2
688 | m_Bits: 4294967295
689 | --- !u!114 &1511410382
690 | MonoBehaviour:
691 | m_ObjectHideFlags: 0
692 | m_CorrespondingSourceObject: {fileID: 0}
693 | m_PrefabInternal: {fileID: 0}
694 | m_GameObject: {fileID: 1511410380}
695 | m_Enabled: 1
696 | m_EditorHideFlags: 0
697 | m_Script: {fileID: 1980459831, guid: f70555f144d8491a825f0804e09c671c, type: 3}
698 | m_Name:
699 | m_EditorClassIdentifier:
700 | m_UiScaleMode: 1
701 | m_ReferencePixelsPerUnit: 100
702 | m_ScaleFactor: 1
703 | m_ReferenceResolution: {x: 1080, y: 1920}
704 | m_ScreenMatchMode: 0
705 | m_MatchWidthOrHeight: 0
706 | m_PhysicalUnit: 3
707 | m_FallbackScreenDPI: 96
708 | m_DefaultSpriteDPI: 96
709 | m_DynamicPixelsPerUnit: 1
710 | --- !u!223 &1511410383
711 | Canvas:
712 | m_ObjectHideFlags: 0
713 | m_CorrespondingSourceObject: {fileID: 0}
714 | m_PrefabInternal: {fileID: 0}
715 | m_GameObject: {fileID: 1511410380}
716 | m_Enabled: 1
717 | serializedVersion: 3
718 | m_RenderMode: 0
719 | m_Camera: {fileID: 0}
720 | m_PlaneDistance: 100
721 | m_PixelPerfect: 0
722 | m_ReceivesEvents: 1
723 | m_OverrideSorting: 0
724 | m_OverridePixelPerfect: 0
725 | m_SortingBucketNormalizedSize: 0
726 | m_AdditionalShaderChannelsFlag: 0
727 | m_SortingLayerID: 0
728 | m_SortingOrder: 0
729 | m_TargetDisplay: 0
730 | --- !u!224 &1511410384
731 | RectTransform:
732 | m_ObjectHideFlags: 0
733 | m_CorrespondingSourceObject: {fileID: 0}
734 | m_PrefabInternal: {fileID: 0}
735 | m_GameObject: {fileID: 1511410380}
736 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
737 | m_LocalPosition: {x: 0, y: 0, z: 0}
738 | m_LocalScale: {x: 0, y: 0, z: 0}
739 | m_Children:
740 | - {fileID: 1834468272}
741 | m_Father: {fileID: 0}
742 | m_RootOrder: 3
743 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
744 | m_AnchorMin: {x: 0, y: 0}
745 | m_AnchorMax: {x: 0, y: 0}
746 | m_AnchoredPosition: {x: 0, y: 0}
747 | m_SizeDelta: {x: 0, y: 0}
748 | m_Pivot: {x: 0, y: 0}
749 | --- !u!1 &1649040921
750 | GameObject:
751 | m_ObjectHideFlags: 0
752 | m_CorrespondingSourceObject: {fileID: 0}
753 | m_PrefabInternal: {fileID: 0}
754 | serializedVersion: 6
755 | m_Component:
756 | - component: {fileID: 1649040924}
757 | - component: {fileID: 1649040923}
758 | - component: {fileID: 1649040922}
759 | m_Layer: 0
760 | m_Name: EventSystem
761 | m_TagString: Untagged
762 | m_Icon: {fileID: 0}
763 | m_NavMeshLayer: 0
764 | m_StaticEditorFlags: 0
765 | m_IsActive: 1
766 | --- !u!114 &1649040922
767 | MonoBehaviour:
768 | m_ObjectHideFlags: 0
769 | m_CorrespondingSourceObject: {fileID: 0}
770 | m_PrefabInternal: {fileID: 0}
771 | m_GameObject: {fileID: 1649040921}
772 | m_Enabled: 1
773 | m_EditorHideFlags: 0
774 | m_Script: {fileID: 1077351063, guid: f70555f144d8491a825f0804e09c671c, type: 3}
775 | m_Name:
776 | m_EditorClassIdentifier:
777 | m_HorizontalAxis: Horizontal
778 | m_VerticalAxis: Vertical
779 | m_SubmitButton: Submit
780 | m_CancelButton: Cancel
781 | m_InputActionsPerSecond: 10
782 | m_RepeatDelay: 0.5
783 | m_ForceModuleActive: 0
784 | --- !u!114 &1649040923
785 | MonoBehaviour:
786 | m_ObjectHideFlags: 0
787 | m_CorrespondingSourceObject: {fileID: 0}
788 | m_PrefabInternal: {fileID: 0}
789 | m_GameObject: {fileID: 1649040921}
790 | m_Enabled: 1
791 | m_EditorHideFlags: 0
792 | m_Script: {fileID: -619905303, guid: f70555f144d8491a825f0804e09c671c, type: 3}
793 | m_Name:
794 | m_EditorClassIdentifier:
795 | m_FirstSelected: {fileID: 0}
796 | m_sendNavigationEvents: 1
797 | m_DragThreshold: 10
798 | --- !u!4 &1649040924
799 | Transform:
800 | m_ObjectHideFlags: 0
801 | m_CorrespondingSourceObject: {fileID: 0}
802 | m_PrefabInternal: {fileID: 0}
803 | m_GameObject: {fileID: 1649040921}
804 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
805 | m_LocalPosition: {x: 0, y: 0, z: 0}
806 | m_LocalScale: {x: 1, y: 1, z: 1}
807 | m_Children: []
808 | m_Father: {fileID: 0}
809 | m_RootOrder: 4
810 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
811 | --- !u!1 &1719713292
812 | GameObject:
813 | m_ObjectHideFlags: 0
814 | m_CorrespondingSourceObject: {fileID: 0}
815 | m_PrefabInternal: {fileID: 0}
816 | serializedVersion: 6
817 | m_Component:
818 | - component: {fileID: 1719713294}
819 | - component: {fileID: 1719713293}
820 | m_Layer: 0
821 | m_Name: Example
822 | m_TagString: Untagged
823 | m_Icon: {fileID: 0}
824 | m_NavMeshLayer: 0
825 | m_StaticEditorFlags: 0
826 | m_IsActive: 1
827 | --- !u!114 &1719713293
828 | MonoBehaviour:
829 | m_ObjectHideFlags: 0
830 | m_CorrespondingSourceObject: {fileID: 0}
831 | m_PrefabInternal: {fileID: 0}
832 | m_GameObject: {fileID: 1719713292}
833 | m_Enabled: 1
834 | m_EditorHideFlags: 0
835 | m_Script: {fileID: 11500000, guid: 00b8ca612f19c48a5880ac2d62726a15, type: 3}
836 | m_Name:
837 | m_EditorClassIdentifier:
838 | _currentVoluemText: {fileID: 1744671799}
839 | --- !u!4 &1719713294
840 | Transform:
841 | m_ObjectHideFlags: 0
842 | m_CorrespondingSourceObject: {fileID: 0}
843 | m_PrefabInternal: {fileID: 0}
844 | m_GameObject: {fileID: 1719713292}
845 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
846 | m_LocalPosition: {x: 0, y: 0, z: 0}
847 | m_LocalScale: {x: 1, y: 1, z: 1}
848 | m_Children: []
849 | m_Father: {fileID: 0}
850 | m_RootOrder: 2
851 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
852 | --- !u!1 &1744671797
853 | GameObject:
854 | m_ObjectHideFlags: 0
855 | m_CorrespondingSourceObject: {fileID: 0}
856 | m_PrefabInternal: {fileID: 0}
857 | serializedVersion: 6
858 | m_Component:
859 | - component: {fileID: 1744671798}
860 | - component: {fileID: 1744671800}
861 | - component: {fileID: 1744671799}
862 | m_Layer: 5
863 | m_Name: Text - Current
864 | m_TagString: Untagged
865 | m_Icon: {fileID: 0}
866 | m_NavMeshLayer: 0
867 | m_StaticEditorFlags: 0
868 | m_IsActive: 1
869 | --- !u!224 &1744671798
870 | RectTransform:
871 | m_ObjectHideFlags: 0
872 | m_CorrespondingSourceObject: {fileID: 0}
873 | m_PrefabInternal: {fileID: 0}
874 | m_GameObject: {fileID: 1744671797}
875 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
876 | m_LocalPosition: {x: 0, y: 0, z: 0}
877 | m_LocalScale: {x: 1, y: 1, z: 1}
878 | m_Children: []
879 | m_Father: {fileID: 1834468272}
880 | m_RootOrder: 1
881 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
882 | m_AnchorMin: {x: 0, y: 1}
883 | m_AnchorMax: {x: 0, y: 1}
884 | m_AnchoredPosition: {x: 540, y: 0}
885 | m_SizeDelta: {x: 128, y: 128}
886 | m_Pivot: {x: 0.5, y: 0.5}
887 | --- !u!114 &1744671799
888 | MonoBehaviour:
889 | m_ObjectHideFlags: 0
890 | m_CorrespondingSourceObject: {fileID: 0}
891 | m_PrefabInternal: {fileID: 0}
892 | m_GameObject: {fileID: 1744671797}
893 | m_Enabled: 1
894 | m_EditorHideFlags: 0
895 | m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3}
896 | m_Name:
897 | m_EditorClassIdentifier:
898 | m_Material: {fileID: 0}
899 | m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
900 | m_RaycastTarget: 1
901 | m_OnCullStateChanged:
902 | m_PersistentCalls:
903 | m_Calls: []
904 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
905 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
906 | m_FontData:
907 | m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
908 | m_FontSize: 64
909 | m_FontStyle: 0
910 | m_BestFit: 0
911 | m_MinSize: 6
912 | m_MaxSize: 64
913 | m_Alignment: 4
914 | m_AlignByGeometry: 0
915 | m_RichText: 1
916 | m_HorizontalOverflow: 0
917 | m_VerticalOverflow: 0
918 | m_LineSpacing: 1
919 | m_Text: 1
920 | --- !u!222 &1744671800
921 | CanvasRenderer:
922 | m_ObjectHideFlags: 0
923 | m_CorrespondingSourceObject: {fileID: 0}
924 | m_PrefabInternal: {fileID: 0}
925 | m_GameObject: {fileID: 1744671797}
926 | m_CullTransparentMesh: 0
927 | --- !u!1 &1834468271
928 | GameObject:
929 | m_ObjectHideFlags: 0
930 | m_CorrespondingSourceObject: {fileID: 0}
931 | m_PrefabInternal: {fileID: 0}
932 | serializedVersion: 6
933 | m_Component:
934 | - component: {fileID: 1834468272}
935 | - component: {fileID: 1834468273}
936 | m_Layer: 5
937 | m_Name: Container - Buttons
938 | m_TagString: Untagged
939 | m_Icon: {fileID: 0}
940 | m_NavMeshLayer: 0
941 | m_StaticEditorFlags: 0
942 | m_IsActive: 1
943 | --- !u!224 &1834468272
944 | RectTransform:
945 | m_ObjectHideFlags: 0
946 | m_CorrespondingSourceObject: {fileID: 0}
947 | m_PrefabInternal: {fileID: 0}
948 | m_GameObject: {fileID: 1834468271}
949 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
950 | m_LocalPosition: {x: 0, y: 0, z: 0}
951 | m_LocalScale: {x: 1, y: 1, z: 1}
952 | m_Children:
953 | - {fileID: 123220995}
954 | - {fileID: 1744671798}
955 | - {fileID: 1467462229}
956 | m_Father: {fileID: 1511410384}
957 | m_RootOrder: 0
958 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
959 | m_AnchorMin: {x: 0, y: 0.5}
960 | m_AnchorMax: {x: 1, y: 0.5}
961 | m_AnchoredPosition: {x: 0, y: 0}
962 | m_SizeDelta: {x: 0, y: 0}
963 | m_Pivot: {x: 0.5, y: 0.5}
964 | --- !u!114 &1834468273
965 | MonoBehaviour:
966 | m_ObjectHideFlags: 0
967 | m_CorrespondingSourceObject: {fileID: 0}
968 | m_PrefabInternal: {fileID: 0}
969 | m_GameObject: {fileID: 1834468271}
970 | m_Enabled: 1
971 | m_EditorHideFlags: 0
972 | m_Script: {fileID: -405508275, guid: f70555f144d8491a825f0804e09c671c, type: 3}
973 | m_Name:
974 | m_EditorClassIdentifier:
975 | m_Padding:
976 | m_Left: 0
977 | m_Right: 0
978 | m_Top: 0
979 | m_Bottom: 0
980 | m_ChildAlignment: 4
981 | m_Spacing: 0
982 | m_ChildForceExpandWidth: 1
983 | m_ChildForceExpandHeight: 1
984 | m_ChildControlWidth: 0
985 | m_ChildControlHeight: 0
986 |
--------------------------------------------------------------------------------
/Assets/Plugins/SystemVolumePlugin/Examples/Example.unity.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 34750a493c6fb4eb6aea20fb367356a7
3 | DefaultImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Assets/Plugins/SystemVolumePlugin/Plugins.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 38f6b10cde87942acb3a6e85375a3e5b
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/Plugins/SystemVolumePlugin/Plugins/Android.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 5d8226fb506f84e09bb8d5136a61adae
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/Plugins/SystemVolumePlugin/Plugins/Android/systemvolume-lib.aar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiyorin/SystemVolumePlugin-for-Unity/95d3a31ccf183a42526fb7d5e758fd91062a27f0/Assets/Plugins/SystemVolumePlugin/Plugins/Android/systemvolume-lib.aar
--------------------------------------------------------------------------------
/Assets/Plugins/SystemVolumePlugin/Plugins/Android/systemvolume-lib.aar.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 6f1ac8ae4a68c4440ae0fdf054dc56d6
3 | PluginImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | iconMap: {}
7 | executionOrder: {}
8 | isPreloaded: 0
9 | isOverridable: 0
10 | platformData:
11 | - first:
12 | '': Any
13 | second:
14 | enabled: 0
15 | settings:
16 | Exclude Android: 0
17 | Exclude Editor: 1
18 | Exclude Linux: 1
19 | Exclude Linux64: 1
20 | Exclude LinuxUniversal: 1
21 | Exclude OSXUniversal: 1
22 | Exclude Win: 1
23 | Exclude Win64: 1
24 | Exclude iOS: 1
25 | - first:
26 | Android: Android
27 | second:
28 | enabled: 1
29 | settings:
30 | CPU: ARMv7
31 | - first:
32 | Any:
33 | second:
34 | enabled: 0
35 | settings: {}
36 | - first:
37 | Editor: Editor
38 | second:
39 | enabled: 0
40 | settings:
41 | CPU: AnyCPU
42 | DefaultValueInitialized: true
43 | OS: AnyOS
44 | - first:
45 | Facebook: Win
46 | second:
47 | enabled: 0
48 | settings:
49 | CPU: AnyCPU
50 | - first:
51 | Facebook: Win64
52 | second:
53 | enabled: 0
54 | settings:
55 | CPU: AnyCPU
56 | - first:
57 | Standalone: Linux
58 | second:
59 | enabled: 0
60 | settings:
61 | CPU: x86
62 | - first:
63 | Standalone: Linux64
64 | second:
65 | enabled: 0
66 | settings:
67 | CPU: x86_64
68 | - first:
69 | Standalone: OSXUniversal
70 | second:
71 | enabled: 0
72 | settings:
73 | CPU: AnyCPU
74 | - first:
75 | Standalone: Win
76 | second:
77 | enabled: 0
78 | settings:
79 | CPU: AnyCPU
80 | - first:
81 | Standalone: Win64
82 | second:
83 | enabled: 0
84 | settings:
85 | CPU: AnyCPU
86 | - first:
87 | iPhone: iOS
88 | second:
89 | enabled: 0
90 | settings:
91 | AddToEmbeddedBinaries: false
92 | CompileFlags:
93 | FrameworkDependencies:
94 | userData:
95 | assetBundleName:
96 | assetBundleVariant:
97 |
--------------------------------------------------------------------------------
/Assets/Plugins/SystemVolumePlugin/Plugins/iOS.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: a8780e40ed5a948758525f0e92a9a7b8
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/Plugins/SystemVolumePlugin/Plugins/iOS/SystemVolumePlugin.mm:
--------------------------------------------------------------------------------
1 | #import
2 | #import
3 | #include "UnityInterface.h"
4 | #import "SystemVolumeReceiver.h"
5 |
6 | SystemVolumeReceiver* _receiver = nil;
7 |
8 | extern "C" void _InitializeSystemVolume()
9 | {
10 | _receiver = [[SystemVolumeReceiver alloc] init];
11 | }
12 |
13 | extern "C" void _DisposeSystemVolume()
14 | {
15 | if (_receiver != nil) {
16 | [_receiver release];
17 | _receiver = nil;
18 | }
19 | }
20 |
21 | extern "C" void _SetSystemVolume(float volume)
22 | {
23 | [[MPMusicPlayerController applicationMusicPlayer] setVolume:volume];
24 | }
25 |
26 | extern "C" float _GetSystemVolume()
27 | {
28 | return [MPMusicPlayerController applicationMusicPlayer].volume;
29 | }
30 |
--------------------------------------------------------------------------------
/Assets/Plugins/SystemVolumePlugin/Plugins/iOS/SystemVolumePlugin.mm.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ceb5ccd91216a45c2991791c3b9faba2
3 | PluginImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | iconMap: {}
7 | executionOrder: {}
8 | isPreloaded: 0
9 | isOverridable: 0
10 | platformData:
11 | - first:
12 | '': Any
13 | second:
14 | enabled: 0
15 | settings:
16 | Exclude Android: 1
17 | Exclude Editor: 1
18 | Exclude Linux: 1
19 | Exclude Linux64: 1
20 | Exclude LinuxUniversal: 1
21 | Exclude OSXUniversal: 1
22 | Exclude Win: 1
23 | Exclude Win64: 1
24 | Exclude iOS: 0
25 | - first:
26 | Android: Android
27 | second:
28 | enabled: 0
29 | settings:
30 | CPU: ARMv7
31 | - first:
32 | Any:
33 | second:
34 | enabled: 0
35 | settings: {}
36 | - first:
37 | Editor: Editor
38 | second:
39 | enabled: 0
40 | settings:
41 | CPU: AnyCPU
42 | DefaultValueInitialized: true
43 | OS: AnyOS
44 | - first:
45 | Facebook: Win
46 | second:
47 | enabled: 0
48 | settings:
49 | CPU: AnyCPU
50 | - first:
51 | Facebook: Win64
52 | second:
53 | enabled: 0
54 | settings:
55 | CPU: AnyCPU
56 | - first:
57 | Standalone: Linux
58 | second:
59 | enabled: 0
60 | settings:
61 | CPU: x86
62 | - first:
63 | Standalone: Linux64
64 | second:
65 | enabled: 0
66 | settings:
67 | CPU: x86_64
68 | - first:
69 | Standalone: OSXUniversal
70 | second:
71 | enabled: 0
72 | settings:
73 | CPU: AnyCPU
74 | - first:
75 | Standalone: Win
76 | second:
77 | enabled: 0
78 | settings:
79 | CPU: AnyCPU
80 | - first:
81 | Standalone: Win64
82 | second:
83 | enabled: 0
84 | settings:
85 | CPU: AnyCPU
86 | - first:
87 | iPhone: iOS
88 | second:
89 | enabled: 1
90 | settings:
91 | AddToEmbeddedBinaries: false
92 | CompileFlags: -fno-objc-arc
93 | FrameworkDependencies:
94 | - first:
95 | tvOS: tvOS
96 | second:
97 | enabled: 1
98 | settings: {}
99 | userData:
100 | assetBundleName:
101 | assetBundleVariant:
102 |
--------------------------------------------------------------------------------
/Assets/Plugins/SystemVolumePlugin/Plugins/iOS/SystemVolumeReceiver.h:
--------------------------------------------------------------------------------
1 |
2 | @interface SystemVolumeReceiver : NSObject
3 | @end
4 |
--------------------------------------------------------------------------------
/Assets/Plugins/SystemVolumePlugin/Plugins/iOS/SystemVolumeReceiver.h.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 22878d7cced4f48908a5b4d0398901f7
3 | PluginImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | iconMap: {}
7 | executionOrder: {}
8 | isPreloaded: 0
9 | isOverridable: 0
10 | platformData:
11 | - first:
12 | '': Any
13 | second:
14 | enabled: 0
15 | settings:
16 | Exclude Android: 1
17 | Exclude Editor: 1
18 | Exclude Linux: 1
19 | Exclude Linux64: 1
20 | Exclude LinuxUniversal: 1
21 | Exclude OSXUniversal: 1
22 | Exclude Win: 1
23 | Exclude Win64: 1
24 | Exclude iOS: 0
25 | - first:
26 | Android: Android
27 | second:
28 | enabled: 0
29 | settings:
30 | CPU: ARMv7
31 | - first:
32 | Any:
33 | second:
34 | enabled: 0
35 | settings: {}
36 | - first:
37 | Editor: Editor
38 | second:
39 | enabled: 0
40 | settings:
41 | CPU: AnyCPU
42 | DefaultValueInitialized: true
43 | OS: AnyOS
44 | - first:
45 | Facebook: Win
46 | second:
47 | enabled: 0
48 | settings:
49 | CPU: AnyCPU
50 | - first:
51 | Facebook: Win64
52 | second:
53 | enabled: 0
54 | settings:
55 | CPU: AnyCPU
56 | - first:
57 | Standalone: Linux
58 | second:
59 | enabled: 0
60 | settings:
61 | CPU: x86
62 | - first:
63 | Standalone: Linux64
64 | second:
65 | enabled: 0
66 | settings:
67 | CPU: x86_64
68 | - first:
69 | Standalone: LinuxUniversal
70 | second:
71 | enabled: 0
72 | settings:
73 | CPU: None
74 | - first:
75 | Standalone: OSXUniversal
76 | second:
77 | enabled: 0
78 | settings:
79 | CPU: AnyCPU
80 | - first:
81 | Standalone: Win
82 | second:
83 | enabled: 0
84 | settings:
85 | CPU: AnyCPU
86 | - first:
87 | Standalone: Win64
88 | second:
89 | enabled: 0
90 | settings:
91 | CPU: AnyCPU
92 | - first:
93 | iPhone: iOS
94 | second:
95 | enabled: 1
96 | settings:
97 | AddToEmbeddedBinaries: false
98 | CompileFlags:
99 | FrameworkDependencies:
100 | userData:
101 | assetBundleName:
102 | assetBundleVariant:
103 |
--------------------------------------------------------------------------------
/Assets/Plugins/SystemVolumePlugin/Plugins/iOS/SystemVolumeReceiver.m:
--------------------------------------------------------------------------------
1 | #import
2 | #import
3 | #import "SystemVolumeReceiver.h"
4 | #include "UnityInterface.h"
5 |
6 | @implementation SystemVolumeReceiver
7 |
8 | - (id)init
9 | {
10 | [self startTrackingVolumeChanges];
11 | return [super init];
12 | }
13 |
14 | - (void)dealloc
15 | {
16 | [self stopTrackingVolumeChanges];
17 | }
18 |
19 | #pragma mark - Start Tracking Volume Changes
20 |
21 | - (void)startTrackingVolumeChanges
22 | {
23 | [self addObserver];
24 | [self activateAudioSession];
25 | }
26 |
27 | - (void)addObserver
28 | {
29 | [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(volumeChanged:) name:@"AVSystemController_SystemVolumeDidChangeNotification" object:nil];
30 | }
31 |
32 | - (void)activateAudioSession
33 | {
34 | AVAudioSession *audioSession = [AVAudioSession sharedInstance];
35 | [audioSession setCategory:AVAudioSessionCategoryPlayback withOptions:AVAudioSessionCategoryOptionMixWithOthers error:nil];
36 | NSError *error;
37 | BOOL success = [audioSession setActive:YES error:&error];
38 | if (!success) {
39 | NSLog(@"Error activating audiosession: %@", error);
40 | }
41 | }
42 |
43 | #pragma mark - Observing Volume Changes
44 |
45 | - (void)volumeChanged:(NSNotification *)notification
46 | {
47 | NSString* volumeChangeType = notification.userInfo[@"AVSystemController_AudioVolumeChangeReasonNotificationParameter"];
48 |
49 | if ([volumeChangeType isEqualToString:@"ExplicitVolumeChange"]) {
50 | float volume = [notification.userInfo[@"AVSystemController_AudioVolumeNotificationParameter"] floatValue];
51 | NSString* volumeStr = [NSString stringWithFormat:@"%f", volume];
52 | UnitySendMessage("SystemVolumePlugin", "OnChangeSystemVolume", [volumeStr UTF8String]);
53 | }
54 | }
55 |
56 | #pragma mark - Stop Tracking Volume Changes
57 |
58 | - (void)stopTrackingVolumeChanges
59 | {
60 | [self removeObserver];
61 | [self deactivateAudioSession];
62 | }
63 |
64 | - (void)removeObserver
65 | {
66 | [[NSNotificationCenter defaultCenter] removeObserver:self name:@"AVSystemController_SystemVolumeDidChangeNotification" object:nil];
67 | }
68 |
69 | - (void)deactivateAudioSession
70 | {
71 | dispatch_async(dispatch_get_main_queue(), ^{
72 | NSError *error;
73 | BOOL success = [[AVAudioSession sharedInstance] setActive:NO error:&error];
74 | if (!success) {
75 | NSLog(@"Error deactivating audiosession: %@", error);
76 | }
77 | });
78 | }
79 |
80 | @end
81 |
--------------------------------------------------------------------------------
/Assets/Plugins/SystemVolumePlugin/Plugins/iOS/SystemVolumeReceiver.m.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 3b6fe730e41364fe8afacf6c48b09872
3 | PluginImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | iconMap: {}
7 | executionOrder: {}
8 | isPreloaded: 0
9 | isOverridable: 0
10 | platformData:
11 | - first:
12 | Any:
13 | second:
14 | enabled: 0
15 | settings: {}
16 | - first:
17 | Editor: Editor
18 | second:
19 | enabled: 0
20 | settings:
21 | DefaultValueInitialized: true
22 | - first:
23 | iPhone: iOS
24 | second:
25 | enabled: 1
26 | settings: {}
27 | - first:
28 | tvOS: tvOS
29 | second:
30 | enabled: 1
31 | settings: {}
32 | userData:
33 | assetBundleName:
34 | assetBundleVariant:
35 |
--------------------------------------------------------------------------------
/Assets/Plugins/SystemVolumePlugin/Scripts.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 399d9868e53784789a24461f102f38aa
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/Plugins/SystemVolumePlugin/Scripts/Internal.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e39fd64ef7b3949e2bddddc22029b40b
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/Plugins/SystemVolumePlugin/Scripts/Internal/IPlatform.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace SystemVolume.Internal
4 | {
5 | internal interface IPlatform
6 | {
7 | float GetSystemVolume();
8 | void SetSystemVolume(float volume);
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/Assets/Plugins/SystemVolumePlugin/Scripts/Internal/IPlatform.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 17f766a8440f344148e8ca730e9fbd57
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/Plugins/SystemVolumePlugin/Scripts/Internal/SystemVolumeForAndroid.cs:
--------------------------------------------------------------------------------
1 | #if UNITY_ANDROID
2 | using System;
3 | using UnityEngine;
4 |
5 | namespace SystemVolume.Internal
6 | {
7 | internal sealed class SystemVolumeForAndroid : MonoBehaviour, IPlatform
8 | {
9 | float IPlatform.GetSystemVolume()
10 | {
11 | float volume = 1.0f;
12 | using (AndroidJavaClass unityPlayer = new AndroidJavaClass("com.unity3d.player.UnityPlayer"))
13 | using (AndroidJavaObject activity = unityPlayer.GetStatic("currentActivity"))
14 | using (AndroidJavaObject context = activity.Call("getApplicationContext"))
15 | using (AndroidJavaClass contextClass = new AndroidJavaClass("android.content.Context"))
16 | using (AndroidJavaClass audioManagerClass = new AndroidJavaClass("android.media.AudioManager"))
17 | using (AndroidJavaObject audioManager = context.Call("getSystemService", contextClass.GetStatic("AUDIO_SERVICE")))
18 | {
19 | float maxVolume = audioManager.Call("getStreamMaxVolume", audioManagerClass.GetStatic("STREAM_MUSIC"));
20 | float currentVolume = audioManager.Call("getStreamVolume", audioManagerClass.GetStatic("STREAM_MUSIC"));
21 | volume = currentVolume / maxVolume;
22 | }
23 | return volume;
24 | }
25 |
26 | void IPlatform.SetSystemVolume(float volume)
27 | {
28 | using (AndroidJavaClass unityPlayer = new AndroidJavaClass("com.unity3d.player.UnityPlayer"))
29 | using (AndroidJavaObject activity = unityPlayer.GetStatic("currentActivity"))
30 | using (AndroidJavaObject context = activity.Call("getApplicationContext"))
31 | using (AndroidJavaClass contextClass = new AndroidJavaClass("android.content.Context"))
32 | using (AndroidJavaClass audioManagerClass = new AndroidJavaClass("android.media.AudioManager"))
33 | using (AndroidJavaObject audioManager = context.Call("getSystemService", contextClass.GetStatic("AUDIO_SERVICE")))
34 | {
35 | float maxVolume = audioManager.Call("getStreamMaxVolume", audioManagerClass.GetStatic("STREAM_MUSIC"));
36 | int currentVolume = (int)Mathf.Lerp(0.0f, maxVolume, volume);
37 | audioManager.Call("setStreamVolume", audioManagerClass.GetStatic("STREAM_MUSIC"), currentVolume, 0);
38 | }
39 | }
40 | }
41 | }
42 | #endif
43 |
--------------------------------------------------------------------------------
/Assets/Plugins/SystemVolumePlugin/Scripts/Internal/SystemVolumeForAndroid.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 63f81487b17774905a0c34427abdf3ba
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/Plugins/SystemVolumePlugin/Scripts/Internal/SystemVolumeForEditor.cs:
--------------------------------------------------------------------------------
1 | #if UNITY_EDITOR
2 | using System;
3 | using UnityEngine;
4 |
5 | namespace SystemVolume.Internal
6 | {
7 | internal sealed class SystemVolumeForEditor : MonoBehaviour, IPlatform
8 | {
9 | float IPlatform.GetSystemVolume()
10 | {
11 | return 1.0f;
12 | }
13 |
14 | void IPlatform.SetSystemVolume(float volume)
15 | {
16 |
17 | }
18 | }
19 | }
20 | #endif
21 |
--------------------------------------------------------------------------------
/Assets/Plugins/SystemVolumePlugin/Scripts/Internal/SystemVolumeForEditor.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 9a98f7abb9a9942d194c29c294a6381f
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/Plugins/SystemVolumePlugin/Scripts/Internal/SystemVolumeForIOS.cs:
--------------------------------------------------------------------------------
1 | #if UNITY_IOS
2 | using System;
3 | using System.Runtime.InteropServices;
4 | using UnityEngine;
5 |
6 |
7 | namespace SystemVolume.Internal
8 | {
9 | internal sealed class SystemVolumeForIOS : MonoBehaviour, IPlatform
10 | {
11 |
12 | [DllImport("__Internal")]
13 | private static extern void _InitializeSystemVolume();
14 |
15 | [DllImport("__Internal")]
16 | private static extern void _DisposeSystemVolume();
17 |
18 | [DllImport("__Internal")]
19 | private static extern float _GetSystemVolume();
20 |
21 | [DllImport("__Internal")]
22 | private static extern void _SetSystemVolume(float volume);
23 |
24 | private void Awake()
25 | {
26 | _InitializeSystemVolume();
27 | }
28 |
29 | private void OnDestroy()
30 | {
31 | _DisposeSystemVolume();
32 | }
33 |
34 | float IPlatform.GetSystemVolume()
35 | {
36 | return _GetSystemVolume();
37 | }
38 |
39 | void IPlatform.SetSystemVolume(float volume)
40 | {
41 | _SetSystemVolume(volume);
42 | }
43 | }
44 | }
45 | #endif
46 |
--------------------------------------------------------------------------------
/Assets/Plugins/SystemVolumePlugin/Scripts/Internal/SystemVolumeForIOS.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: c2386e134e72643b39aa6010a077dd61
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/Plugins/SystemVolumePlugin/Scripts/Internal/SystemVolumePlugin.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using UnityEngine;
3 |
4 | namespace SystemVolume.Internal
5 | {
6 | internal sealed class SystemVolumePlugin : MonoBehaviour
7 | {
8 | private const string GameObjectName = "SystemVolumePlugin";
9 |
10 | private static SystemVolumePlugin _instance;
11 |
12 | private static bool _isDestroyed = false;
13 |
14 | public static SystemVolumePlugin Instance {
15 | get {
16 | if (!_isDestroyed && _instance == null)
17 | {
18 | _instance = FindObjectOfType();
19 | if (_instance == null)
20 | {
21 | GameObject gameObject = new GameObject(typeof(SystemVolumePlugin).Name);
22 | _instance = gameObject.AddComponent();
23 | _instance.Initialize();
24 | }
25 | }
26 | return _instance;
27 | }
28 | }
29 |
30 | public ChangeSystemVolume OnChangeVolume;
31 |
32 | private IPlatform _platform = null;
33 |
34 | private bool _isInitialized = false;
35 |
36 | private void Awake()
37 | {
38 | if (_instance == null)
39 | _instance = gameObject.GetComponent();
40 | else if (_instance != this)
41 | {
42 | _instance.OnDestroy();
43 | _instance = gameObject.GetComponent();
44 | }
45 |
46 | DontDestroyOnLoad(this);
47 | Initialize();
48 | }
49 |
50 | private void OnDestroy()
51 | {
52 | if (this == _instance)
53 | {
54 | _instance = null;
55 | _isDestroyed = true;
56 | }
57 | Destroy(this);
58 | }
59 |
60 | private void Initialize()
61 | {
62 | if (_isInitialized)
63 | return;
64 | _isInitialized = true;
65 | gameObject.name = GameObjectName;
66 |
67 | _platform =
68 | #if UNITY_EDITOR
69 | gameObject.AddComponent();
70 | #elif UNITY_ANDROID
71 | gameObject.AddComponent();
72 | #elif UNITY_IOS
73 | gameObject.AddComponent();
74 | #else
75 | Debug.unityLogger.LogError(GetType().Name, "This platform is not supported.");
76 | null;
77 | #endif
78 | }
79 |
80 | public float GetSystemVolume()
81 | {
82 | return _platform.GetSystemVolume();
83 | }
84 |
85 | public void SetSystemVolume(float volume)
86 | {
87 | _platform.SetSystemVolume(volume);
88 | }
89 |
90 | ///
91 | /// call back from native
92 | ///
93 | private void OnChangeSystemVolume(string volumeString)
94 | {
95 | float volume = 1.0f;
96 | if (float.TryParse(volumeString, out volume))
97 | {
98 | if (OnChangeVolume != null)
99 | OnChangeVolume.Invoke(volume);
100 | }
101 | }
102 | }
103 | }
104 |
--------------------------------------------------------------------------------
/Assets/Plugins/SystemVolumePlugin/Scripts/Internal/SystemVolumePlugin.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 60ba19f4aebb64e6db29024538180d23
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/Plugins/SystemVolumePlugin/Scripts/SystemVolumeController.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using SystemVolume.Internal;
3 |
4 | namespace SystemVolume
5 | {
6 | public delegate void ChangeSystemVolume(float volume);
7 |
8 | public sealed class SystemVolumeController : IDisposable
9 | {
10 | private readonly SystemVolumePlugin _plugin;
11 |
12 | public ChangeSystemVolume OnChangeVolume;
13 |
14 | private float _volume = 1.0f;
15 |
16 | public float Volume
17 | {
18 | get {
19 | return _volume;
20 | }
21 | set
22 | {
23 | if (_plugin != null)
24 | _plugin.SetSystemVolume(value);
25 | _volume = value;
26 | }
27 | }
28 |
29 | public SystemVolumeController()
30 | {
31 | _plugin = SystemVolumePlugin.Instance;
32 | if (_plugin != null)
33 | {
34 | _volume = _plugin.GetSystemVolume();
35 | _plugin.OnChangeVolume += OnChangeSystemVolume;
36 | }
37 | }
38 |
39 | ~SystemVolumeController()
40 | {
41 | Dispose();
42 | }
43 |
44 | public void Dispose()
45 | {
46 | if (_plugin != null)
47 | _plugin.OnChangeVolume -= OnChangeSystemVolume;
48 | OnChangeVolume = null;
49 | }
50 |
51 | private void OnChangeSystemVolume(float volume)
52 | {
53 | _volume = volume;
54 | if (OnChangeVolume != null)
55 | OnChangeVolume.Invoke(volume);
56 | }
57 | }
58 | }
59 |
--------------------------------------------------------------------------------
/Assets/Plugins/SystemVolumePlugin/Scripts/SystemVolumeController.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 3c6d7c66170194923a31480521f16c9b
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2018 hiyorin
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/Packages/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "dependencies": {
3 | "com.unity.ads": "2.0.8",
4 | "com.unity.analytics": "2.0.16",
5 | "com.unity.package-manager-ui": "1.9.11",
6 | "com.unity.purchasing": "2.0.3",
7 | "com.unity.textmeshpro": "1.2.4",
8 | "com.unity.modules.ai": "1.0.0",
9 | "com.unity.modules.animation": "1.0.0",
10 | "com.unity.modules.assetbundle": "1.0.0",
11 | "com.unity.modules.audio": "1.0.0",
12 | "com.unity.modules.cloth": "1.0.0",
13 | "com.unity.modules.director": "1.0.0",
14 | "com.unity.modules.imageconversion": "1.0.0",
15 | "com.unity.modules.imgui": "1.0.0",
16 | "com.unity.modules.jsonserialize": "1.0.0",
17 | "com.unity.modules.particlesystem": "1.0.0",
18 | "com.unity.modules.physics": "1.0.0",
19 | "com.unity.modules.physics2d": "1.0.0",
20 | "com.unity.modules.screencapture": "1.0.0",
21 | "com.unity.modules.terrain": "1.0.0",
22 | "com.unity.modules.terrainphysics": "1.0.0",
23 | "com.unity.modules.tilemap": "1.0.0",
24 | "com.unity.modules.ui": "1.0.0",
25 | "com.unity.modules.uielements": "1.0.0",
26 | "com.unity.modules.umbra": "1.0.0",
27 | "com.unity.modules.unityanalytics": "1.0.0",
28 | "com.unity.modules.unitywebrequest": "1.0.0",
29 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0",
30 | "com.unity.modules.unitywebrequestaudio": "1.0.0",
31 | "com.unity.modules.unitywebrequesttexture": "1.0.0",
32 | "com.unity.modules.unitywebrequestwww": "1.0.0",
33 | "com.unity.modules.vehicles": "1.0.0",
34 | "com.unity.modules.video": "1.0.0",
35 | "com.unity.modules.vr": "1.0.0",
36 | "com.unity.modules.wind": "1.0.0",
37 | "com.unity.modules.xr": "1.0.0"
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/ProjectSettings/AudioManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!11 &1
4 | AudioManager:
5 | m_ObjectHideFlags: 0
6 | m_Volume: 1
7 | Rolloff Scale: 1
8 | Doppler Factor: 1
9 | Default Speaker Mode: 2
10 | m_SampleRate: 0
11 | m_DSPBufferSize: 1024
12 | m_VirtualVoiceCount: 512
13 | m_RealVoiceCount: 32
14 | m_SpatializerPlugin:
15 | m_AmbisonicDecoderPlugin:
16 | m_DisableAudio: 0
17 | m_VirtualizeEffects: 1
18 |
--------------------------------------------------------------------------------
/ProjectSettings/ClusterInputManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!236 &1
4 | ClusterInputManager:
5 | m_ObjectHideFlags: 0
6 | m_Inputs: []
7 |
--------------------------------------------------------------------------------
/ProjectSettings/DynamicsManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!55 &1
4 | PhysicsManager:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 7
7 | m_Gravity: {x: 0, y: -9.81, z: 0}
8 | m_DefaultMaterial: {fileID: 0}
9 | m_BounceThreshold: 2
10 | m_SleepThreshold: 0.005
11 | m_DefaultContactOffset: 0.01
12 | m_DefaultSolverIterations: 6
13 | m_DefaultSolverVelocityIterations: 1
14 | m_QueriesHitBackfaces: 0
15 | m_QueriesHitTriggers: 1
16 | m_EnableAdaptiveForce: 0
17 | m_ClothInterCollisionDistance: 0
18 | m_ClothInterCollisionStiffness: 0
19 | m_ContactsGeneration: 1
20 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
21 | m_AutoSimulation: 1
22 | m_AutoSyncTransforms: 1
23 | m_ClothInterCollisionSettingsToggle: 0
24 | m_ContactPairsMode: 0
25 | m_BroadphaseType: 0
26 | m_WorldBounds:
27 | m_Center: {x: 0, y: 0, z: 0}
28 | m_Extent: {x: 250, y: 250, z: 250}
29 | m_WorldSubdivisions: 8
30 |
--------------------------------------------------------------------------------
/ProjectSettings/EditorBuildSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!1045 &1
4 | EditorBuildSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | m_Scenes:
8 | - enabled: 1
9 | path: Assets/Plugins/SystemVolume/Examples/Example.unity
10 | guid: 34750a493c6fb4eb6aea20fb367356a7
11 | m_configObjects: {}
12 |
--------------------------------------------------------------------------------
/ProjectSettings/EditorSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!159 &1
4 | EditorSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 7
7 | m_ExternalVersionControlSupport: Visible Meta Files
8 | m_SerializationMode: 2
9 | m_LineEndingsForNewScripts: 2
10 | m_DefaultBehaviorMode: 0
11 | m_SpritePackerMode: 0
12 | m_SpritePackerPaddingPower: 1
13 | m_EtcTextureCompressorBehavior: 1
14 | m_EtcTextureFastCompressor: 1
15 | m_EtcTextureNormalCompressor: 2
16 | m_EtcTextureBestCompressor: 4
17 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd
18 | m_ProjectGenerationRootNamespace:
19 | m_UserGeneratedProjectSuffix:
20 | m_CollabEditorSettings:
21 | inProgressEnabled: 1
22 |
--------------------------------------------------------------------------------
/ProjectSettings/GraphicsSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!30 &1
4 | GraphicsSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 12
7 | m_Deferred:
8 | m_Mode: 1
9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0}
10 | m_DeferredReflections:
11 | m_Mode: 1
12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0}
13 | m_ScreenSpaceShadows:
14 | m_Mode: 1
15 | m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0}
16 | m_LegacyDeferred:
17 | m_Mode: 1
18 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0}
19 | m_DepthNormals:
20 | m_Mode: 1
21 | m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0}
22 | m_MotionVectors:
23 | m_Mode: 1
24 | m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0}
25 | m_LightHalo:
26 | m_Mode: 1
27 | m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0}
28 | m_LensFlare:
29 | m_Mode: 1
30 | m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0}
31 | m_AlwaysIncludedShaders:
32 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0}
33 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0}
34 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0}
35 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0}
36 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
37 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0}
38 | - {fileID: 17000, guid: 0000000000000000f000000000000000, type: 0}
39 | - {fileID: 16000, guid: 0000000000000000f000000000000000, type: 0}
40 | m_PreloadedShaders: []
41 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000,
42 | type: 0}
43 | m_CustomRenderPipeline: {fileID: 0}
44 | m_TransparencySortMode: 0
45 | m_TransparencySortAxis: {x: 0, y: 0, z: 1}
46 | m_DefaultRenderingPath: 1
47 | m_DefaultMobileRenderingPath: 1
48 | m_TierSettings: []
49 | m_LightmapStripping: 0
50 | m_FogStripping: 0
51 | m_InstancingStripping: 0
52 | m_LightmapKeepPlain: 1
53 | m_LightmapKeepDirCombined: 1
54 | m_LightmapKeepDynamicPlain: 1
55 | m_LightmapKeepDynamicDirCombined: 1
56 | m_LightmapKeepShadowMask: 1
57 | m_LightmapKeepSubtractive: 1
58 | m_FogKeepLinear: 1
59 | m_FogKeepExp: 1
60 | m_FogKeepExp2: 1
61 | m_AlbedoSwatchInfos: []
62 | m_LightsUseLinearIntensity: 0
63 | m_LightsUseColorTemperature: 0
64 |
--------------------------------------------------------------------------------
/ProjectSettings/InputManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!13 &1
4 | InputManager:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | m_Axes:
8 | - serializedVersion: 3
9 | m_Name: Horizontal
10 | descriptiveName:
11 | descriptiveNegativeName:
12 | negativeButton: left
13 | positiveButton: right
14 | altNegativeButton: a
15 | altPositiveButton: d
16 | gravity: 3
17 | dead: 0.001
18 | sensitivity: 3
19 | snap: 1
20 | invert: 0
21 | type: 0
22 | axis: 0
23 | joyNum: 0
24 | - serializedVersion: 3
25 | m_Name: Vertical
26 | descriptiveName:
27 | descriptiveNegativeName:
28 | negativeButton: down
29 | positiveButton: up
30 | altNegativeButton: s
31 | altPositiveButton: w
32 | gravity: 3
33 | dead: 0.001
34 | sensitivity: 3
35 | snap: 1
36 | invert: 0
37 | type: 0
38 | axis: 0
39 | joyNum: 0
40 | - serializedVersion: 3
41 | m_Name: Fire1
42 | descriptiveName:
43 | descriptiveNegativeName:
44 | negativeButton:
45 | positiveButton: left ctrl
46 | altNegativeButton:
47 | altPositiveButton: mouse 0
48 | gravity: 1000
49 | dead: 0.001
50 | sensitivity: 1000
51 | snap: 0
52 | invert: 0
53 | type: 0
54 | axis: 0
55 | joyNum: 0
56 | - serializedVersion: 3
57 | m_Name: Fire2
58 | descriptiveName:
59 | descriptiveNegativeName:
60 | negativeButton:
61 | positiveButton: left alt
62 | altNegativeButton:
63 | altPositiveButton: mouse 1
64 | gravity: 1000
65 | dead: 0.001
66 | sensitivity: 1000
67 | snap: 0
68 | invert: 0
69 | type: 0
70 | axis: 0
71 | joyNum: 0
72 | - serializedVersion: 3
73 | m_Name: Fire3
74 | descriptiveName:
75 | descriptiveNegativeName:
76 | negativeButton:
77 | positiveButton: left shift
78 | altNegativeButton:
79 | altPositiveButton: mouse 2
80 | gravity: 1000
81 | dead: 0.001
82 | sensitivity: 1000
83 | snap: 0
84 | invert: 0
85 | type: 0
86 | axis: 0
87 | joyNum: 0
88 | - serializedVersion: 3
89 | m_Name: Jump
90 | descriptiveName:
91 | descriptiveNegativeName:
92 | negativeButton:
93 | positiveButton: space
94 | altNegativeButton:
95 | altPositiveButton:
96 | gravity: 1000
97 | dead: 0.001
98 | sensitivity: 1000
99 | snap: 0
100 | invert: 0
101 | type: 0
102 | axis: 0
103 | joyNum: 0
104 | - serializedVersion: 3
105 | m_Name: Mouse X
106 | descriptiveName:
107 | descriptiveNegativeName:
108 | negativeButton:
109 | positiveButton:
110 | altNegativeButton:
111 | altPositiveButton:
112 | gravity: 0
113 | dead: 0
114 | sensitivity: 0.1
115 | snap: 0
116 | invert: 0
117 | type: 1
118 | axis: 0
119 | joyNum: 0
120 | - serializedVersion: 3
121 | m_Name: Mouse Y
122 | descriptiveName:
123 | descriptiveNegativeName:
124 | negativeButton:
125 | positiveButton:
126 | altNegativeButton:
127 | altPositiveButton:
128 | gravity: 0
129 | dead: 0
130 | sensitivity: 0.1
131 | snap: 0
132 | invert: 0
133 | type: 1
134 | axis: 1
135 | joyNum: 0
136 | - serializedVersion: 3
137 | m_Name: Mouse ScrollWheel
138 | descriptiveName:
139 | descriptiveNegativeName:
140 | negativeButton:
141 | positiveButton:
142 | altNegativeButton:
143 | altPositiveButton:
144 | gravity: 0
145 | dead: 0
146 | sensitivity: 0.1
147 | snap: 0
148 | invert: 0
149 | type: 1
150 | axis: 2
151 | joyNum: 0
152 | - serializedVersion: 3
153 | m_Name: Horizontal
154 | descriptiveName:
155 | descriptiveNegativeName:
156 | negativeButton:
157 | positiveButton:
158 | altNegativeButton:
159 | altPositiveButton:
160 | gravity: 0
161 | dead: 0.19
162 | sensitivity: 1
163 | snap: 0
164 | invert: 0
165 | type: 2
166 | axis: 0
167 | joyNum: 0
168 | - serializedVersion: 3
169 | m_Name: Vertical
170 | descriptiveName:
171 | descriptiveNegativeName:
172 | negativeButton:
173 | positiveButton:
174 | altNegativeButton:
175 | altPositiveButton:
176 | gravity: 0
177 | dead: 0.19
178 | sensitivity: 1
179 | snap: 0
180 | invert: 1
181 | type: 2
182 | axis: 1
183 | joyNum: 0
184 | - serializedVersion: 3
185 | m_Name: Fire1
186 | descriptiveName:
187 | descriptiveNegativeName:
188 | negativeButton:
189 | positiveButton: joystick button 0
190 | altNegativeButton:
191 | altPositiveButton:
192 | gravity: 1000
193 | dead: 0.001
194 | sensitivity: 1000
195 | snap: 0
196 | invert: 0
197 | type: 0
198 | axis: 0
199 | joyNum: 0
200 | - serializedVersion: 3
201 | m_Name: Fire2
202 | descriptiveName:
203 | descriptiveNegativeName:
204 | negativeButton:
205 | positiveButton: joystick button 1
206 | altNegativeButton:
207 | altPositiveButton:
208 | gravity: 1000
209 | dead: 0.001
210 | sensitivity: 1000
211 | snap: 0
212 | invert: 0
213 | type: 0
214 | axis: 0
215 | joyNum: 0
216 | - serializedVersion: 3
217 | m_Name: Fire3
218 | descriptiveName:
219 | descriptiveNegativeName:
220 | negativeButton:
221 | positiveButton: joystick button 2
222 | altNegativeButton:
223 | altPositiveButton:
224 | gravity: 1000
225 | dead: 0.001
226 | sensitivity: 1000
227 | snap: 0
228 | invert: 0
229 | type: 0
230 | axis: 0
231 | joyNum: 0
232 | - serializedVersion: 3
233 | m_Name: Jump
234 | descriptiveName:
235 | descriptiveNegativeName:
236 | negativeButton:
237 | positiveButton: joystick button 3
238 | altNegativeButton:
239 | altPositiveButton:
240 | gravity: 1000
241 | dead: 0.001
242 | sensitivity: 1000
243 | snap: 0
244 | invert: 0
245 | type: 0
246 | axis: 0
247 | joyNum: 0
248 | - serializedVersion: 3
249 | m_Name: Submit
250 | descriptiveName:
251 | descriptiveNegativeName:
252 | negativeButton:
253 | positiveButton: return
254 | altNegativeButton:
255 | altPositiveButton: joystick button 0
256 | gravity: 1000
257 | dead: 0.001
258 | sensitivity: 1000
259 | snap: 0
260 | invert: 0
261 | type: 0
262 | axis: 0
263 | joyNum: 0
264 | - serializedVersion: 3
265 | m_Name: Submit
266 | descriptiveName:
267 | descriptiveNegativeName:
268 | negativeButton:
269 | positiveButton: enter
270 | altNegativeButton:
271 | altPositiveButton: space
272 | gravity: 1000
273 | dead: 0.001
274 | sensitivity: 1000
275 | snap: 0
276 | invert: 0
277 | type: 0
278 | axis: 0
279 | joyNum: 0
280 | - serializedVersion: 3
281 | m_Name: Cancel
282 | descriptiveName:
283 | descriptiveNegativeName:
284 | negativeButton:
285 | positiveButton: escape
286 | altNegativeButton:
287 | altPositiveButton: joystick button 1
288 | gravity: 1000
289 | dead: 0.001
290 | sensitivity: 1000
291 | snap: 0
292 | invert: 0
293 | type: 0
294 | axis: 0
295 | joyNum: 0
296 |
--------------------------------------------------------------------------------
/ProjectSettings/NavMeshAreas.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!126 &1
4 | NavMeshProjectSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | areas:
8 | - name: Walkable
9 | cost: 1
10 | - name: Not Walkable
11 | cost: 1
12 | - name: Jump
13 | cost: 2
14 | - name:
15 | cost: 1
16 | - name:
17 | cost: 1
18 | - name:
19 | cost: 1
20 | - name:
21 | cost: 1
22 | - name:
23 | cost: 1
24 | - name:
25 | cost: 1
26 | - name:
27 | cost: 1
28 | - name:
29 | cost: 1
30 | - name:
31 | cost: 1
32 | - name:
33 | cost: 1
34 | - name:
35 | cost: 1
36 | - name:
37 | cost: 1
38 | - name:
39 | cost: 1
40 | - name:
41 | cost: 1
42 | - name:
43 | cost: 1
44 | - name:
45 | cost: 1
46 | - name:
47 | cost: 1
48 | - name:
49 | cost: 1
50 | - name:
51 | cost: 1
52 | - name:
53 | cost: 1
54 | - name:
55 | cost: 1
56 | - name:
57 | cost: 1
58 | - name:
59 | cost: 1
60 | - name:
61 | cost: 1
62 | - name:
63 | cost: 1
64 | - name:
65 | cost: 1
66 | - name:
67 | cost: 1
68 | - name:
69 | cost: 1
70 | - name:
71 | cost: 1
72 | m_LastAgentTypeID: -887442657
73 | m_Settings:
74 | - serializedVersion: 2
75 | agentTypeID: 0
76 | agentRadius: 0.5
77 | agentHeight: 2
78 | agentSlope: 45
79 | agentClimb: 0.75
80 | ledgeDropHeight: 0
81 | maxJumpAcrossDistance: 0
82 | minRegionArea: 2
83 | manualCellSize: 0
84 | cellSize: 0.16666667
85 | manualTileSize: 0
86 | tileSize: 256
87 | accuratePlacement: 0
88 | debug:
89 | m_Flags: 0
90 | m_SettingNames:
91 | - Humanoid
92 |
--------------------------------------------------------------------------------
/ProjectSettings/NetworkManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!149 &1
4 | NetworkManager:
5 | m_ObjectHideFlags: 0
6 | m_DebugLevel: 0
7 | m_Sendrate: 15
8 | m_AssetToPrefab: {}
9 |
--------------------------------------------------------------------------------
/ProjectSettings/Physics2DSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!19 &1
4 | Physics2DSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 3
7 | m_Gravity: {x: 0, y: -9.81}
8 | m_DefaultMaterial: {fileID: 0}
9 | m_VelocityIterations: 8
10 | m_PositionIterations: 3
11 | m_VelocityThreshold: 1
12 | m_MaxLinearCorrection: 0.2
13 | m_MaxAngularCorrection: 8
14 | m_MaxTranslationSpeed: 100
15 | m_MaxRotationSpeed: 360
16 | m_BaumgarteScale: 0.2
17 | m_BaumgarteTimeOfImpactScale: 0.75
18 | m_TimeToSleep: 0.5
19 | m_LinearSleepTolerance: 0.01
20 | m_AngularSleepTolerance: 2
21 | m_DefaultContactOffset: 0.01
22 | m_AutoSimulation: 1
23 | m_QueriesHitTriggers: 1
24 | m_QueriesStartInColliders: 1
25 | m_ChangeStopsCallbacks: 0
26 | m_CallbacksOnDisable: 1
27 | m_AutoSyncTransforms: 1
28 | m_AlwaysShowColliders: 0
29 | m_ShowColliderSleep: 1
30 | m_ShowColliderContacts: 0
31 | m_ShowColliderAABB: 0
32 | m_ContactArrowScale: 0.2
33 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412}
34 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432}
35 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745}
36 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804}
37 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
38 |
--------------------------------------------------------------------------------
/ProjectSettings/PresetManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!1386491679 &1
4 | PresetManager:
5 | m_ObjectHideFlags: 0
6 | m_DefaultList:
7 | - type:
8 | m_NativeTypeID: 108
9 | m_ManagedTypePPtr: {fileID: 0}
10 | m_ManagedTypeFallback:
11 | defaultPresets:
12 | - m_Preset: {fileID: 2655988077585873504, guid: c1cf8506f04ef2c4a88b64b6c4202eea,
13 | type: 2}
14 | - type:
15 | m_NativeTypeID: 1020
16 | m_ManagedTypePPtr: {fileID: 0}
17 | m_ManagedTypeFallback:
18 | defaultPresets:
19 | - m_Preset: {fileID: 2655988077585873504, guid: 0cd792cc87e492d43b4e95b205fc5cc6,
20 | type: 2}
21 | - type:
22 | m_NativeTypeID: 1006
23 | m_ManagedTypePPtr: {fileID: 0}
24 | m_ManagedTypeFallback:
25 | defaultPresets:
26 | - m_Preset: {fileID: 2655988077585873504, guid: 7a99f8aa944efe94cb9bd74562b7d5f9,
27 | type: 2}
28 |
--------------------------------------------------------------------------------
/ProjectSettings/ProjectSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!129 &1
4 | PlayerSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 15
7 | productGUID: 1ad4ffdd0716f40678de88ba29e4b6f1
8 | AndroidProfiler: 0
9 | AndroidFilterTouchesWhenObscured: 0
10 | AndroidEnableSustainedPerformanceMode: 0
11 | defaultScreenOrientation: 0
12 | targetDevice: 2
13 | useOnDemandResources: 0
14 | accelerometerFrequency: 60
15 | companyName: DefaultCompany
16 | productName: SystemVolumePlugin
17 | defaultCursor: {fileID: 0}
18 | cursorHotspot: {x: 0, y: 0}
19 | m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1}
20 | m_ShowUnitySplashScreen: 1
21 | m_ShowUnitySplashLogo: 1
22 | m_SplashScreenOverlayOpacity: 1
23 | m_SplashScreenAnimation: 1
24 | m_SplashScreenLogoStyle: 1
25 | m_SplashScreenDrawMode: 0
26 | m_SplashScreenBackgroundAnimationZoom: 1
27 | m_SplashScreenLogoAnimationZoom: 1
28 | m_SplashScreenBackgroundLandscapeAspect: 1
29 | m_SplashScreenBackgroundPortraitAspect: 1
30 | m_SplashScreenBackgroundLandscapeUvs:
31 | serializedVersion: 2
32 | x: 0
33 | y: 0
34 | width: 1
35 | height: 1
36 | m_SplashScreenBackgroundPortraitUvs:
37 | serializedVersion: 2
38 | x: 0
39 | y: 0
40 | width: 1
41 | height: 1
42 | m_SplashScreenLogos: []
43 | m_VirtualRealitySplashScreen: {fileID: 0}
44 | m_HolographicTrackingLossScreen: {fileID: 0}
45 | defaultScreenWidth: 1024
46 | defaultScreenHeight: 768
47 | defaultScreenWidthWeb: 960
48 | defaultScreenHeightWeb: 600
49 | m_StereoRenderingPath: 0
50 | m_ActiveColorSpace: 0
51 | m_MTRendering: 1
52 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000
53 | iosShowActivityIndicatorOnLoading: -1
54 | androidShowActivityIndicatorOnLoading: -1
55 | iosAppInBackgroundBehavior: 0
56 | displayResolutionDialog: 1
57 | iosAllowHTTPDownload: 1
58 | allowedAutorotateToPortrait: 1
59 | allowedAutorotateToPortraitUpsideDown: 1
60 | allowedAutorotateToLandscapeRight: 1
61 | allowedAutorotateToLandscapeLeft: 1
62 | useOSAutorotation: 1
63 | use32BitDisplayBuffer: 1
64 | preserveFramebufferAlpha: 0
65 | disableDepthAndStencilBuffers: 0
66 | androidBlitType: 0
67 | defaultIsNativeResolution: 1
68 | macRetinaSupport: 1
69 | runInBackground: 1
70 | captureSingleScreen: 0
71 | muteOtherAudioSources: 0
72 | Prepare IOS For Recording: 0
73 | Force IOS Speakers When Recording: 0
74 | deferSystemGesturesMode: 0
75 | hideHomeButton: 0
76 | submitAnalytics: 1
77 | usePlayerLog: 1
78 | bakeCollisionMeshes: 0
79 | forceSingleInstance: 0
80 | resizableWindow: 0
81 | useMacAppStoreValidation: 0
82 | macAppStoreCategory: public.app-category.games
83 | gpuSkinning: 1
84 | graphicsJobs: 0
85 | xboxPIXTextureCapture: 0
86 | xboxEnableAvatar: 0
87 | xboxEnableKinect: 0
88 | xboxEnableKinectAutoTracking: 0
89 | xboxEnableFitness: 0
90 | visibleInBackground: 1
91 | allowFullscreenSwitch: 1
92 | graphicsJobMode: 0
93 | fullscreenMode: 1
94 | xboxSpeechDB: 0
95 | xboxEnableHeadOrientation: 0
96 | xboxEnableGuest: 0
97 | xboxEnablePIXSampling: 0
98 | metalFramebufferOnly: 0
99 | n3dsDisableStereoscopicView: 0
100 | n3dsEnableSharedListOpt: 1
101 | n3dsEnableVSync: 0
102 | xboxOneResolution: 0
103 | xboxOneSResolution: 0
104 | xboxOneXResolution: 3
105 | xboxOneMonoLoggingLevel: 0
106 | xboxOneLoggingLevel: 1
107 | xboxOneDisableEsram: 0
108 | xboxOnePresentImmediateThreshold: 0
109 | switchQueueCommandMemory: 0
110 | videoMemoryForVertexBuffers: 0
111 | psp2PowerMode: 0
112 | psp2AcquireBGM: 1
113 | vulkanEnableSetSRGBWrite: 0
114 | vulkanUseSWCommandBuffers: 0
115 | m_SupportedAspectRatios:
116 | 4:3: 1
117 | 5:4: 1
118 | 16:10: 1
119 | 16:9: 1
120 | Others: 1
121 | bundleVersion: 0.1
122 | preloadedAssets: []
123 | metroInputSource: 0
124 | wsaTransparentSwapchain: 0
125 | m_HolographicPauseOnTrackingLoss: 1
126 | xboxOneDisableKinectGpuReservation: 0
127 | xboxOneEnable7thCore: 0
128 | vrSettings:
129 | cardboard:
130 | depthFormat: 0
131 | enableTransitionView: 0
132 | daydream:
133 | depthFormat: 0
134 | useSustainedPerformanceMode: 0
135 | enableVideoLayer: 0
136 | useProtectedVideoMemory: 0
137 | minimumSupportedHeadTracking: 0
138 | maximumSupportedHeadTracking: 1
139 | hololens:
140 | depthFormat: 1
141 | depthBufferSharingEnabled: 0
142 | oculus:
143 | sharedDepthBuffer: 0
144 | dashSupport: 0
145 | enable360StereoCapture: 0
146 | protectGraphicsMemory: 0
147 | useHDRDisplay: 0
148 | m_ColorGamuts: 00000000
149 | targetPixelDensity: 30
150 | resolutionScalingMode: 0
151 | androidSupportedAspectRatio: 1
152 | androidMaxAspectRatio: 2.1
153 | applicationIdentifier:
154 | Android: com.hiyorin.systemvolumeplugin.test
155 | iOS: com.hiyorin.systemvolumeplugin.test
156 | buildNumber: {}
157 | AndroidBundleVersionCode: 1
158 | AndroidMinSdkVersion: 21
159 | AndroidTargetSdkVersion: 0
160 | AndroidPreferredInstallLocation: 1
161 | aotOptions:
162 | stripEngineCode: 1
163 | iPhoneStrippingLevel: 0
164 | iPhoneScriptCallOptimization: 0
165 | ForceInternetPermission: 0
166 | ForceSDCardPermission: 0
167 | CreateWallpaper: 0
168 | APKExpansionFiles: 0
169 | keepLoadedShadersAlive: 0
170 | StripUnusedMeshComponents: 1
171 | VertexChannelCompressionMask: 4054
172 | iPhoneSdkVersion: 988
173 | iOSTargetOSVersionString: 8.0
174 | tvOSSdkVersion: 0
175 | tvOSRequireExtendedGameController: 0
176 | tvOSTargetOSVersionString: 9.0
177 | uIPrerenderedIcon: 0
178 | uIRequiresPersistentWiFi: 0
179 | uIRequiresFullScreen: 1
180 | uIStatusBarHidden: 1
181 | uIExitOnSuspend: 0
182 | uIStatusBarStyle: 0
183 | iPhoneSplashScreen: {fileID: 0}
184 | iPhoneHighResSplashScreen: {fileID: 0}
185 | iPhoneTallHighResSplashScreen: {fileID: 0}
186 | iPhone47inSplashScreen: {fileID: 0}
187 | iPhone55inPortraitSplashScreen: {fileID: 0}
188 | iPhone55inLandscapeSplashScreen: {fileID: 0}
189 | iPhone58inPortraitSplashScreen: {fileID: 0}
190 | iPhone58inLandscapeSplashScreen: {fileID: 0}
191 | iPadPortraitSplashScreen: {fileID: 0}
192 | iPadHighResPortraitSplashScreen: {fileID: 0}
193 | iPadLandscapeSplashScreen: {fileID: 0}
194 | iPadHighResLandscapeSplashScreen: {fileID: 0}
195 | appleTVSplashScreen: {fileID: 0}
196 | appleTVSplashScreen2x: {fileID: 0}
197 | tvOSSmallIconLayers: []
198 | tvOSSmallIconLayers2x: []
199 | tvOSLargeIconLayers: []
200 | tvOSLargeIconLayers2x: []
201 | tvOSTopShelfImageLayers: []
202 | tvOSTopShelfImageLayers2x: []
203 | tvOSTopShelfImageWideLayers: []
204 | tvOSTopShelfImageWideLayers2x: []
205 | iOSLaunchScreenType: 0
206 | iOSLaunchScreenPortrait: {fileID: 0}
207 | iOSLaunchScreenLandscape: {fileID: 0}
208 | iOSLaunchScreenBackgroundColor:
209 | serializedVersion: 2
210 | rgba: 0
211 | iOSLaunchScreenFillPct: 100
212 | iOSLaunchScreenSize: 100
213 | iOSLaunchScreenCustomXibPath:
214 | iOSLaunchScreeniPadType: 0
215 | iOSLaunchScreeniPadImage: {fileID: 0}
216 | iOSLaunchScreeniPadBackgroundColor:
217 | serializedVersion: 2
218 | rgba: 0
219 | iOSLaunchScreeniPadFillPct: 100
220 | iOSLaunchScreeniPadSize: 100
221 | iOSLaunchScreeniPadCustomXibPath:
222 | iOSUseLaunchScreenStoryboard: 0
223 | iOSLaunchScreenCustomStoryboardPath:
224 | iOSDeviceRequirements: []
225 | iOSURLSchemes: []
226 | iOSBackgroundModes: 0
227 | iOSMetalForceHardShadows: 0
228 | metalEditorSupport: 1
229 | metalAPIValidation: 1
230 | iOSRenderExtraFrameOnPause: 0
231 | appleDeveloperTeamID:
232 | iOSManualSigningProvisioningProfileID:
233 | tvOSManualSigningProvisioningProfileID:
234 | iOSManualSigningProvisioningProfileType: 0
235 | tvOSManualSigningProvisioningProfileType: 0
236 | appleEnableAutomaticSigning: 0
237 | iOSRequireARKit: 0
238 | appleEnableProMotion: 0
239 | vulkanEditorSupport: 0
240 | clonedFromGUID: c0afd0d1d80e3634a9dac47e8a0426ea
241 | templatePackageId: com.unity.3d@1.0.2
242 | templateDefaultScene: Assets/Scenes/SampleScene.unity
243 | AndroidTargetArchitectures: 5
244 | AndroidSplashScreenScale: 0
245 | androidSplashScreen: {fileID: 0}
246 | AndroidKeystoreName:
247 | AndroidKeyaliasName:
248 | AndroidBuildApkPerCpuArchitecture: 0
249 | AndroidTVCompatibility: 1
250 | AndroidIsGame: 1
251 | AndroidEnableTango: 0
252 | androidEnableBanner: 1
253 | androidUseLowAccuracyLocation: 0
254 | m_AndroidBanners:
255 | - width: 320
256 | height: 180
257 | banner: {fileID: 0}
258 | androidGamepadSupportLevel: 0
259 | resolutionDialogBanner: {fileID: 0}
260 | m_BuildTargetIcons: []
261 | m_BuildTargetPlatformIcons:
262 | - m_BuildTarget: Android
263 | m_Icons:
264 | - m_Textures: []
265 | m_Width: 432
266 | m_Height: 432
267 | m_Kind: 2
268 | m_SubKind:
269 | - m_Textures: []
270 | m_Width: 324
271 | m_Height: 324
272 | m_Kind: 2
273 | m_SubKind:
274 | - m_Textures: []
275 | m_Width: 216
276 | m_Height: 216
277 | m_Kind: 2
278 | m_SubKind:
279 | - m_Textures: []
280 | m_Width: 162
281 | m_Height: 162
282 | m_Kind: 2
283 | m_SubKind:
284 | - m_Textures: []
285 | m_Width: 108
286 | m_Height: 108
287 | m_Kind: 2
288 | m_SubKind:
289 | - m_Textures: []
290 | m_Width: 81
291 | m_Height: 81
292 | m_Kind: 2
293 | m_SubKind:
294 | - m_Textures: []
295 | m_Width: 192
296 | m_Height: 192
297 | m_Kind: 1
298 | m_SubKind:
299 | - m_Textures: []
300 | m_Width: 144
301 | m_Height: 144
302 | m_Kind: 1
303 | m_SubKind:
304 | - m_Textures: []
305 | m_Width: 96
306 | m_Height: 96
307 | m_Kind: 1
308 | m_SubKind:
309 | - m_Textures: []
310 | m_Width: 72
311 | m_Height: 72
312 | m_Kind: 1
313 | m_SubKind:
314 | - m_Textures: []
315 | m_Width: 48
316 | m_Height: 48
317 | m_Kind: 1
318 | m_SubKind:
319 | - m_Textures: []
320 | m_Width: 36
321 | m_Height: 36
322 | m_Kind: 1
323 | m_SubKind:
324 | m_BuildTargetBatching:
325 | - m_BuildTarget: Standalone
326 | m_StaticBatching: 1
327 | m_DynamicBatching: 0
328 | - m_BuildTarget: tvOS
329 | m_StaticBatching: 1
330 | m_DynamicBatching: 0
331 | - m_BuildTarget: Android
332 | m_StaticBatching: 1
333 | m_DynamicBatching: 0
334 | - m_BuildTarget: iPhone
335 | m_StaticBatching: 1
336 | m_DynamicBatching: 0
337 | - m_BuildTarget: WebGL
338 | m_StaticBatching: 0
339 | m_DynamicBatching: 0
340 | m_BuildTargetGraphicsAPIs:
341 | - m_BuildTarget: AndroidPlayer
342 | m_APIs: 0b00000015000000
343 | m_Automatic: 1
344 | - m_BuildTarget: iOSSupport
345 | m_APIs: 10000000
346 | m_Automatic: 1
347 | - m_BuildTarget: AppleTVSupport
348 | m_APIs: 10000000
349 | m_Automatic: 0
350 | - m_BuildTarget: WebGLSupport
351 | m_APIs: 0b000000
352 | m_Automatic: 1
353 | m_BuildTargetVRSettings:
354 | - m_BuildTarget: Standalone
355 | m_Enabled: 0
356 | m_Devices:
357 | - Oculus
358 | - OpenVR
359 | m_BuildTargetEnableVuforiaSettings: []
360 | openGLRequireES31: 0
361 | openGLRequireES31AEP: 0
362 | m_TemplateCustomTags: {}
363 | mobileMTRendering:
364 | Android: 1
365 | iPhone: 1
366 | tvOS: 1
367 | m_BuildTargetGroupLightmapEncodingQuality: []
368 | m_BuildTargetGroupLightmapSettings: []
369 | playModeTestRunnerEnabled: 0
370 | runPlayModeTestAsEditModeTest: 0
371 | actionOnDotNetUnhandledException: 1
372 | enableInternalProfiler: 0
373 | logObjCUncaughtExceptions: 1
374 | enableCrashReportAPI: 0
375 | cameraUsageDescription:
376 | locationUsageDescription:
377 | microphoneUsageDescription:
378 | switchNetLibKey:
379 | switchSocketMemoryPoolSize: 6144
380 | switchSocketAllocatorPoolSize: 128
381 | switchSocketConcurrencyLimit: 14
382 | switchScreenResolutionBehavior: 2
383 | switchUseCPUProfiler: 0
384 | switchApplicationID: 0x01004b9000490000
385 | switchNSODependencies:
386 | switchTitleNames_0:
387 | switchTitleNames_1:
388 | switchTitleNames_2:
389 | switchTitleNames_3:
390 | switchTitleNames_4:
391 | switchTitleNames_5:
392 | switchTitleNames_6:
393 | switchTitleNames_7:
394 | switchTitleNames_8:
395 | switchTitleNames_9:
396 | switchTitleNames_10:
397 | switchTitleNames_11:
398 | switchTitleNames_12:
399 | switchTitleNames_13:
400 | switchTitleNames_14:
401 | switchPublisherNames_0:
402 | switchPublisherNames_1:
403 | switchPublisherNames_2:
404 | switchPublisherNames_3:
405 | switchPublisherNames_4:
406 | switchPublisherNames_5:
407 | switchPublisherNames_6:
408 | switchPublisherNames_7:
409 | switchPublisherNames_8:
410 | switchPublisherNames_9:
411 | switchPublisherNames_10:
412 | switchPublisherNames_11:
413 | switchPublisherNames_12:
414 | switchPublisherNames_13:
415 | switchPublisherNames_14:
416 | switchIcons_0: {fileID: 0}
417 | switchIcons_1: {fileID: 0}
418 | switchIcons_2: {fileID: 0}
419 | switchIcons_3: {fileID: 0}
420 | switchIcons_4: {fileID: 0}
421 | switchIcons_5: {fileID: 0}
422 | switchIcons_6: {fileID: 0}
423 | switchIcons_7: {fileID: 0}
424 | switchIcons_8: {fileID: 0}
425 | switchIcons_9: {fileID: 0}
426 | switchIcons_10: {fileID: 0}
427 | switchIcons_11: {fileID: 0}
428 | switchIcons_12: {fileID: 0}
429 | switchIcons_13: {fileID: 0}
430 | switchIcons_14: {fileID: 0}
431 | switchSmallIcons_0: {fileID: 0}
432 | switchSmallIcons_1: {fileID: 0}
433 | switchSmallIcons_2: {fileID: 0}
434 | switchSmallIcons_3: {fileID: 0}
435 | switchSmallIcons_4: {fileID: 0}
436 | switchSmallIcons_5: {fileID: 0}
437 | switchSmallIcons_6: {fileID: 0}
438 | switchSmallIcons_7: {fileID: 0}
439 | switchSmallIcons_8: {fileID: 0}
440 | switchSmallIcons_9: {fileID: 0}
441 | switchSmallIcons_10: {fileID: 0}
442 | switchSmallIcons_11: {fileID: 0}
443 | switchSmallIcons_12: {fileID: 0}
444 | switchSmallIcons_13: {fileID: 0}
445 | switchSmallIcons_14: {fileID: 0}
446 | switchManualHTML:
447 | switchAccessibleURLs:
448 | switchLegalInformation:
449 | switchMainThreadStackSize: 1048576
450 | switchPresenceGroupId:
451 | switchLogoHandling: 0
452 | switchReleaseVersion: 0
453 | switchDisplayVersion: 1.0.0
454 | switchStartupUserAccount: 0
455 | switchTouchScreenUsage: 0
456 | switchSupportedLanguagesMask: 0
457 | switchLogoType: 0
458 | switchApplicationErrorCodeCategory:
459 | switchUserAccountSaveDataSize: 0
460 | switchUserAccountSaveDataJournalSize: 0
461 | switchApplicationAttribute: 0
462 | switchCardSpecSize: -1
463 | switchCardSpecClock: -1
464 | switchRatingsMask: 0
465 | switchRatingsInt_0: 0
466 | switchRatingsInt_1: 0
467 | switchRatingsInt_2: 0
468 | switchRatingsInt_3: 0
469 | switchRatingsInt_4: 0
470 | switchRatingsInt_5: 0
471 | switchRatingsInt_6: 0
472 | switchRatingsInt_7: 0
473 | switchRatingsInt_8: 0
474 | switchRatingsInt_9: 0
475 | switchRatingsInt_10: 0
476 | switchRatingsInt_11: 0
477 | switchLocalCommunicationIds_0:
478 | switchLocalCommunicationIds_1:
479 | switchLocalCommunicationIds_2:
480 | switchLocalCommunicationIds_3:
481 | switchLocalCommunicationIds_4:
482 | switchLocalCommunicationIds_5:
483 | switchLocalCommunicationIds_6:
484 | switchLocalCommunicationIds_7:
485 | switchParentalControl: 0
486 | switchAllowsScreenshot: 1
487 | switchAllowsVideoCapturing: 1
488 | switchAllowsRuntimeAddOnContentInstall: 0
489 | switchDataLossConfirmation: 0
490 | switchSupportedNpadStyles: 3
491 | switchNativeFsCacheSize: 32
492 | switchIsHoldTypeHorizontal: 0
493 | switchSupportedNpadCount: 8
494 | switchSocketConfigEnabled: 0
495 | switchTcpInitialSendBufferSize: 32
496 | switchTcpInitialReceiveBufferSize: 64
497 | switchTcpAutoSendBufferSizeMax: 256
498 | switchTcpAutoReceiveBufferSizeMax: 256
499 | switchUdpSendBufferSize: 9
500 | switchUdpReceiveBufferSize: 42
501 | switchSocketBufferEfficiency: 4
502 | switchSocketInitializeEnabled: 1
503 | switchNetworkInterfaceManagerInitializeEnabled: 1
504 | switchPlayerConnectionEnabled: 1
505 | ps4NPAgeRating: 12
506 | ps4NPTitleSecret:
507 | ps4NPTrophyPackPath:
508 | ps4ParentalLevel: 11
509 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000
510 | ps4Category: 0
511 | ps4MasterVersion: 01.00
512 | ps4AppVersion: 01.00
513 | ps4AppType: 0
514 | ps4ParamSfxPath:
515 | ps4VideoOutPixelFormat: 0
516 | ps4VideoOutInitialWidth: 1920
517 | ps4VideoOutBaseModeInitialWidth: 1920
518 | ps4VideoOutReprojectionRate: 60
519 | ps4PronunciationXMLPath:
520 | ps4PronunciationSIGPath:
521 | ps4BackgroundImagePath:
522 | ps4StartupImagePath:
523 | ps4StartupImagesFolder:
524 | ps4IconImagesFolder:
525 | ps4SaveDataImagePath:
526 | ps4SdkOverride:
527 | ps4BGMPath:
528 | ps4ShareFilePath:
529 | ps4ShareOverlayImagePath:
530 | ps4PrivacyGuardImagePath:
531 | ps4NPtitleDatPath:
532 | ps4RemotePlayKeyAssignment: -1
533 | ps4RemotePlayKeyMappingDir:
534 | ps4PlayTogetherPlayerCount: 0
535 | ps4EnterButtonAssignment: 1
536 | ps4ApplicationParam1: 0
537 | ps4ApplicationParam2: 0
538 | ps4ApplicationParam3: 0
539 | ps4ApplicationParam4: 0
540 | ps4DownloadDataSize: 0
541 | ps4GarlicHeapSize: 2048
542 | ps4ProGarlicHeapSize: 2560
543 | ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ
544 | ps4pnSessions: 1
545 | ps4pnPresence: 1
546 | ps4pnFriends: 1
547 | ps4pnGameCustomData: 1
548 | playerPrefsSupport: 0
549 | enableApplicationExit: 0
550 | restrictedAudioUsageRights: 0
551 | ps4UseResolutionFallback: 0
552 | ps4ReprojectionSupport: 0
553 | ps4UseAudio3dBackend: 0
554 | ps4SocialScreenEnabled: 0
555 | ps4ScriptOptimizationLevel: 0
556 | ps4Audio3dVirtualSpeakerCount: 14
557 | ps4attribCpuUsage: 0
558 | ps4PatchPkgPath:
559 | ps4PatchLatestPkgPath:
560 | ps4PatchChangeinfoPath:
561 | ps4PatchDayOne: 0
562 | ps4attribUserManagement: 0
563 | ps4attribMoveSupport: 0
564 | ps4attrib3DSupport: 0
565 | ps4attribShareSupport: 0
566 | ps4attribExclusiveVR: 0
567 | ps4disableAutoHideSplash: 0
568 | ps4videoRecordingFeaturesUsed: 0
569 | ps4contentSearchFeaturesUsed: 0
570 | ps4attribEyeToEyeDistanceSettingVR: 0
571 | ps4IncludedModules: []
572 | monoEnv:
573 | psp2Splashimage: {fileID: 0}
574 | psp2NPTrophyPackPath:
575 | psp2NPSupportGBMorGJP: 0
576 | psp2NPAgeRating: 12
577 | psp2NPTitleDatPath:
578 | psp2NPCommsID:
579 | psp2NPCommunicationsID:
580 | psp2NPCommsPassphrase:
581 | psp2NPCommsSig:
582 | psp2ParamSfxPath:
583 | psp2ManualPath:
584 | psp2LiveAreaGatePath:
585 | psp2LiveAreaBackroundPath:
586 | psp2LiveAreaPath:
587 | psp2LiveAreaTrialPath:
588 | psp2PatchChangeInfoPath:
589 | psp2PatchOriginalPackage:
590 | psp2PackagePassword: F69AzBlax3CF3EDNhm3soLBPh71Yexui
591 | psp2KeystoneFile:
592 | psp2MemoryExpansionMode: 0
593 | psp2DRMType: 0
594 | psp2StorageType: 0
595 | psp2MediaCapacity: 0
596 | psp2DLCConfigPath:
597 | psp2ThumbnailPath:
598 | psp2BackgroundPath:
599 | psp2SoundPath:
600 | psp2TrophyCommId:
601 | psp2TrophyPackagePath:
602 | psp2PackagedResourcesPath:
603 | psp2SaveDataQuota: 10240
604 | psp2ParentalLevel: 1
605 | psp2ShortTitle: Not Set
606 | psp2ContentID: IV0000-ABCD12345_00-0123456789ABCDEF
607 | psp2Category: 0
608 | psp2MasterVersion: 01.00
609 | psp2AppVersion: 01.00
610 | psp2TVBootMode: 0
611 | psp2EnterButtonAssignment: 2
612 | psp2TVDisableEmu: 0
613 | psp2AllowTwitterDialog: 1
614 | psp2Upgradable: 0
615 | psp2HealthWarning: 0
616 | psp2UseLibLocation: 0
617 | psp2InfoBarOnStartup: 0
618 | psp2InfoBarColor: 0
619 | psp2ScriptOptimizationLevel: 0
620 | splashScreenBackgroundSourceLandscape: {fileID: 0}
621 | splashScreenBackgroundSourcePortrait: {fileID: 0}
622 | spritePackerPolicy:
623 | webGLMemorySize: 256
624 | webGLExceptionSupport: 1
625 | webGLNameFilesAsHashes: 0
626 | webGLDataCaching: 1
627 | webGLDebugSymbols: 0
628 | webGLEmscriptenArgs:
629 | webGLModulesDirectory:
630 | webGLTemplate: APPLICATION:Default
631 | webGLAnalyzeBuildSize: 0
632 | webGLUseEmbeddedResources: 0
633 | webGLCompressionFormat: 1
634 | webGLLinkerTarget: 1
635 | scriptingDefineSymbols: {}
636 | platformArchitecture: {}
637 | scriptingBackend: {}
638 | il2cppCompilerConfiguration: {}
639 | incrementalIl2cppBuild: {}
640 | allowUnsafeCode: 0
641 | additionalIl2CppArgs:
642 | scriptingRuntimeVersion: 1
643 | apiCompatibilityLevelPerPlatform: {}
644 | m_RenderingPath: 1
645 | m_MobileRenderingPath: 1
646 | metroPackageName: Template_3D
647 | metroPackageVersion:
648 | metroCertificatePath:
649 | metroCertificatePassword:
650 | metroCertificateSubject:
651 | metroCertificateIssuer:
652 | metroCertificateNotAfter: 0000000000000000
653 | metroApplicationDescription: Template_3D
654 | wsaImages: {}
655 | metroTileShortName:
656 | metroTileShowName: 0
657 | metroMediumTileShowName: 0
658 | metroLargeTileShowName: 0
659 | metroWideTileShowName: 0
660 | metroDefaultTileSize: 1
661 | metroTileForegroundText: 2
662 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0}
663 | metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628,
664 | a: 1}
665 | metroSplashScreenUseBackgroundColor: 0
666 | platformCapabilities: {}
667 | metroFTAName:
668 | metroFTAFileTypes: []
669 | metroProtocolName:
670 | metroCompilationOverrides: 1
671 | n3dsUseExtSaveData: 0
672 | n3dsCompressStaticMem: 1
673 | n3dsExtSaveDataNumber: 0x12345
674 | n3dsStackSize: 131072
675 | n3dsTargetPlatform: 2
676 | n3dsRegion: 7
677 | n3dsMediaSize: 0
678 | n3dsLogoStyle: 3
679 | n3dsTitle: GameName
680 | n3dsProductCode:
681 | n3dsApplicationId: 0xFF3FF
682 | XboxOneProductId:
683 | XboxOneUpdateKey:
684 | XboxOneSandboxId:
685 | XboxOneContentId:
686 | XboxOneTitleId:
687 | XboxOneSCId:
688 | XboxOneGameOsOverridePath:
689 | XboxOnePackagingOverridePath:
690 | XboxOneAppManifestOverridePath:
691 | XboxOneVersion: 1.0.0.0
692 | XboxOnePackageEncryption: 0
693 | XboxOnePackageUpdateGranularity: 2
694 | XboxOneDescription:
695 | XboxOneLanguage:
696 | - enus
697 | XboxOneCapability: []
698 | XboxOneGameRating: {}
699 | XboxOneIsContentPackage: 0
700 | XboxOneEnableGPUVariability: 0
701 | XboxOneSockets: {}
702 | XboxOneSplashScreen: {fileID: 0}
703 | XboxOneAllowedProductIds: []
704 | XboxOnePersistentLocalStorageSize: 0
705 | XboxOneXTitleMemory: 8
706 | xboxOneScriptCompiler: 0
707 | vrEditorSettings:
708 | daydream:
709 | daydreamIconForeground: {fileID: 0}
710 | daydreamIconBackground: {fileID: 0}
711 | cloudServicesEnabled:
712 | UNet: 1
713 | facebookSdkVersion: 7.9.4
714 | apiCompatibilityLevel: 2
715 | cloudProjectId:
716 | projectName:
717 | organizationId:
718 | cloudEnabled: 0
719 | enableNativePlatformBackendsForNewInputSystem: 0
720 | disableOldInputManagerSupport: 0
721 |
--------------------------------------------------------------------------------
/ProjectSettings/ProjectVersion.txt:
--------------------------------------------------------------------------------
1 | m_EditorVersion: 2018.2.0f2
2 |
--------------------------------------------------------------------------------
/ProjectSettings/QualitySettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!47 &1
4 | QualitySettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 5
7 | m_CurrentQuality: 4
8 | m_QualitySettings:
9 | - serializedVersion: 2
10 | name: Very Low
11 | pixelLightCount: 0
12 | shadows: 0
13 | shadowResolution: 0
14 | shadowProjection: 1
15 | shadowCascades: 1
16 | shadowDistance: 15
17 | shadowNearPlaneOffset: 3
18 | shadowCascade2Split: 0.33333334
19 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
20 | shadowmaskMode: 0
21 | blendWeights: 1
22 | textureQuality: 1
23 | anisotropicTextures: 0
24 | antiAliasing: 0
25 | softParticles: 0
26 | softVegetation: 0
27 | realtimeReflectionProbes: 0
28 | billboardsFaceCameraPosition: 0
29 | vSyncCount: 0
30 | lodBias: 0.3
31 | maximumLODLevel: 0
32 | particleRaycastBudget: 4
33 | asyncUploadTimeSlice: 2
34 | asyncUploadBufferSize: 4
35 | resolutionScalingFixedDPIFactor: 1
36 | excludedTargetPlatforms: []
37 | - serializedVersion: 2
38 | name: Low
39 | pixelLightCount: 0
40 | shadows: 0
41 | shadowResolution: 0
42 | shadowProjection: 1
43 | shadowCascades: 1
44 | shadowDistance: 20
45 | shadowNearPlaneOffset: 3
46 | shadowCascade2Split: 0.33333334
47 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
48 | shadowmaskMode: 0
49 | blendWeights: 2
50 | textureQuality: 0
51 | anisotropicTextures: 0
52 | antiAliasing: 0
53 | softParticles: 0
54 | softVegetation: 0
55 | realtimeReflectionProbes: 0
56 | billboardsFaceCameraPosition: 0
57 | vSyncCount: 0
58 | lodBias: 0.4
59 | maximumLODLevel: 0
60 | particleRaycastBudget: 16
61 | asyncUploadTimeSlice: 2
62 | asyncUploadBufferSize: 4
63 | resolutionScalingFixedDPIFactor: 1
64 | excludedTargetPlatforms: []
65 | - serializedVersion: 2
66 | name: Medium
67 | pixelLightCount: 1
68 | shadows: 1
69 | shadowResolution: 0
70 | shadowProjection: 1
71 | shadowCascades: 1
72 | shadowDistance: 20
73 | shadowNearPlaneOffset: 3
74 | shadowCascade2Split: 0.33333334
75 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
76 | shadowmaskMode: 0
77 | blendWeights: 2
78 | textureQuality: 0
79 | anisotropicTextures: 1
80 | antiAliasing: 0
81 | softParticles: 0
82 | softVegetation: 0
83 | realtimeReflectionProbes: 0
84 | billboardsFaceCameraPosition: 0
85 | vSyncCount: 1
86 | lodBias: 0.7
87 | maximumLODLevel: 0
88 | particleRaycastBudget: 64
89 | asyncUploadTimeSlice: 2
90 | asyncUploadBufferSize: 4
91 | resolutionScalingFixedDPIFactor: 1
92 | excludedTargetPlatforms: []
93 | - serializedVersion: 2
94 | name: High
95 | pixelLightCount: 2
96 | shadows: 2
97 | shadowResolution: 1
98 | shadowProjection: 1
99 | shadowCascades: 2
100 | shadowDistance: 40
101 | shadowNearPlaneOffset: 3
102 | shadowCascade2Split: 0.33333334
103 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
104 | shadowmaskMode: 1
105 | blendWeights: 2
106 | textureQuality: 0
107 | anisotropicTextures: 1
108 | antiAliasing: 2
109 | softParticles: 0
110 | softVegetation: 1
111 | realtimeReflectionProbes: 1
112 | billboardsFaceCameraPosition: 1
113 | vSyncCount: 1
114 | lodBias: 1
115 | maximumLODLevel: 0
116 | particleRaycastBudget: 256
117 | asyncUploadTimeSlice: 2
118 | asyncUploadBufferSize: 4
119 | resolutionScalingFixedDPIFactor: 1
120 | excludedTargetPlatforms: []
121 | - serializedVersion: 2
122 | name: Very High
123 | pixelLightCount: 3
124 | shadows: 2
125 | shadowResolution: 2
126 | shadowProjection: 1
127 | shadowCascades: 2
128 | shadowDistance: 40
129 | shadowNearPlaneOffset: 3
130 | shadowCascade2Split: 0.33333334
131 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
132 | shadowmaskMode: 1
133 | blendWeights: 4
134 | textureQuality: 0
135 | anisotropicTextures: 1
136 | antiAliasing: 4
137 | softParticles: 1
138 | softVegetation: 1
139 | realtimeReflectionProbes: 1
140 | billboardsFaceCameraPosition: 1
141 | vSyncCount: 1
142 | lodBias: 1.5
143 | maximumLODLevel: 0
144 | particleRaycastBudget: 1024
145 | asyncUploadTimeSlice: 2
146 | asyncUploadBufferSize: 4
147 | resolutionScalingFixedDPIFactor: 1
148 | excludedTargetPlatforms: []
149 | - serializedVersion: 2
150 | name: Ultra
151 | pixelLightCount: 4
152 | shadows: 2
153 | shadowResolution: 2
154 | shadowProjection: 1
155 | shadowCascades: 4
156 | shadowDistance: 150
157 | shadowNearPlaneOffset: 3
158 | shadowCascade2Split: 0.33333334
159 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
160 | shadowmaskMode: 1
161 | blendWeights: 4
162 | textureQuality: 0
163 | anisotropicTextures: 1
164 | antiAliasing: 4
165 | softParticles: 1
166 | softVegetation: 1
167 | realtimeReflectionProbes: 1
168 | billboardsFaceCameraPosition: 1
169 | vSyncCount: 1
170 | lodBias: 2
171 | maximumLODLevel: 0
172 | particleRaycastBudget: 4096
173 | asyncUploadTimeSlice: 2
174 | asyncUploadBufferSize: 4
175 | resolutionScalingFixedDPIFactor: 1
176 | excludedTargetPlatforms: []
177 | m_PerPlatformDefaultQuality:
178 | Android: 2
179 | Nintendo 3DS: 5
180 | Nintendo Switch: 5
181 | PS4: 5
182 | PSP2: 2
183 | Standalone: 5
184 | Tizen: 2
185 | WebGL: 3
186 | WiiU: 5
187 | Windows Store Apps: 5
188 | XboxOne: 5
189 | iPhone: 2
190 | tvOS: 2
191 |
--------------------------------------------------------------------------------
/ProjectSettings/TagManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!78 &1
4 | TagManager:
5 | serializedVersion: 2
6 | tags: []
7 | layers:
8 | - Default
9 | - TransparentFX
10 | - Ignore Raycast
11 | -
12 | - Water
13 | - UI
14 | -
15 | -
16 | - PostProcessing
17 | -
18 | -
19 | -
20 | -
21 | -
22 | -
23 | -
24 | -
25 | -
26 | -
27 | -
28 | -
29 | -
30 | -
31 | -
32 | -
33 | -
34 | -
35 | -
36 | -
37 | -
38 | -
39 | -
40 | m_SortingLayers:
41 | - name: Default
42 | uniqueID: 0
43 | locked: 0
44 |
--------------------------------------------------------------------------------
/ProjectSettings/TimeManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!5 &1
4 | TimeManager:
5 | m_ObjectHideFlags: 0
6 | Fixed Timestep: 0.02
7 | Maximum Allowed Timestep: 0.1
8 | m_TimeScale: 1
9 | Maximum Particle Timestep: 0.03
10 |
--------------------------------------------------------------------------------
/ProjectSettings/UnityConnectSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!310 &1
4 | UnityConnectSettings:
5 | m_ObjectHideFlags: 0
6 | m_Enabled: 1
7 | m_TestMode: 0
8 | m_TestEventUrl:
9 | m_TestConfigUrl:
10 | m_TestInitMode: 0
11 | CrashReportingSettings:
12 | m_EventUrl: https://perf-events.cloud.unity3d.com/api/events/crashes
13 | m_NativeEventUrl: https://perf-events.cloud.unity3d.com/symbolicate
14 | m_Enabled: 0
15 | m_CaptureEditorExceptions: 1
16 | UnityPurchasingSettings:
17 | m_Enabled: 0
18 | m_TestMode: 0
19 | UnityAnalyticsSettings:
20 | m_Enabled: 1
21 | m_InitializeOnStartup: 1
22 | m_TestMode: 0
23 | m_TestEventUrl:
24 | m_TestConfigUrl:
25 | UnityAdsSettings:
26 | m_Enabled: 0
27 | m_InitializeOnStartup: 1
28 | m_TestMode: 0
29 | m_IosGameId:
30 | m_AndroidGameId:
31 | m_GameIds: {}
32 | m_GameId:
33 | PerformanceReportingSettings:
34 | m_Enabled: 0
35 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # SystemVolumePlugin-for-Unity
2 | A set of tools for Unity to allow handling system volume for Android and iOS.
3 |
4 | # Install
5 | SystemVolumePlugin-for-Unity.unitypackage
6 |
7 | # Usage
8 | ```cs
9 | using SystemVolume;
10 | ```
11 |
12 | #### Example: Get/Set
13 | ```cs
14 | public void Example()
15 | {
16 | var controller = new SystemVolumeController();
17 | controller.Volume = 0.5f;
18 | Debug.Log(controller.Volume);
19 | }
20 | ```
21 |
22 | #### Example: Callback when the volume buttons is pressed
23 | ```cs
24 | public void Example()
25 | {
26 | var controller = new SystemVolumeController();
27 | controller.OnChangeVolume = volume => {
28 | Debug.Log(volume);
29 | };
30 | }
31 | ```
32 |
--------------------------------------------------------------------------------