├── ProjectSettings
├── boot.config
├── ProjectVersion.txt
├── ClusterInputManager.asset
├── PresetManager.asset
├── XRSettings.asset
├── VersionControlSettings.asset
├── TimeManager.asset
├── EditorBuildSettings.asset
├── VFXManager.asset
├── AudioManager.asset
├── TagManager.asset
├── UnityConnectSettings.asset
├── DynamicsManager.asset
├── MemorySettings.asset
├── EditorSettings.asset
├── PackageManagerSettings.asset
├── QualitySettings.asset
├── NavMeshAreas.asset
├── Physics2DSettings.asset
├── GraphicsSettings.asset
├── VisualScriptingSettings.asset
├── SceneTemplateSettings.json
├── InputManager.asset
└── ProjectSettings.asset
├── Assets
├── Teapot.unity.meta
├── Test.unity.meta
├── Floor.mat.meta
├── Localhost.asset.meta
├── Localhost.asset
├── Floor.mat
├── Test.unity
└── Teapot.unity
├── .gitattributes
├── Packages
├── jp.keijiro.osc-jack.visualscripting
│ ├── LICENSE.meta
│ ├── README.md.meta
│ ├── package.json.meta
│ ├── Runtime.meta
│ ├── Runtime
│ │ ├── OscJack.VisualScripting.Runtime.asmdef.meta
│ │ ├── OscBangInput.cs.meta
│ │ ├── OscBangOutput.cs.meta
│ │ ├── OscFloatInput.cs.meta
│ │ ├── OscIntInput.cs.meta
│ │ ├── OscIntOutput.cs.meta
│ │ ├── OscFloatOutput.cs.meta
│ │ ├── OscStringInput.cs.meta
│ │ ├── OscStringOutput.cs.meta
│ │ ├── OscVector2Input.cs.meta
│ │ ├── OscVector2Output.cs.meta
│ │ ├── OscVector3Input.cs.meta
│ │ ├── OscVector3Output.cs.meta
│ │ ├── OscVector4Input.cs.meta
│ │ ├── OscVector4Output.cs.meta
│ │ ├── OscJack.VisualScripting.Runtime.asmdef
│ │ ├── OscBangOutput.cs
│ │ ├── OscIntOutput.cs
│ │ ├── OscFloatOutput.cs
│ │ ├── OscStringOutput.cs
│ │ ├── OscVector2Output.cs
│ │ ├── OscVector3Output.cs
│ │ ├── OscVector4Output.cs
│ │ ├── OscBangInput.cs
│ │ ├── OscIntInput.cs
│ │ ├── OscFloatInput.cs
│ │ ├── OscStringInput.cs
│ │ ├── OscVector2Input.cs
│ │ ├── OscVector3Input.cs
│ │ └── OscVector4Input.cs
│ ├── package.json
│ ├── LICENSE
│ └── README.md
├── manifest.json
└── packages-lock.json
├── .gitignore
├── .github
└── workflows
│ └── main.yml
├── LICENSE
└── README.md
/ProjectSettings/boot.config:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ProjectSettings/ProjectVersion.txt:
--------------------------------------------------------------------------------
1 | m_EditorVersion: 2021.3.1f1
2 | m_EditorVersionWithRevision: 2021.3.1f1 (3b70a0754835)
3 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/Assets/Teapot.unity.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 6bd767c42584b1b4c92e661384c7719e
3 | DefaultImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Assets/Test.unity.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 7d21f9bda45b0894fbe1d071287de9e4
3 | DefaultImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/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 | serializedVersion: 2
7 | m_DefaultPresets: {}
8 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | * -text
2 |
3 | *.cs text eol=lf diff=csharp
4 | *.shader text eol=lf
5 | *.cginc text eol=lf
6 | *.hlsl text eol=lf
7 | *.compute text eol=lf
8 |
9 | *.meta text eol=lf
10 |
--------------------------------------------------------------------------------
/Assets/Floor.mat.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 1274f11a2193c714aa88f1b18844314b
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 0
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/ProjectSettings/XRSettings.asset:
--------------------------------------------------------------------------------
1 | {
2 | "m_SettingKeys": [
3 | "VR Device Disabled",
4 | "VR Device User Alert"
5 | ],
6 | "m_SettingValues": [
7 | "False",
8 | "False"
9 | ]
10 | }
--------------------------------------------------------------------------------
/Packages/jp.keijiro.osc-jack.visualscripting/LICENSE.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 32de0350abc9cbcec86c96d7455f3016
3 | DefaultImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Assets/Localhost.asset.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: d700a307aeabd4dfbb062e8757d0d94f
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 11400000
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Packages/jp.keijiro.osc-jack.visualscripting/README.md.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 2a558d3ef2c598be4b8b5e8d92f5236a
3 | TextScriptImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Packages/jp.keijiro.osc-jack.visualscripting/package.json.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 9c5947ce496bb844ea63baf3728cec68
3 | PackageManifestImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Packages/jp.keijiro.osc-jack.visualscripting/Runtime.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: da3e83b47e6e713499fd89d0a2fa8fe7
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/ProjectSettings/VersionControlSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!890905787 &1
4 | VersionControlSettings:
5 | m_ObjectHideFlags: 0
6 | m_Mode: Visible Meta Files
7 | m_CollabEditorSettings:
8 | inProgressEnabled: 1
9 |
--------------------------------------------------------------------------------
/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.33333334
8 | m_TimeScale: 1
9 | Maximum Particle Timestep: 0.03
10 |
--------------------------------------------------------------------------------
/Packages/jp.keijiro.osc-jack.visualscripting/Runtime/OscJack.VisualScripting.Runtime.asmdef.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 484e50aa5a1b5bb4ca9bd6151a658aaa
3 | AssemblyDefinitionImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Packages/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "scopedRegistries": [
3 | {
4 | "name": "Keijiro",
5 | "url": "https://registry.npmjs.com",
6 | "scopes": [
7 | "jp.keijiro"
8 | ]
9 | }
10 | ],
11 | "dependencies": {
12 | "jp.keijiro.test-assets": "1.0.1"
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/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/Teapot.unity
10 | guid: 6bd767c42584b1b4c92e661384c7719e
11 | m_configObjects: {}
12 |
--------------------------------------------------------------------------------
/Packages/jp.keijiro.osc-jack.visualscripting/Runtime/OscBangInput.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 87f8edabc10761840b0c4520acbda499
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Packages/jp.keijiro.osc-jack.visualscripting/Runtime/OscBangOutput.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 88fd7a494f9987a4f84e37cfb3fb96fb
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Packages/jp.keijiro.osc-jack.visualscripting/Runtime/OscFloatInput.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 87d34c2faa6825244a5363bdc1b255ee
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Packages/jp.keijiro.osc-jack.visualscripting/Runtime/OscIntInput.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 0092fa096780a344a8fcf82e79ed2867
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Packages/jp.keijiro.osc-jack.visualscripting/Runtime/OscIntOutput.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 1e02876456a47a248b637ee40add0cd3
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Packages/jp.keijiro.osc-jack.visualscripting/Runtime/OscFloatOutput.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 9f9db0d40ba1dde4ca679a2a2744531c
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Packages/jp.keijiro.osc-jack.visualscripting/Runtime/OscStringInput.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 0806e3822633a5d43aace6d53b4cf061
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Packages/jp.keijiro.osc-jack.visualscripting/Runtime/OscStringOutput.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 1dc1e17ddb00a24408968827f6fe4f9c
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Packages/jp.keijiro.osc-jack.visualscripting/Runtime/OscVector2Input.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e6758cbe83d61424aa8bfff7302997d7
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Packages/jp.keijiro.osc-jack.visualscripting/Runtime/OscVector2Output.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ed99b93a6d1f8354b9867987df8b7f49
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Packages/jp.keijiro.osc-jack.visualscripting/Runtime/OscVector3Input.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 81f65f154bd0b8343b981778110d38dd
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Packages/jp.keijiro.osc-jack.visualscripting/Runtime/OscVector3Output.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 5f38ddf221112e14081d97ae82be6cbf
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Packages/jp.keijiro.osc-jack.visualscripting/Runtime/OscVector4Input.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 9289040dc54519c4fbfad8fb70180728
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Packages/jp.keijiro.osc-jack.visualscripting/Runtime/OscVector4Output.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 8b5320bc24a7e29429379e0ee9172b65
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Windows
2 | Thumbs.db
3 | Desktop.ini
4 |
5 | # macOS
6 | .DS_Store
7 |
8 | # Code Editors
9 | /.idea
10 | /.vscode
11 | /*.csproj
12 | /*.sln
13 | *.swp
14 | *.vcxproj.user
15 |
16 | # Unity
17 | /Library
18 | /Logs
19 | /Temp
20 | /UserSettings
21 |
22 | # Visual Scripting
23 | /Assets/Unity.VisualScripting.Generated/
24 | /Assets/Unity.VisualScripting.Generated.meta
25 |
--------------------------------------------------------------------------------
/ProjectSettings/VFXManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!937362698 &1
4 | VFXManager:
5 | m_ObjectHideFlags: 0
6 | m_IndirectShader: {fileID: 0}
7 | m_CopyBufferShader: {fileID: 0}
8 | m_SortShader: {fileID: 0}
9 | m_StripUpdateShader: {fileID: 0}
10 | m_RenderPipeSettingsPath:
11 | m_FixedTimeStep: 0.016666668
12 | m_MaxDeltaTime: 0.05
13 |
--------------------------------------------------------------------------------
/.github/workflows/main.yml:
--------------------------------------------------------------------------------
1 | name: UPM on npsjs.com
2 | on:
3 | release:
4 | types: [created]
5 | jobs:
6 | publish:
7 | runs-on: ubuntu-latest
8 | steps:
9 | - uses: actions/checkout@v2
10 | - uses: actions/setup-node@v2
11 | with:
12 | registry-url: 'https://registry.npmjs.org'
13 | - run: npm publish
14 | working-directory: Packages/jp.keijiro.osc-jack.visualscripting
15 | env:
16 | NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
17 |
--------------------------------------------------------------------------------
/Assets/Localhost.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &11400000
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 0
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 11500000, guid: 3fc33fd9d04d644019471cb272c0fe46, type: 3}
13 | m_Name: Localhost
14 | m_EditorClassIdentifier:
15 | type: 0
16 | host: 127.0.0.1
17 | port: 8000
18 |
--------------------------------------------------------------------------------
/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 | serializedVersion: 2
7 | m_Volume: 1
8 | Rolloff Scale: 1
9 | Doppler Factor: 1
10 | Default Speaker Mode: 2
11 | m_SampleRate: 0
12 | m_DSPBufferSize: 1024
13 | m_VirtualVoiceCount: 512
14 | m_RealVoiceCount: 32
15 | m_SpatializerPlugin:
16 | m_AmbisonicDecoderPlugin:
17 | m_DisableAudio: 0
18 | m_VirtualizeEffects: 1
19 | m_RequestedDSPBufferSize: 1024
20 |
--------------------------------------------------------------------------------
/Packages/jp.keijiro.osc-jack.visualscripting/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "author": "Keijiro Takahashi",
3 | "dependencies": {
4 | "com.unity.modules.uielements": "1.0.0",
5 | "com.unity.visualscripting": "1.5.2",
6 | "jp.keijiro.osc-jack": "2.0.0"
7 | },
8 | "description": "OSC extension for Visual Scripting",
9 | "displayName": "OscJackVS",
10 | "keywords": [ "unity" ],
11 | "license": "Unlicense",
12 | "name": "jp.keijiro.osc-jack.visualscripting",
13 | "repository": "github:keijiro/OscJackVS",
14 | "unity": "2021.3",
15 | "unityRelease": "0f1",
16 | "version": "2.0.0"
17 | }
18 |
--------------------------------------------------------------------------------
/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 | -
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 |
--------------------------------------------------------------------------------
/Packages/jp.keijiro.osc-jack.visualscripting/Runtime/OscJack.VisualScripting.Runtime.asmdef:
--------------------------------------------------------------------------------
1 | {
2 | "name": "OscJack.VisualScripting.Runtime",
3 | "rootNamespace": "",
4 | "references": [
5 | "GUID:9df4bb2434fa4444a85e58f9b2d5d6d2",
6 | "GUID:21b0c8d1703a94250bfac916590cea4f",
7 | "GUID:ea715009a4efd4c6cbc85be3ae097dd3"
8 | ],
9 | "includePlatforms": [],
10 | "excludePlatforms": [],
11 | "allowUnsafeCode": false,
12 | "overrideReferences": false,
13 | "precompiledReferences": [],
14 | "autoReferenced": true,
15 | "defineConstraints": [],
16 | "versionDefines": [],
17 | "noEngineReferences": false
18 | }
19 |
--------------------------------------------------------------------------------
/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 | serializedVersion: 1
7 | m_Enabled: 0
8 | m_TestMode: 0
9 | m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events
10 | m_EventUrl: https://cdp.cloud.unity3d.com/v1/events
11 | m_ConfigUrl: https://config.uca.cloud.unity3d.com
12 | m_TestInitMode: 0
13 | CrashReportingSettings:
14 | m_EventUrl: https://perf-events.cloud.unity3d.com
15 | m_Enabled: 0
16 | m_LogBufferSize: 10
17 | m_CaptureEditorExceptions: 1
18 | UnityPurchasingSettings:
19 | m_Enabled: 0
20 | m_TestMode: 0
21 | UnityAnalyticsSettings:
22 | m_Enabled: 0
23 | m_TestMode: 0
24 | m_InitializeOnStartup: 1
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 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | This is free and unencumbered software released into the public domain.
2 |
3 | Anyone is free to copy, modify, publish, use, compile, sell, or
4 | distribute this software, either in source code form or as a compiled
5 | binary, for any purpose, commercial or non-commercial, and by any
6 | means.
7 |
8 | In jurisdictions that recognize copyright laws, the author or authors
9 | of this software dedicate any and all copyright interest in the
10 | software to the public domain. We make this dedication for the benefit
11 | of the public at large and to the detriment of our heirs and
12 | successors. We intend this dedication to be an overt act of
13 | relinquishment in perpetuity of all present and future rights to this
14 | software under copyright law.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19 | IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
20 | OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22 | OTHER DEALINGS IN THE SOFTWARE.
23 |
24 | For more information, please refer to
25 |
--------------------------------------------------------------------------------
/Packages/jp.keijiro.osc-jack.visualscripting/LICENSE:
--------------------------------------------------------------------------------
1 | This is free and unencumbered software released into the public domain.
2 |
3 | Anyone is free to copy, modify, publish, use, compile, sell, or
4 | distribute this software, either in source code form or as a compiled
5 | binary, for any purpose, commercial or non-commercial, and by any
6 | means.
7 |
8 | In jurisdictions that recognize copyright laws, the author or authors
9 | of this software dedicate any and all copyright interest in the
10 | software to the public domain. We make this dedication for the benefit
11 | of the public at large and to the detriment of our heirs and
12 | successors. We intend this dedication to be an overt act of
13 | relinquishment in perpetuity of all present and future rights to this
14 | software under copyright law.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19 | IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
20 | OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22 | OTHER DEALINGS IN THE SOFTWARE.
23 |
24 | For more information, please refer to
25 |
--------------------------------------------------------------------------------
/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: 11
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: 0
23 | m_ReuseCollisionCallbacks: 1
24 | m_ClothInterCollisionSettingsToggle: 0
25 | m_ContactPairsMode: 0
26 | m_BroadphaseType: 0
27 | m_WorldBounds:
28 | m_Center: {x: 0, y: 0, z: 0}
29 | m_Extent: {x: 250, y: 250, z: 250}
30 | m_WorldSubdivisions: 8
31 | m_FrictionType: 0
32 | m_EnableEnhancedDeterminism: 0
33 | m_EnableUnifiedHeightmaps: 1
34 | m_DefaultMaxAngluarSpeed: 7
35 |
--------------------------------------------------------------------------------
/ProjectSettings/MemorySettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!387306366 &1
4 | MemorySettings:
5 | m_ObjectHideFlags: 0
6 | m_EditorMemorySettings:
7 | m_MainAllocatorBlockSize: -1
8 | m_ThreadAllocatorBlockSize: -1
9 | m_MainGfxBlockSize: -1
10 | m_ThreadGfxBlockSize: -1
11 | m_CacheBlockSize: -1
12 | m_TypetreeBlockSize: -1
13 | m_ProfilerBlockSize: -1
14 | m_ProfilerEditorBlockSize: -1
15 | m_BucketAllocatorGranularity: -1
16 | m_BucketAllocatorBucketsCount: -1
17 | m_BucketAllocatorBlockSize: -1
18 | m_BucketAllocatorBlockCount: -1
19 | m_ProfilerBucketAllocatorGranularity: -1
20 | m_ProfilerBucketAllocatorBucketsCount: -1
21 | m_ProfilerBucketAllocatorBlockSize: -1
22 | m_ProfilerBucketAllocatorBlockCount: -1
23 | m_TempAllocatorSizeMain: -1
24 | m_JobTempAllocatorBlockSize: -1
25 | m_BackgroundJobTempAllocatorBlockSize: -1
26 | m_JobTempAllocatorReducedBlockSize: -1
27 | m_TempAllocatorSizeGIBakingWorker: -1
28 | m_TempAllocatorSizeNavMeshWorker: -1
29 | m_TempAllocatorSizeAudioWorker: -1
30 | m_TempAllocatorSizeCloudWorker: -1
31 | m_TempAllocatorSizeGfx: -1
32 | m_TempAllocatorSizeJobWorker: -1
33 | m_TempAllocatorSizeBackgroundWorker: -1
34 | m_TempAllocatorSizePreloadManager: -1
35 | m_PlatformMemorySettings: {}
36 |
--------------------------------------------------------------------------------
/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: 11
7 | m_SerializationMode: 2
8 | m_LineEndingsForNewScripts: 1
9 | m_DefaultBehaviorMode: 0
10 | m_PrefabRegularEnvironment: {fileID: 0}
11 | m_PrefabUIEnvironment: {fileID: 0}
12 | m_SpritePackerMode: 0
13 | m_SpritePackerPaddingPower: 1
14 | m_EtcTextureCompressorBehavior: 1
15 | m_EtcTextureFastCompressor: 1
16 | m_EtcTextureNormalCompressor: 2
17 | m_EtcTextureBestCompressor: 4
18 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;rsp;asmref
19 | m_ProjectGenerationRootNamespace:
20 | m_EnableTextureStreamingInEditMode: 1
21 | m_EnableTextureStreamingInPlayMode: 1
22 | m_AsyncShaderCompilation: 1
23 | m_CachingShaderPreprocessor: 0
24 | m_EnterPlayModeOptionsEnabled: 1
25 | m_EnterPlayModeOptions: 3
26 | m_GameObjectNamingDigits: 1
27 | m_GameObjectNamingScheme: 2
28 | m_AssetNamingUsesSpace: 1
29 | m_UseLegacyProbeSampleCount: 0
30 | m_SerializeInlineMappingsOnOneLine: 1
31 | m_DisableCookiesInLightmapper: 0
32 | m_AssetPipelineMode: 1
33 | m_CacheServerMode: 0
34 | m_CacheServerEndpoint:
35 | m_CacheServerNamespacePrefix: default
36 | m_CacheServerEnableDownload: 1
37 | m_CacheServerEnableUpload: 1
38 | m_CacheServerEnableAuth: 0
39 | m_CacheServerEnableTls: 0
40 |
--------------------------------------------------------------------------------
/ProjectSettings/PackageManagerSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &1
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 61
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 13964, guid: 0000000000000000e000000000000000, type: 0}
13 | m_Name:
14 | m_EditorClassIdentifier:
15 | m_EnablePreviewPackages: 1
16 | m_EnablePackageDependencies: 1
17 | m_AdvancedSettingsExpanded: 1
18 | m_ScopedRegistriesSettingsExpanded: 1
19 | oneTimeWarningShown: 1
20 | m_Registries:
21 | - m_Id: main
22 | m_Name:
23 | m_Url: https://packages.unity.com
24 | m_Scopes: []
25 | m_IsDefault: 1
26 | m_Capabilities: 7
27 | - m_Id: scoped:Keijiro
28 | m_Name: Keijiro
29 | m_Url: https://registry.npmjs.com
30 | m_Scopes:
31 | - jp.keijiro
32 | m_IsDefault: 0
33 | m_Capabilities: 0
34 | m_UserSelectedRegistryName:
35 | m_UserAddingNewScopedRegistry: 0
36 | m_RegistryInfoDraft:
37 | m_ErrorMessage:
38 | m_Original:
39 | m_Id: scoped:Keijiro
40 | m_Name: Keijiro
41 | m_Url: https://registry.npmjs.com
42 | m_Scopes:
43 | - jp.keijiro
44 | m_IsDefault: 0
45 | m_Capabilities: 0
46 | m_Modified: 0
47 | m_Name: Keijiro
48 | m_Url: https://registry.npmjs.com
49 | m_Scopes:
50 | - jp.keijiro
51 | m_SelectedScopeIndex: 0
52 |
--------------------------------------------------------------------------------
/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: 0
8 | m_QualitySettings:
9 | - serializedVersion: 2
10 | name: High
11 | pixelLightCount: 2
12 | shadows: 2
13 | shadowResolution: 1
14 | shadowProjection: 1
15 | shadowCascades: 2
16 | shadowDistance: 40
17 | shadowNearPlaneOffset: 3
18 | shadowCascade2Split: 0.33333334
19 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
20 | shadowmaskMode: 1
21 | skinWeights: 2
22 | textureQuality: 0
23 | anisotropicTextures: 1
24 | antiAliasing: 4
25 | softParticles: 0
26 | softVegetation: 1
27 | realtimeReflectionProbes: 1
28 | billboardsFaceCameraPosition: 1
29 | vSyncCount: 1
30 | lodBias: 1
31 | maximumLODLevel: 0
32 | streamingMipmapsActive: 0
33 | streamingMipmapsAddAllCameras: 1
34 | streamingMipmapsMemoryBudget: 512
35 | streamingMipmapsRenderersPerFrame: 512
36 | streamingMipmapsMaxLevelReduction: 2
37 | streamingMipmapsMaxFileIORequests: 1024
38 | particleRaycastBudget: 256
39 | asyncUploadTimeSlice: 2
40 | asyncUploadBufferSize: 16
41 | asyncUploadPersistentBuffer: 1
42 | resolutionScalingFixedDPIFactor: 1
43 | customRenderPipeline: {fileID: 0}
44 | excludedTargetPlatforms: []
45 | m_PerPlatformDefaultQuality:
46 | Android: 0
47 | Lumin: 0
48 | Nintendo 3DS: 0
49 | Nintendo Switch: 0
50 | PS4: 0
51 | PSP2: 0
52 | Stadia: 0
53 | Standalone: 0
54 | WebGL: 0
55 | Windows Store Apps: 0
56 | XboxOne: 0
57 | iPhone: 0
58 | tvOS: 0
59 |
--------------------------------------------------------------------------------
/Packages/jp.keijiro.osc-jack.visualscripting/Runtime/OscBangOutput.cs:
--------------------------------------------------------------------------------
1 | using OscJack;
2 | using System.Collections.Generic;
3 | using Unity.VisualScripting;
4 | using UnityEngine;
5 |
6 | namespace OscJack.VisualScripting {
7 |
8 | [UnitCategory("OSC"), UnitTitle("OSC Output (Bang)")]
9 | [RenamedFrom("Bolt.Addons.OscJack.OscBangOutput")]
10 | public sealed class OscBangOutput : Unit
11 | {
12 | #region Unit I/O
13 |
14 | [DoNotSerialize, PortLabelHidden]
15 | public ControlInput Enter { get; private set; }
16 |
17 | [DoNotSerialize]
18 | public ValueInput Connection { get; private set; }
19 |
20 | [DoNotSerialize]
21 | public ValueInput Address { get; private set; }
22 |
23 | [DoNotSerialize, PortLabelHidden]
24 | public ControlOutput Exit { get; private set; }
25 |
26 | #endregion
27 |
28 | #region Unit implementation
29 |
30 | protected override void Definition()
31 | {
32 | Enter = ControlInput(nameof(Enter), OnEnter);
33 | Exit = ControlOutput(nameof(Exit));
34 | Succession(Enter, Exit);
35 |
36 | Connection = ValueInput(nameof(Connection), null);
37 | Address = ValueInput(nameof(Address), "/unity");
38 | }
39 |
40 | ControlOutput OnEnter(Flow flow)
41 | {
42 | var connection = flow.GetValue(Connection);
43 | if (connection == null) return Exit;
44 |
45 | var client = OscMaster.GetSharedClient(connection.host, connection.port);
46 |
47 | var address = flow.GetValue(Address);
48 | client.Send(address);
49 |
50 | return Exit;
51 | }
52 |
53 | #endregion
54 | }
55 |
56 | } // namespace OscJack.VisualScripting
57 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/Packages/jp.keijiro.osc-jack.visualscripting/Runtime/OscIntOutput.cs:
--------------------------------------------------------------------------------
1 | using OscJack;
2 | using System.Collections.Generic;
3 | using Unity.VisualScripting;
4 | using UnityEngine;
5 |
6 | namespace OscJack.VisualScripting {
7 |
8 | [UnitCategory("OSC"), UnitTitle("OSC Output (Int)")]
9 | [RenamedFrom("Bolt.Addons.OscJack.OscIntOutput")]
10 | public sealed class OscIntOutput : Unit
11 | {
12 | #region Unit I/O
13 |
14 | [DoNotSerialize, PortLabelHidden]
15 | public ControlInput Enter { get; private set; }
16 |
17 | [DoNotSerialize]
18 | public ValueInput Connection { get; private set; }
19 |
20 | [DoNotSerialize]
21 | public ValueInput Address { get; private set; }
22 |
23 | [DoNotSerialize, PortLabel("Data")]
24 | public ValueInput Input { get; private set; }
25 |
26 | [DoNotSerialize, PortLabelHidden]
27 | public ControlOutput Exit { get; private set; }
28 |
29 | #endregion
30 |
31 | #region Unit implementation
32 |
33 | protected override void Definition()
34 | {
35 | Enter = ControlInput(nameof(Enter), OnEnter);
36 | Exit = ControlOutput(nameof(Exit));
37 | Succession(Enter, Exit);
38 |
39 | Connection = ValueInput(nameof(Connection), null);
40 | Address = ValueInput(nameof(Address), "/unity");
41 | Input = ValueInput(nameof(Input), 0);
42 | }
43 |
44 | ControlOutput OnEnter(Flow flow)
45 | {
46 | var connection = flow.GetValue(Connection);
47 | if (connection == null) return Exit;
48 |
49 | var client = OscMaster.GetSharedClient(connection.host, connection.port);
50 |
51 | var address = flow.GetValue(Address);
52 | var input = flow.GetValue(Input);
53 | client.Send(address, input);
54 |
55 | return Exit;
56 | }
57 |
58 | #endregion
59 | }
60 |
61 | } // namespace OscJack.VisualScripting
62 |
--------------------------------------------------------------------------------
/Packages/jp.keijiro.osc-jack.visualscripting/Runtime/OscFloatOutput.cs:
--------------------------------------------------------------------------------
1 | using OscJack;
2 | using System.Collections.Generic;
3 | using Unity.VisualScripting;
4 | using UnityEngine;
5 |
6 | namespace OscJack.VisualScripting {
7 |
8 | [UnitCategory("OSC"), UnitTitle("OSC Output (Float)")]
9 | [RenamedFrom("Bolt.Addons.OscJack.OscFloatOutput")]
10 | public sealed class OscFloatOutput : Unit
11 | {
12 | #region Unit I/O
13 |
14 | [DoNotSerialize, PortLabelHidden]
15 | public ControlInput Enter { get; private set; }
16 |
17 | [DoNotSerialize]
18 | public ValueInput Connection { get; private set; }
19 |
20 | [DoNotSerialize]
21 | public ValueInput Address { get; private set; }
22 |
23 | [DoNotSerialize, PortLabel("Data")]
24 | public ValueInput Input { get; private set; }
25 |
26 | [DoNotSerialize, PortLabelHidden]
27 | public ControlOutput Exit { get; private set; }
28 |
29 | #endregion
30 |
31 | #region Unit implementation
32 |
33 | protected override void Definition()
34 | {
35 | Enter = ControlInput(nameof(Enter), OnEnter);
36 | Exit = ControlOutput(nameof(Exit));
37 | Succession(Enter, Exit);
38 |
39 | Connection = ValueInput(nameof(Connection), null);
40 | Address = ValueInput(nameof(Address), "/unity");
41 | Input = ValueInput(nameof(Input), 0);
42 | }
43 |
44 | ControlOutput OnEnter(Flow flow)
45 | {
46 | var connection = flow.GetValue(Connection);
47 | if (connection == null) return Exit;
48 |
49 | var client = OscMaster.GetSharedClient(connection.host, connection.port);
50 |
51 | var address = flow.GetValue(Address);
52 | var input = flow.GetValue(Input);
53 | client.Send(address, input);
54 |
55 | return Exit;
56 | }
57 |
58 | #endregion
59 | }
60 |
61 | } // namespace OscJack.VisualScripting
62 |
--------------------------------------------------------------------------------
/Packages/jp.keijiro.osc-jack.visualscripting/Runtime/OscStringOutput.cs:
--------------------------------------------------------------------------------
1 | using OscJack;
2 | using System.Collections.Generic;
3 | using Unity.VisualScripting;
4 | using UnityEngine;
5 |
6 | namespace OscJack.VisualScripting {
7 |
8 | [UnitCategory("OSC"), UnitTitle("OSC Output (String)")]
9 | [RenamedFrom("Bolt.Addons.OscJack.OscStringOutput")]
10 | public sealed class OscStringOutput : Unit
11 | {
12 | #region Unit I/O
13 |
14 | [DoNotSerialize, PortLabelHidden]
15 | public ControlInput Enter { get; private set; }
16 |
17 | [DoNotSerialize]
18 | public ValueInput Connection { get; private set; }
19 |
20 | [DoNotSerialize]
21 | public ValueInput Address { get; private set; }
22 |
23 | [DoNotSerialize, PortLabel("Data")]
24 | public ValueInput Input { get; private set; }
25 |
26 | [DoNotSerialize, PortLabelHidden]
27 | public ControlOutput Exit { get; private set; }
28 |
29 | #endregion
30 |
31 | #region Unit implementation
32 |
33 | protected override void Definition()
34 | {
35 | Enter = ControlInput(nameof(Enter), OnEnter);
36 | Exit = ControlOutput(nameof(Exit));
37 | Succession(Enter, Exit);
38 |
39 | Connection = ValueInput(nameof(Connection), null);
40 | Address = ValueInput(nameof(Address), "/unity");
41 | Input = ValueInput(nameof(Input), "text");
42 | }
43 |
44 | ControlOutput OnEnter(Flow flow)
45 | {
46 | var connection = flow.GetValue(Connection);
47 | if (connection == null) return Exit;
48 |
49 | var client = OscMaster.GetSharedClient(connection.host, connection.port);
50 |
51 | var address = flow.GetValue(Address);
52 | var input = flow.GetValue(Input);
53 | client.Send(address, input);
54 |
55 | return Exit;
56 | }
57 |
58 | #endregion
59 | }
60 |
61 | } // namespace OscJack.VisualScripting
62 |
--------------------------------------------------------------------------------
/Packages/jp.keijiro.osc-jack.visualscripting/Runtime/OscVector2Output.cs:
--------------------------------------------------------------------------------
1 | using OscJack;
2 | using System.Collections.Generic;
3 | using Unity.VisualScripting;
4 | using UnityEngine;
5 |
6 | namespace OscJack.VisualScripting {
7 |
8 | [UnitCategory("OSC"), UnitTitle("OSC Output (Vector 2)")]
9 | [RenamedFrom("Bolt.Addons.OscJack.OscVector2Output")]
10 | public sealed class OscVector2Output : Unit
11 | {
12 | #region Unit I/O
13 |
14 | [DoNotSerialize, PortLabelHidden]
15 | public ControlInput Enter { get; private set; }
16 |
17 | [DoNotSerialize]
18 | public ValueInput Connection { get; private set; }
19 |
20 | [DoNotSerialize]
21 | public ValueInput Address { get; private set; }
22 |
23 | [DoNotSerialize, PortLabel("Data")]
24 | public ValueInput Input { get; private set; }
25 |
26 | [DoNotSerialize, PortLabelHidden]
27 | public ControlOutput Exit { get; private set; }
28 |
29 | #endregion
30 |
31 | #region Unit implementation
32 |
33 | protected override void Definition()
34 | {
35 | Enter = ControlInput(nameof(Enter), OnEnter);
36 | Exit = ControlOutput(nameof(Exit));
37 | Succession(Enter, Exit);
38 |
39 | Connection = ValueInput(nameof(Connection), null);
40 | Address = ValueInput(nameof(Address), "/unity");
41 | Input = ValueInput(nameof(Input), Vector2.zero);
42 | }
43 |
44 | ControlOutput OnEnter(Flow flow)
45 | {
46 | var connection = flow.GetValue(Connection);
47 | if (connection == null) return Exit;
48 |
49 | var client = OscMaster.GetSharedClient(connection.host, connection.port);
50 |
51 | var address = flow.GetValue(Address);
52 | var input = flow.GetValue(Input);
53 | client.Send(address, input.x, input.y);
54 |
55 | return Exit;
56 | }
57 |
58 | #endregion
59 | }
60 |
61 | } // namespace OscJack.VisualScripting
62 |
--------------------------------------------------------------------------------
/Packages/jp.keijiro.osc-jack.visualscripting/Runtime/OscVector3Output.cs:
--------------------------------------------------------------------------------
1 | using OscJack;
2 | using System.Collections.Generic;
3 | using Unity.VisualScripting;
4 | using UnityEngine;
5 |
6 | namespace OscJack.VisualScripting {
7 |
8 | [UnitCategory("OSC"), UnitTitle("OSC Output (Vector 3)")]
9 | [RenamedFrom("Bolt.Addons.OscJack.OscVector3Output")]
10 | public sealed class OscVector3Output : Unit
11 | {
12 | #region Unit I/O
13 |
14 | [DoNotSerialize, PortLabelHidden]
15 | public ControlInput Enter { get; private set; }
16 |
17 | [DoNotSerialize]
18 | public ValueInput Connection { get; private set; }
19 |
20 | [DoNotSerialize]
21 | public ValueInput Address { get; private set; }
22 |
23 | [DoNotSerialize, PortLabel("Data")]
24 | public ValueInput Input { get; private set; }
25 |
26 | [DoNotSerialize, PortLabelHidden]
27 | public ControlOutput Exit { get; private set; }
28 |
29 | #endregion
30 |
31 | #region Unit implementation
32 |
33 | protected override void Definition()
34 | {
35 | Enter = ControlInput(nameof(Enter), OnEnter);
36 | Exit = ControlOutput(nameof(Exit));
37 | Succession(Enter, Exit);
38 |
39 | Connection = ValueInput(nameof(Connection), null);
40 | Address = ValueInput(nameof(Address), "/unity");
41 | Input = ValueInput(nameof(Input), Vector3.zero);
42 | }
43 |
44 | ControlOutput OnEnter(Flow flow)
45 | {
46 | var connection = flow.GetValue(Connection);
47 | if (connection == null) return Exit;
48 |
49 | var client = OscMaster.GetSharedClient(connection.host, connection.port);
50 |
51 | var address = flow.GetValue(Address);
52 | var input = flow.GetValue(Input);
53 | client.Send(address, input.x, input.y, input.z);
54 |
55 | return Exit;
56 | }
57 |
58 | #endregion
59 | }
60 |
61 | } // namespace OscJack.VisualScripting
62 |
--------------------------------------------------------------------------------
/Packages/jp.keijiro.osc-jack.visualscripting/Runtime/OscVector4Output.cs:
--------------------------------------------------------------------------------
1 | using OscJack;
2 | using System.Collections.Generic;
3 | using Unity.VisualScripting;
4 | using UnityEngine;
5 |
6 | namespace OscJack.VisualScripting {
7 |
8 | [UnitCategory("OSC"), UnitTitle("OSC Output (Vector 4)")]
9 | [RenamedFrom("Bolt.Addons.OscJack.OscVector4Output")]
10 | public sealed class OscVector4Output : Unit
11 | {
12 | #region Unit I/O
13 |
14 | [DoNotSerialize, PortLabelHidden]
15 | public ControlInput Enter { get; private set; }
16 |
17 | [DoNotSerialize]
18 | public ValueInput Connection { get; private set; }
19 |
20 | [DoNotSerialize]
21 | public ValueInput Address { get; private set; }
22 |
23 | [DoNotSerialize, PortLabel("Data")]
24 | public ValueInput Input { get; private set; }
25 |
26 | [DoNotSerialize, PortLabelHidden]
27 | public ControlOutput Exit { get; private set; }
28 |
29 | #endregion
30 |
31 | #region Unit implementation
32 |
33 | protected override void Definition()
34 | {
35 | Enter = ControlInput(nameof(Enter), OnEnter);
36 | Exit = ControlOutput(nameof(Exit));
37 | Succession(Enter, Exit);
38 |
39 | Connection = ValueInput(nameof(Connection), null);
40 | Address = ValueInput(nameof(Address), "/unity");
41 | Input = ValueInput(nameof(Input), Vector4.zero);
42 | }
43 |
44 | ControlOutput OnEnter(Flow flow)
45 | {
46 | var connection = flow.GetValue(Connection);
47 | if (connection == null) return Exit;
48 |
49 | var client = OscMaster.GetSharedClient(connection.host, connection.port);
50 |
51 | var address = flow.GetValue(Address);
52 | var input = flow.GetValue(Input);
53 | client.Send(address, input.x, input.y, input.z, input.w);
54 |
55 | return Exit;
56 | }
57 |
58 | #endregion
59 | }
60 |
61 | } // namespace OscJack.VisualScripting
62 |
--------------------------------------------------------------------------------
/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: 4
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_JobOptions:
23 | serializedVersion: 2
24 | useMultithreading: 0
25 | useConsistencySorting: 0
26 | m_InterpolationPosesPerJob: 100
27 | m_NewContactsPerJob: 30
28 | m_CollideContactsPerJob: 100
29 | m_ClearFlagsPerJob: 200
30 | m_ClearBodyForcesPerJob: 200
31 | m_SyncDiscreteFixturesPerJob: 50
32 | m_SyncContinuousFixturesPerJob: 50
33 | m_FindNearestContactsPerJob: 100
34 | m_UpdateTriggerContactsPerJob: 100
35 | m_IslandSolverCostThreshold: 100
36 | m_IslandSolverBodyCostScale: 1
37 | m_IslandSolverContactCostScale: 10
38 | m_IslandSolverJointCostScale: 10
39 | m_IslandSolverBodiesPerJob: 50
40 | m_IslandSolverContactsPerJob: 50
41 | m_AutoSimulation: 1
42 | m_QueriesHitTriggers: 1
43 | m_QueriesStartInColliders: 1
44 | m_CallbacksOnDisable: 1
45 | m_ReuseCollisionCallbacks: 1
46 | m_AutoSyncTransforms: 0
47 | m_AlwaysShowColliders: 0
48 | m_ShowColliderSleep: 1
49 | m_ShowColliderContacts: 0
50 | m_ShowColliderAABB: 0
51 | m_ContactArrowScale: 0.2
52 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412}
53 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432}
54 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745}
55 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804}
56 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
57 |
--------------------------------------------------------------------------------
/Assets/Floor.mat:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!21 &2100000
4 | Material:
5 | serializedVersion: 6
6 | m_ObjectHideFlags: 0
7 | m_CorrespondingSourceObject: {fileID: 0}
8 | m_PrefabInstance: {fileID: 0}
9 | m_PrefabAsset: {fileID: 0}
10 | m_Name: Floor
11 | m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
12 | m_ShaderKeywords:
13 | m_LightmapFlags: 4
14 | m_EnableInstancingVariants: 0
15 | m_DoubleSidedGI: 0
16 | m_CustomRenderQueue: -1
17 | stringTagMap: {}
18 | disabledShaderPasses: []
19 | m_SavedProperties:
20 | serializedVersion: 3
21 | m_TexEnvs:
22 | - _BumpMap:
23 | m_Texture: {fileID: 0}
24 | m_Scale: {x: 1, y: 1}
25 | m_Offset: {x: 0, y: 0}
26 | - _DetailAlbedoMap:
27 | m_Texture: {fileID: 0}
28 | m_Scale: {x: 1, y: 1}
29 | m_Offset: {x: 0, y: 0}
30 | - _DetailMask:
31 | m_Texture: {fileID: 0}
32 | m_Scale: {x: 1, y: 1}
33 | m_Offset: {x: 0, y: 0}
34 | - _DetailNormalMap:
35 | m_Texture: {fileID: 0}
36 | m_Scale: {x: 1, y: 1}
37 | m_Offset: {x: 0, y: 0}
38 | - _EmissionMap:
39 | m_Texture: {fileID: 0}
40 | m_Scale: {x: 5, y: 5}
41 | m_Offset: {x: 0, y: 0}
42 | - _MainTex:
43 | m_Texture: {fileID: 2800000, guid: 258d58f14ddb5a544ba04a450bab9005, type: 3}
44 | m_Scale: {x: 5, y: 5}
45 | m_Offset: {x: 0, y: 0}
46 | - _MetallicGlossMap:
47 | m_Texture: {fileID: 0}
48 | m_Scale: {x: 1, y: 1}
49 | m_Offset: {x: 0, y: 0}
50 | - _OcclusionMap:
51 | m_Texture: {fileID: 0}
52 | m_Scale: {x: 1, y: 1}
53 | m_Offset: {x: 0, y: 0}
54 | - _ParallaxMap:
55 | m_Texture: {fileID: 0}
56 | m_Scale: {x: 1, y: 1}
57 | m_Offset: {x: 0, y: 0}
58 | m_Floats:
59 | - _BumpScale: 1
60 | - _Cutoff: 0.5
61 | - _DetailNormalMapScale: 1
62 | - _DstBlend: 0
63 | - _GlossMapScale: 1
64 | - _Glossiness: 0
65 | - _GlossyReflections: 1
66 | - _Metallic: 0
67 | - _Mode: 0
68 | - _OcclusionStrength: 1
69 | - _Parallax: 0.02
70 | - _SmoothnessTextureChannel: 0
71 | - _SpecularHighlights: 1
72 | - _SrcBlend: 1
73 | - _UVSec: 0
74 | - _ZWrite: 1
75 | m_Colors:
76 | - _Color: {r: 1, g: 1, b: 1, a: 1}
77 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
78 | m_BuildTextureStacks: []
79 |
--------------------------------------------------------------------------------
/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: 13
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 | m_PreloadedShaders: []
39 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000,
40 | type: 0}
41 | m_CustomRenderPipeline: {fileID: 0}
42 | m_TransparencySortMode: 0
43 | m_TransparencySortAxis: {x: 0, y: 0, z: 1}
44 | m_DefaultRenderingPath: 1
45 | m_DefaultMobileRenderingPath: 1
46 | m_TierSettings: []
47 | m_LightmapStripping: 0
48 | m_FogStripping: 0
49 | m_InstancingStripping: 0
50 | m_LightmapKeepPlain: 1
51 | m_LightmapKeepDirCombined: 1
52 | m_LightmapKeepDynamicPlain: 1
53 | m_LightmapKeepDynamicDirCombined: 1
54 | m_LightmapKeepShadowMask: 1
55 | m_LightmapKeepSubtractive: 1
56 | m_FogKeepLinear: 1
57 | m_FogKeepExp: 1
58 | m_FogKeepExp2: 1
59 | m_AlbedoSwatchInfos: []
60 | m_LightsUseLinearIntensity: 0
61 | m_LightsUseColorTemperature: 0
62 | m_LogWhenShaderIsCompiled: 0
63 | m_AllowEnlightenSupportForUpgradedProject: 0
64 |
--------------------------------------------------------------------------------
/Packages/packages-lock.json:
--------------------------------------------------------------------------------
1 | {
2 | "dependencies": {
3 | "com.unity.ugui": {
4 | "version": "1.0.0",
5 | "depth": 2,
6 | "source": "builtin",
7 | "dependencies": {
8 | "com.unity.modules.ui": "1.0.0",
9 | "com.unity.modules.imgui": "1.0.0"
10 | }
11 | },
12 | "com.unity.visualscripting": {
13 | "version": "1.7.6",
14 | "depth": 1,
15 | "source": "registry",
16 | "dependencies": {
17 | "com.unity.ugui": "1.0.0",
18 | "com.unity.modules.jsonserialize": "1.0.0"
19 | },
20 | "url": "https://packages.unity.com"
21 | },
22 | "jp.keijiro.osc-jack": {
23 | "version": "2.0.0",
24 | "depth": 1,
25 | "source": "registry",
26 | "dependencies": {},
27 | "url": "https://registry.npmjs.com"
28 | },
29 | "jp.keijiro.osc-jack.visualscripting": {
30 | "version": "file:jp.keijiro.osc-jack.visualscripting",
31 | "depth": 0,
32 | "source": "embedded",
33 | "dependencies": {
34 | "com.unity.modules.uielements": "1.0.0",
35 | "com.unity.visualscripting": "1.5.2",
36 | "jp.keijiro.osc-jack": "2.0.0"
37 | }
38 | },
39 | "jp.keijiro.test-assets": {
40 | "version": "1.0.1",
41 | "depth": 0,
42 | "source": "registry",
43 | "dependencies": {},
44 | "url": "https://registry.npmjs.com"
45 | },
46 | "com.unity.modules.imgui": {
47 | "version": "1.0.0",
48 | "depth": 2,
49 | "source": "builtin",
50 | "dependencies": {}
51 | },
52 | "com.unity.modules.jsonserialize": {
53 | "version": "1.0.0",
54 | "depth": 2,
55 | "source": "builtin",
56 | "dependencies": {}
57 | },
58 | "com.unity.modules.ui": {
59 | "version": "1.0.0",
60 | "depth": 2,
61 | "source": "builtin",
62 | "dependencies": {}
63 | },
64 | "com.unity.modules.uielements": {
65 | "version": "1.0.0",
66 | "depth": 1,
67 | "source": "builtin",
68 | "dependencies": {
69 | "com.unity.modules.ui": "1.0.0",
70 | "com.unity.modules.imgui": "1.0.0",
71 | "com.unity.modules.jsonserialize": "1.0.0",
72 | "com.unity.modules.uielementsnative": "1.0.0"
73 | }
74 | },
75 | "com.unity.modules.uielementsnative": {
76 | "version": "1.0.0",
77 | "depth": 2,
78 | "source": "builtin",
79 | "dependencies": {
80 | "com.unity.modules.ui": "1.0.0",
81 | "com.unity.modules.imgui": "1.0.0",
82 | "com.unity.modules.jsonserialize": "1.0.0"
83 | }
84 | }
85 | }
86 | }
87 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | OSCJackVS
2 | =========
3 |
4 | 
5 |
6 | **OscJackVS** is an extension for visual scripting in [Unity] that adds custom
7 | nodes for handling [OSC (Open Sound Control)] messages.
8 |
9 | [OSC (Open Sound Control)]: http://opensoundcontrol.org/
10 | [Unity]: https://unity3d.com/
11 |
12 | It uses [OSC Jack] as a backend. If you're interested in using OSC without
13 | visual scripting, please check the [OSC Jack] project.
14 |
15 | [OSC Jack]: https://github.com/keijiro/OscJack
16 |
17 | System Requirements
18 | -------------------
19 |
20 | - Unity 2021.3 or later
21 |
22 | OSC Jack requires `System.Net.Sockets` supported on most platforms but a few
23 | network-restrictive platforms like WebGL.
24 |
25 | How To Install
26 | --------------
27 |
28 | This package is available in the `Keijiro` scoped registry.
29 |
30 | - Name: `Keijiro`
31 | - URL: `https://registry.npmjs.com`
32 | - Scope: `jp.keijiro`
33 |
34 | Please follow [this gist] to add the registry to your project.
35 |
36 | [this gist]: https://gist.github.com/keijiro/f8c7e8ff29bfe63d86b888901b82644c
37 |
38 | OSC Connection
39 | --------------
40 |
41 | 
42 |
43 | The OSC Jack components require **OSC Connection** files to specify connection
44 | types, host addresses and port numbers. To create a new OSC Connection file,
45 | navigate to Assets > Create > ScriptableObjects > OSC Jack > Connection.
46 |
47 | You must specify a target host address to send OSC messages (leave it empty for
48 | receive-only connections).
49 |
50 | Custom Nodes
51 | ------------
52 |
53 | ### OSC Input
54 |
55 | 
56 |
57 | **OSC Input** receives OSC messages in a flow graph.
58 |
59 | There are the following variants for different data types:
60 |
61 | - OscBangInput (trigger without data)
62 | - OscIntInput
63 | - OscFloatInput
64 | - OscStringInput
65 | - OscVector2Input
66 | - OscVector3Input
67 | - OscVector4Input
68 |
69 | Note that it triggers the event multiple times in a single frame.
70 |
71 | ### OSC Output
72 |
73 | 
74 |
75 | **OSC Output** sends OSC messages from a flow graph.
76 |
77 | There are the following variants for different data types:
78 |
79 | - OscBangOutput (trigger without data)
80 | - OscIntOutput
81 | - OscFloatOutput
82 | - OscStringOutput
83 | - OscVector2Output
84 | - OscVector3Output
85 | - OscVector4Output
86 |
--------------------------------------------------------------------------------
/Packages/jp.keijiro.osc-jack.visualscripting/README.md:
--------------------------------------------------------------------------------
1 | OSCJackVS
2 | =========
3 |
4 | 
5 |
6 | **OscJackVS** is an extension for visual scripting in [Unity] that adds custom
7 | nodes for handling [OSC (Open Sound Control)] messages.
8 |
9 | [OSC (Open Sound Control)]: http://opensoundcontrol.org/
10 | [Unity]: https://unity3d.com/
11 |
12 | It uses [OSC Jack] as a backend. If you're interested in using OSC without
13 | visual scripting, please check the [OSC Jack] project.
14 |
15 | [OSC Jack]: https://github.com/keijiro/OscJack
16 |
17 | System Requirements
18 | -------------------
19 |
20 | - Unity 2021.3 or later
21 |
22 | OSC Jack requires `System.Net.Sockets` supported on most platforms but a few
23 | network-restrictive platforms like WebGL.
24 |
25 | How To Install
26 | --------------
27 |
28 | This package is available in the `Keijiro` scoped registry.
29 |
30 | - Name: `Keijiro`
31 | - URL: `https://registry.npmjs.com`
32 | - Scope: `jp.keijiro`
33 |
34 | Please follow [this gist] to add the registry to your project.
35 |
36 | [this gist]: https://gist.github.com/keijiro/f8c7e8ff29bfe63d86b888901b82644c
37 |
38 | OSC Connection
39 | --------------
40 |
41 | 
42 |
43 | The OSC Jack components require **OSC Connection** files to specify connection
44 | types, host addresses and port numbers. To create a new OSC Connection file,
45 | navigate to Assets > Create > ScriptableObjects > OSC Jack > Connection.
46 |
47 | You must specify a target host address to send OSC messages (leave it empty for
48 | receive-only connections).
49 |
50 | Custom Nodes
51 | ------------
52 |
53 | ### OSC Input
54 |
55 | 
56 |
57 | **OSC Input** receives OSC messages in a flow graph.
58 |
59 | There are the following variants for different data types:
60 |
61 | - OscBangInput (trigger without data)
62 | - OscIntInput
63 | - OscFloatInput
64 | - OscStringInput
65 | - OscVector2Input
66 | - OscVector3Input
67 | - OscVector4Input
68 |
69 | Note that it triggers the event multiple times in a single frame.
70 |
71 | ### OSC Output
72 |
73 | 
74 |
75 | **OSC Output** sends OSC messages from a flow graph.
76 |
77 | There are the following variants for different data types:
78 |
79 | - OscBangOutput (trigger without data)
80 | - OscIntOutput
81 | - OscFloatOutput
82 | - OscStringOutput
83 | - OscVector2Output
84 | - OscVector3Output
85 | - OscVector4Output
86 |
--------------------------------------------------------------------------------
/ProjectSettings/VisualScriptingSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &1
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 0
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 11500000, guid: 65bae8b9f1bd244b3a27e92af4b23b2a, type: 3}
13 | m_Name:
14 | m_EditorClassIdentifier:
15 | _data:
16 | _json: '{"dictionary":{"aotSafeMode":{"$content":true,"$type":"System.Boolean"},"favoriteMembers":{"$content":[],"$type":"System.Collections.Generic.HashSet`1[[Unity.VisualScripting.Member,
17 | Unity.VisualScripting.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]"},"assemblyOptions":{"$content":["mscorlib","Assembly-CSharp-firstpass","Assembly-CSharp","UnityEngine","UnityEngine.CoreModule","UnityEngine.InputModule","UnityEngine.ClusterInputModule","UnityEngine.InputLegacyModule","UnityEngine.PhysicsModule","UnityEngine.Physics2DModule","UnityEngine.TerrainPhysicsModule","UnityEngine.VehiclesModule","UnityEngine.AudioModule","UnityEngine.AnimationModule","UnityEngine.VideoModule","UnityEngine.DirectorModule","UnityEngine.Timeline","UnityEngine.ParticleSystemModule","UnityEngine.ParticlesLegacyModule","UnityEngine.WindModule","UnityEngine.ClothModule","UnityEngine.TilemapModule","UnityEngine.SpriteMaskModule","UnityEngine.TerrainModule","UnityEngine.ImageConversionModule","UnityEngine.TextRenderingModule","UnityEngine.ClusterRendererModule","UnityEngine.ScreenCaptureModule","UnityEngine.AIModule","UnityEngine.UI","UnityEngine.UIModule","UnityEngine.IMGUIModule","UnityEngine.UIElementsModule","UnityEngine.StyleSheetsModule","UnityEngine.VR","UnityEngine.VRModule","UnityEngine.ARModule","UnityEngine.HoloLens","UnityEngine.SpatialTracking","UnityEngine.GoogleAudioSpatializer","UnityEngine.Networking","UnityEngine.Analytics","UnityEngine.Advertisements","UnityEngine.Purchasing","UnityEngine.UnityConnectModule","UnityEngine.UnityAnalyticsModule","UnityEngine.GameCenterModule","UnityEngine.AccessibilityModule","UnityEngine.AndroidJNIModule","UnityEngine.AssetBundleModule","UnityEngine.FileSystemHttpModule","UnityEngine.JSONSerializeModule","UnityEngine.UmbraModule","Unity.Timeline","Unity.Timeline.Editor","Cinemachine","com.unity.cinemachine.Editor","Unity.InputSystem","Unity.VisualScripting.Core","Unity.VisualScripting.Flow","Unity.VisualScripting.State"],"$type":"System.Collections.Generic.List`1[[Unity.VisualScripting.LooseAssemblyName,
18 | Unity.VisualScripting.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]"},"typeOptions":{"$content":["System.Object","System.Boolean","System.Int32","System.Single","System.String","UnityEngine.Vector2","UnityEngine.Vector3","UnityEngine.Vector4","UnityEngine.Quaternion","UnityEngine.Matrix4x4","UnityEngine.Rect","UnityEngine.Bounds","UnityEngine.Color","UnityEngine.AnimationCurve","UnityEngine.LayerMask","UnityEngine.Ray","UnityEngine.Ray2D","UnityEngine.RaycastHit","UnityEngine.RaycastHit2D","UnityEngine.ContactPoint","UnityEngine.ContactPoint2D","UnityEngine.ParticleCollisionEvent","UnityEngine.SceneManagement.Scene","UnityEngine.Application","UnityEngine.Resources","UnityEngine.Mathf","UnityEngine.Debug","UnityEngine.Input","UnityEngine.Touch","UnityEngine.Screen","UnityEngine.Cursor","UnityEngine.Time","UnityEngine.Random","UnityEngine.Physics","UnityEngine.Physics2D","UnityEngine.SceneManagement.SceneManager","UnityEngine.GUI","UnityEngine.GUILayout","UnityEngine.GUIUtility","UnityEngine.Audio.AudioMixerGroup","UnityEngine.AI.NavMesh","UnityEngine.Gizmos","UnityEngine.AnimatorStateInfo","UnityEngine.EventSystems.BaseEventData","UnityEngine.EventSystems.PointerEventData","UnityEngine.EventSystems.AxisEventData","System.Collections.IList","System.Collections.IDictionary","Unity.VisualScripting.AotList","Unity.VisualScripting.AotDictionary","System.Exception"],"$type":"System.Collections.Generic.List`1[[System.Type,
19 | mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"},"projectSetupCompleted":{"$content":false,"$type":"System.Boolean"},"savedVersion":{"major":1,"minor":7,"patch":6,"label":null,"increment":0,"$type":"Unity.VisualScripting.SemanticVersion"}}}'
20 | _objectReferences: []
21 |
--------------------------------------------------------------------------------
/Packages/jp.keijiro.osc-jack.visualscripting/Runtime/OscBangInput.cs:
--------------------------------------------------------------------------------
1 | using OscJack;
2 | using System.Collections.Generic;
3 | using Unity.VisualScripting;
4 | using UnityEngine;
5 |
6 | namespace OscJack.VisualScripting {
7 |
8 | [UnitCategory("OSC"), UnitTitle("OSC Input (Bang)")]
9 | [RenamedFrom("Bolt.Addons.OscJack.OscBangInput")]
10 | public sealed class OscBangInput
11 | : Unit, IGraphElementWithData, IGraphEventListener
12 | {
13 | #region Data class
14 |
15 | public sealed class Data : IGraphElementData
16 | {
17 | public System.Action UpdateAction { get; set; }
18 | public int BangCount { get; set; }
19 | public bool IsOpened => _port != 0;
20 |
21 | int _port;
22 | string _address;
23 |
24 | public void UpdateConnection(OscConnection connection, string address)
25 | {
26 | if (IsOpened)
27 | {
28 | if (connection?.port == _port && address == _address)
29 | {
30 | // The current connection is okay.
31 | }
32 | else
33 | {
34 | // The destination was changed. Reopen the connection.
35 | Close();
36 | TryOpen(connection, address);
37 | }
38 | }
39 | else
40 | {
41 | // No connection. Open the connection.
42 | TryOpen(connection, address);
43 | }
44 | }
45 |
46 | void TryOpen(OscConnection connection, string address)
47 | {
48 | if (connection == null || string.IsNullOrEmpty(address)) return;
49 |
50 | _port = connection.port;
51 | _address = address;
52 |
53 | var server = OscMaster.GetSharedServer(_port);
54 | server.MessageDispatcher.AddCallback(_address, OnDataReceive);
55 | }
56 |
57 | public void Close()
58 | {
59 | var server = OscMaster.GetSharedServer(_port);
60 | server.MessageDispatcher.RemoveCallback(_address, OnDataReceive);
61 |
62 | _port = 0;
63 | _address = null;
64 | }
65 |
66 | void OnDataReceive(string address, OscDataHandle data)
67 | => BangCount++;
68 | }
69 |
70 | public IGraphElementData CreateData() => new Data();
71 |
72 | #endregion
73 |
74 | #region Unit I/O
75 |
76 | [DoNotSerialize]
77 | public ValueInput Connection { get; private set; }
78 |
79 | [DoNotSerialize]
80 | public ValueInput Address { get; private set; }
81 |
82 | [DoNotSerialize, PortLabelHidden]
83 | public ControlOutput Received { get; private set; }
84 |
85 | #endregion
86 |
87 | #region Unit implementation
88 |
89 | protected override void Definition()
90 | {
91 | isControlRoot = true;
92 | Connection = ValueInput(nameof(Connection), null);
93 | Address = ValueInput(nameof(Address), "/unity");
94 | Received = ControlOutput(nameof(Received));
95 | }
96 |
97 | #endregion
98 |
99 | #region Graph event listener
100 |
101 | public void StartListening(GraphStack stack)
102 | {
103 | var data = stack.GetElementData(this);
104 | if (data.UpdateAction != null) return;
105 |
106 | var reference = stack.ToReference();
107 | data.UpdateAction = args => OnUpdate(reference);
108 |
109 | var hook = new EventHook(EventHooks.Update, stack.machine);
110 | EventBus.Register(hook, data.UpdateAction);
111 | }
112 |
113 | public void StopListening(GraphStack stack)
114 | {
115 | var data = stack.GetElementData(this);
116 | if (data.UpdateAction == null) return;
117 |
118 | var hook = new EventHook(EventHooks.Update, stack.machine);
119 | EventBus.Unregister(hook, data.UpdateAction);
120 |
121 | if (data.IsOpened) data.Close();
122 | data.UpdateAction = null;
123 | }
124 |
125 | public bool IsListening(GraphPointer pointer)
126 | => pointer.GetElementData(this).UpdateAction != null;
127 |
128 | #endregion
129 |
130 | #region Update hook
131 |
132 | void OnUpdate(GraphReference reference)
133 | {
134 | using var flow = Flow.New(reference);
135 |
136 | var data = flow.stack.GetElementData(this);
137 | var connection = flow.GetValue(Connection);
138 | var address = flow.GetValue(Address);
139 |
140 | data.UpdateConnection(connection, address);
141 |
142 | for (; data.BangCount > 0; data.BangCount--) flow.Invoke(Received);
143 | }
144 |
145 | #endregion
146 | }
147 |
148 | } // namespace OscJack.VisualScripting
149 |
--------------------------------------------------------------------------------
/Packages/jp.keijiro.osc-jack.visualscripting/Runtime/OscIntInput.cs:
--------------------------------------------------------------------------------
1 | using OscJack;
2 | using System.Collections.Generic;
3 | using Unity.VisualScripting;
4 | using UnityEngine;
5 |
6 | namespace OscJack.VisualScripting {
7 |
8 | [UnitCategory("OSC"), UnitTitle("OSC Input (int)")]
9 | [RenamedFrom("Bolt.Addons.OscJack.OscIntInput")]
10 | public sealed class OscIntInput
11 | : Unit, IGraphElementWithData, IGraphEventListener
12 | {
13 | #region Data class
14 |
15 | public sealed class Data : IGraphElementData
16 | {
17 | public System.Action UpdateAction { get; set; }
18 | public int LastValue { get; private set; }
19 | public bool IsOpened => _port != 0;
20 | public bool HasNewValue => _queue.Count > 0;
21 |
22 | int _port;
23 | string _address;
24 | Queue _queue = new Queue();
25 |
26 | public void Dequeue()
27 | => LastValue = _queue.Dequeue();
28 |
29 | public void UpdateConnection(OscConnection connection, string address)
30 | {
31 | if (IsOpened)
32 | {
33 | if (connection?.port == _port && address == _address)
34 | {
35 | // The current connection is okay.
36 | }
37 | else
38 | {
39 | // The destination was changed. Reopen the connection.
40 | Close();
41 | TryOpen(connection, address);
42 | }
43 | }
44 | else
45 | {
46 | // No connection. Open the connection.
47 | TryOpen(connection, address);
48 | }
49 | }
50 |
51 | void TryOpen(OscConnection connection, string address)
52 | {
53 | if (connection == null || string.IsNullOrEmpty(address)) return;
54 |
55 | _port = connection.port;
56 | _address = address;
57 |
58 | var server = OscMaster.GetSharedServer(_port);
59 | server.MessageDispatcher.AddCallback(_address, OnDataReceive);
60 | }
61 |
62 | public void Close()
63 | {
64 | var server = OscMaster.GetSharedServer(_port);
65 | server.MessageDispatcher.RemoveCallback(_address, OnDataReceive);
66 |
67 | _port = 0;
68 | _address = null;
69 | _queue.Clear();
70 | }
71 |
72 | void OnDataReceive(string address, OscDataHandle data)
73 | {
74 | lock (_queue) _queue.Enqueue(data.GetElementAsInt(0));
75 | }
76 | }
77 |
78 | public IGraphElementData CreateData() => new Data();
79 |
80 | #endregion
81 |
82 | #region Unit I/O
83 |
84 | [DoNotSerialize]
85 | public ValueInput Connection { get; private set; }
86 |
87 | [DoNotSerialize]
88 | public ValueInput Address { get; private set; }
89 |
90 | [DoNotSerialize, PortLabelHidden]
91 | public ControlOutput Received { get; private set; }
92 |
93 | [DoNotSerialize, PortLabelHidden]
94 | public ValueOutput Value { get; private set; }
95 |
96 | #endregion
97 |
98 | #region Unit implementation
99 |
100 | protected override void Definition()
101 | {
102 | isControlRoot = true;
103 | Connection = ValueInput(nameof(Connection), null);
104 | Address = ValueInput(nameof(Address), "/unity");
105 | Received = ControlOutput(nameof(Received));
106 | Value = ValueOutput(nameof(Value), GetValue);
107 | }
108 |
109 | int GetValue(Flow flow)
110 | => flow.stack.GetElementData(this).LastValue;
111 |
112 | #endregion
113 |
114 | #region Graph event listener
115 |
116 | public void StartListening(GraphStack stack)
117 | {
118 | var data = stack.GetElementData(this);
119 | if (data.UpdateAction != null) return;
120 |
121 | var reference = stack.ToReference();
122 | data.UpdateAction = args => OnUpdate(reference);
123 |
124 | var hook = new EventHook(EventHooks.Update, stack.machine);
125 | EventBus.Register(hook, data.UpdateAction);
126 | }
127 |
128 | public void StopListening(GraphStack stack)
129 | {
130 | var data = stack.GetElementData(this);
131 | if (data.UpdateAction == null) return;
132 |
133 | var hook = new EventHook(EventHooks.Update, stack.machine);
134 | EventBus.Unregister(hook, data.UpdateAction);
135 |
136 | if (data.IsOpened) data.Close();
137 | data.UpdateAction = null;
138 | }
139 |
140 | public bool IsListening(GraphPointer pointer)
141 | => pointer.GetElementData(this).UpdateAction != null;
142 |
143 | #endregion
144 |
145 | #region Update hook
146 |
147 | void OnUpdate(GraphReference reference)
148 | {
149 | using var flow = Flow.New(reference);
150 |
151 | var data = flow.stack.GetElementData(this);
152 | var connection = flow.GetValue(Connection);
153 | var address = flow.GetValue(Address);
154 |
155 | data.UpdateConnection(connection, address);
156 |
157 | while (data.HasNewValue)
158 | {
159 | data.Dequeue();
160 | flow.Invoke(Received);
161 | }
162 | }
163 |
164 | #endregion
165 | }
166 |
167 | } // namespace OscJack.VisualScripting
168 |
--------------------------------------------------------------------------------
/Packages/jp.keijiro.osc-jack.visualscripting/Runtime/OscFloatInput.cs:
--------------------------------------------------------------------------------
1 | using OscJack;
2 | using System.Collections.Generic;
3 | using Unity.VisualScripting;
4 | using UnityEngine;
5 |
6 | namespace OscJack.VisualScripting {
7 |
8 | [UnitCategory("OSC"), UnitTitle("OSC Input (float)")]
9 | [RenamedFrom("Bolt.Addons.OscJack.OscFloatInput")]
10 | public sealed class OscFloatInput
11 | : Unit, IGraphElementWithData, IGraphEventListener
12 | {
13 | #region Data class
14 |
15 | public sealed class Data : IGraphElementData
16 | {
17 | public System.Action UpdateAction { get; set; }
18 | public float LastValue { get; private set; }
19 | public bool IsOpened => _port != 0;
20 | public bool HasNewValue => _queue.Count > 0;
21 |
22 | int _port;
23 | string _address;
24 | Queue _queue = new Queue();
25 |
26 | public void Dequeue()
27 | => LastValue = _queue.Dequeue();
28 |
29 | public void UpdateConnection(OscConnection connection, string address)
30 | {
31 | if (IsOpened)
32 | {
33 | if (connection?.port == _port && address == _address)
34 | {
35 | // The current connection is okay.
36 | }
37 | else
38 | {
39 | // The destination was changed. Reopen the connection.
40 | Close();
41 | TryOpen(connection, address);
42 | }
43 | }
44 | else
45 | {
46 | // No connection. Open the connection.
47 | TryOpen(connection, address);
48 | }
49 | }
50 |
51 | void TryOpen(OscConnection connection, string address)
52 | {
53 | if (connection == null || string.IsNullOrEmpty(address)) return;
54 |
55 | _port = connection.port;
56 | _address = address;
57 |
58 | var server = OscMaster.GetSharedServer(_port);
59 | server.MessageDispatcher.AddCallback(_address, OnDataReceive);
60 | }
61 |
62 | public void Close()
63 | {
64 | var server = OscMaster.GetSharedServer(_port);
65 | server.MessageDispatcher.RemoveCallback(_address, OnDataReceive);
66 |
67 | _port = 0;
68 | _address = null;
69 | _queue.Clear();
70 | }
71 |
72 | void OnDataReceive(string address, OscDataHandle data)
73 | {
74 | lock (_queue) _queue.Enqueue(data.GetElementAsFloat(0));
75 | }
76 | }
77 |
78 | public IGraphElementData CreateData() => new Data();
79 |
80 | #endregion
81 |
82 | #region Unit I/O
83 |
84 | [DoNotSerialize]
85 | public ValueInput Connection { get; private set; }
86 |
87 | [DoNotSerialize]
88 | public ValueInput Address { get; private set; }
89 |
90 | [DoNotSerialize, PortLabelHidden]
91 | public ControlOutput Received { get; private set; }
92 |
93 | [DoNotSerialize, PortLabelHidden]
94 | public ValueOutput Value { get; private set; }
95 |
96 | #endregion
97 |
98 | #region Unit implementation
99 |
100 | protected override void Definition()
101 | {
102 | isControlRoot = true;
103 | Connection = ValueInput(nameof(Connection), null);
104 | Address = ValueInput(nameof(Address), "/unity");
105 | Received = ControlOutput(nameof(Received));
106 | Value = ValueOutput(nameof(Value), GetValue);
107 | }
108 |
109 | float GetValue(Flow flow)
110 | => flow.stack.GetElementData(this).LastValue;
111 |
112 | #endregion
113 |
114 | #region Graph event listener
115 |
116 | public void StartListening(GraphStack stack)
117 | {
118 | var data = stack.GetElementData(this);
119 | if (data.UpdateAction != null) return;
120 |
121 | var reference = stack.ToReference();
122 | data.UpdateAction = args => OnUpdate(reference);
123 |
124 | var hook = new EventHook(EventHooks.Update, stack.machine);
125 | EventBus.Register(hook, data.UpdateAction);
126 | }
127 |
128 | public void StopListening(GraphStack stack)
129 | {
130 | var data = stack.GetElementData(this);
131 | if (data.UpdateAction == null) return;
132 |
133 | var hook = new EventHook(EventHooks.Update, stack.machine);
134 | EventBus.Unregister(hook, data.UpdateAction);
135 |
136 | if (data.IsOpened) data.Close();
137 | data.UpdateAction = null;
138 | }
139 |
140 | public bool IsListening(GraphPointer pointer)
141 | => pointer.GetElementData(this).UpdateAction != null;
142 |
143 | #endregion
144 |
145 | #region Update hook
146 |
147 | void OnUpdate(GraphReference reference)
148 | {
149 | using var flow = Flow.New(reference);
150 |
151 | var data = flow.stack.GetElementData(this);
152 | var connection = flow.GetValue(Connection);
153 | var address = flow.GetValue(Address);
154 |
155 | data.UpdateConnection(connection, address);
156 |
157 | while (data.HasNewValue)
158 | {
159 | data.Dequeue();
160 | flow.Invoke(Received);
161 | }
162 | }
163 |
164 | #endregion
165 | }
166 |
167 | } // namespace OscJack.VisualScripting
168 |
--------------------------------------------------------------------------------
/Packages/jp.keijiro.osc-jack.visualscripting/Runtime/OscStringInput.cs:
--------------------------------------------------------------------------------
1 | using OscJack;
2 | using System.Collections.Generic;
3 | using Unity.VisualScripting;
4 | using UnityEngine;
5 |
6 | namespace OscJack.VisualScripting {
7 |
8 | [UnitCategory("OSC"), UnitTitle("OSC Input (String)")]
9 | [RenamedFrom("Bolt.Addons.OscJack.OscStringInput")]
10 | public sealed class OscStringInput
11 | : Unit, IGraphElementWithData, IGraphEventListener
12 | {
13 | #region Data class
14 |
15 | public sealed class Data : IGraphElementData
16 | {
17 | public System.Action UpdateAction { get; set; }
18 | public string LastValue { get; private set; }
19 | public bool IsOpened => _port != 0;
20 | public bool HasNewValue => _queue.Count > 0;
21 |
22 | int _port;
23 | string _address;
24 | Queue _queue = new Queue();
25 |
26 | public void Dequeue()
27 | => LastValue = _queue.Dequeue();
28 |
29 | public void UpdateConnection(OscConnection connection, string address)
30 | {
31 | if (IsOpened)
32 | {
33 | if (connection?.port == _port && address == _address)
34 | {
35 | // The current connection is okay.
36 | }
37 | else
38 | {
39 | // The destination was changed. Reopen the connection.
40 | Close();
41 | TryOpen(connection, address);
42 | }
43 | }
44 | else
45 | {
46 | // No connection. Open the connection.
47 | TryOpen(connection, address);
48 | }
49 | }
50 |
51 | void TryOpen(OscConnection connection, string address)
52 | {
53 | if (connection == null || string.IsNullOrEmpty(address)) return;
54 |
55 | _port = connection.port;
56 | _address = address;
57 |
58 | var server = OscMaster.GetSharedServer(_port);
59 | server.MessageDispatcher.AddCallback(_address, OnDataReceive);
60 | }
61 |
62 | public void Close()
63 | {
64 | var server = OscMaster.GetSharedServer(_port);
65 | server.MessageDispatcher.RemoveCallback(_address, OnDataReceive);
66 |
67 | _port = 0;
68 | _address = null;
69 | _queue.Clear();
70 | }
71 |
72 | void OnDataReceive(string address, OscDataHandle data)
73 | {
74 | lock (_queue) _queue.Enqueue(data.GetElementAsString(0));
75 | }
76 | }
77 |
78 | public IGraphElementData CreateData() => new Data();
79 |
80 | #endregion
81 |
82 | #region Unit I/O
83 |
84 | [DoNotSerialize]
85 | public ValueInput Connection { get; private set; }
86 |
87 | [DoNotSerialize]
88 | public ValueInput Address { get; private set; }
89 |
90 | [DoNotSerialize, PortLabelHidden]
91 | public ControlOutput Received { get; private set; }
92 |
93 | [DoNotSerialize, PortLabelHidden]
94 | public ValueOutput Value { get; private set; }
95 |
96 | #endregion
97 |
98 | #region Unit implementation
99 |
100 | protected override void Definition()
101 | {
102 | isControlRoot = true;
103 | Connection = ValueInput(nameof(Connection), null);
104 | Address = ValueInput(nameof(Address), "/unity");
105 | Received = ControlOutput(nameof(Received));
106 | Value = ValueOutput(nameof(Value), GetValue);
107 | }
108 |
109 | string GetValue(Flow flow)
110 | => flow.stack.GetElementData(this).LastValue;
111 |
112 | #endregion
113 |
114 | #region Graph event listener
115 |
116 | public void StartListening(GraphStack stack)
117 | {
118 | var data = stack.GetElementData(this);
119 | if (data.UpdateAction != null) return;
120 |
121 | var reference = stack.ToReference();
122 | data.UpdateAction = args => OnUpdate(reference);
123 |
124 | var hook = new EventHook(EventHooks.Update, stack.machine);
125 | EventBus.Register(hook, data.UpdateAction);
126 | }
127 |
128 | public void StopListening(GraphStack stack)
129 | {
130 | var data = stack.GetElementData(this);
131 | if (data.UpdateAction == null) return;
132 |
133 | var hook = new EventHook(EventHooks.Update, stack.machine);
134 | EventBus.Unregister(hook, data.UpdateAction);
135 |
136 | if (data.IsOpened) data.Close();
137 | data.UpdateAction = null;
138 | }
139 |
140 | public bool IsListening(GraphPointer pointer)
141 | => pointer.GetElementData(this).UpdateAction != null;
142 |
143 | #endregion
144 |
145 | #region Update hook
146 |
147 | void OnUpdate(GraphReference reference)
148 | {
149 | using var flow = Flow.New(reference);
150 |
151 | var data = flow.stack.GetElementData(this);
152 | var connection = flow.GetValue(Connection);
153 | var address = flow.GetValue(Address);
154 |
155 | data.UpdateConnection(connection, address);
156 |
157 | while (data.HasNewValue)
158 | {
159 | data.Dequeue();
160 | flow.Invoke(Received);
161 | }
162 | }
163 |
164 | #endregion
165 | }
166 |
167 | } // namespace OscJack.VisualScripting
168 |
--------------------------------------------------------------------------------
/Packages/jp.keijiro.osc-jack.visualscripting/Runtime/OscVector2Input.cs:
--------------------------------------------------------------------------------
1 | using OscJack;
2 | using System.Collections.Generic;
3 | using Unity.VisualScripting;
4 | using UnityEngine;
5 |
6 | namespace OscJack.VisualScripting {
7 |
8 | [UnitCategory("OSC"), UnitTitle("OSC Input (Vector 2)")]
9 | [RenamedFrom("Bolt.Addons.OscJack.OscVector2Input")]
10 | public sealed class OscVector2Input
11 | : Unit, IGraphElementWithData, IGraphEventListener
12 | {
13 | #region Data class
14 |
15 | public sealed class Data : IGraphElementData
16 | {
17 | public System.Action UpdateAction { get; set; }
18 | public Vector2 LastValue { get; private set; }
19 | public bool IsOpened => _port != 0;
20 | public bool HasNewValue => _queue.Count > 0;
21 |
22 | int _port;
23 | string _address;
24 | Queue _queue = new Queue();
25 |
26 | public void Dequeue()
27 | => LastValue = _queue.Dequeue();
28 |
29 | public void UpdateConnection(OscConnection connection, string address)
30 | {
31 | if (IsOpened)
32 | {
33 | if (connection?.port == _port && address == _address)
34 | {
35 | // The current connection is okay.
36 | }
37 | else
38 | {
39 | // The destination was changed. Reopen the connection.
40 | Close();
41 | TryOpen(connection, address);
42 | }
43 | }
44 | else
45 | {
46 | // No connection. Open the connection.
47 | TryOpen(connection, address);
48 | }
49 | }
50 |
51 | void TryOpen(OscConnection connection, string address)
52 | {
53 | if (connection == null || string.IsNullOrEmpty(address)) return;
54 |
55 | _port = connection.port;
56 | _address = address;
57 |
58 | var server = OscMaster.GetSharedServer(_port);
59 | server.MessageDispatcher.AddCallback(_address, OnDataReceive);
60 | }
61 |
62 | public void Close()
63 | {
64 | var server = OscMaster.GetSharedServer(_port);
65 | server.MessageDispatcher.RemoveCallback(_address, OnDataReceive);
66 |
67 | _port = 0;
68 | _address = null;
69 | _queue.Clear();
70 | }
71 |
72 | void OnDataReceive(string address, OscDataHandle data)
73 | {
74 | lock (_queue)
75 | _queue.Enqueue(new Vector2(data.GetElementAsFloat(0),
76 | data.GetElementAsFloat(1)));
77 | }
78 | }
79 |
80 | public IGraphElementData CreateData() => new Data();
81 |
82 | #endregion
83 |
84 | #region Unit I/O
85 |
86 | [DoNotSerialize]
87 | public ValueInput Connection { get; private set; }
88 |
89 | [DoNotSerialize]
90 | public ValueInput Address { get; private set; }
91 |
92 | [DoNotSerialize, PortLabelHidden]
93 | public ControlOutput Received { get; private set; }
94 |
95 | [DoNotSerialize, PortLabelHidden]
96 | public ValueOutput Value { get; private set; }
97 |
98 | #endregion
99 |
100 | #region Unit implementation
101 |
102 | protected override void Definition()
103 | {
104 | isControlRoot = true;
105 | Connection = ValueInput(nameof(Connection), null);
106 | Address = ValueInput(nameof(Address), "/unity");
107 | Received = ControlOutput(nameof(Received));
108 | Value = ValueOutput(nameof(Value), GetValue);
109 | }
110 |
111 | Vector2 GetValue(Flow flow)
112 | => flow.stack.GetElementData(this).LastValue;
113 |
114 | #endregion
115 |
116 | #region Graph event listener
117 |
118 | public void StartListening(GraphStack stack)
119 | {
120 | var data = stack.GetElementData(this);
121 | if (data.UpdateAction != null) return;
122 |
123 | var reference = stack.ToReference();
124 | data.UpdateAction = args => OnUpdate(reference);
125 |
126 | var hook = new EventHook(EventHooks.Update, stack.machine);
127 | EventBus.Register(hook, data.UpdateAction);
128 | }
129 |
130 | public void StopListening(GraphStack stack)
131 | {
132 | var data = stack.GetElementData(this);
133 | if (data.UpdateAction == null) return;
134 |
135 | var hook = new EventHook(EventHooks.Update, stack.machine);
136 | EventBus.Unregister(hook, data.UpdateAction);
137 |
138 | if (data.IsOpened) data.Close();
139 | data.UpdateAction = null;
140 | }
141 |
142 | public bool IsListening(GraphPointer pointer)
143 | => pointer.GetElementData(this).UpdateAction != null;
144 |
145 | #endregion
146 |
147 | #region Update hook
148 |
149 | void OnUpdate(GraphReference reference)
150 | {
151 | using var flow = Flow.New(reference);
152 |
153 | var data = flow.stack.GetElementData(this);
154 | var connection = flow.GetValue(Connection);
155 | var address = flow.GetValue(Address);
156 |
157 | data.UpdateConnection(connection, address);
158 |
159 | while (data.HasNewValue)
160 | {
161 | data.Dequeue();
162 | flow.Invoke(Received);
163 | }
164 | }
165 |
166 | #endregion
167 | }
168 |
169 | } // namespace OscJack.VisualScripting
170 |
--------------------------------------------------------------------------------
/Packages/jp.keijiro.osc-jack.visualscripting/Runtime/OscVector3Input.cs:
--------------------------------------------------------------------------------
1 | using OscJack;
2 | using System.Collections.Generic;
3 | using Unity.VisualScripting;
4 | using UnityEngine;
5 |
6 | namespace OscJack.VisualScripting {
7 |
8 | [UnitCategory("OSC"), UnitTitle("OSC Input (Vector 3)")]
9 | [RenamedFrom("Bolt.Addons.OscJack.OscVector3Input")]
10 | public sealed class OscVector3Input
11 | : Unit, IGraphElementWithData, IGraphEventListener
12 | {
13 | #region Data class
14 |
15 | public sealed class Data : IGraphElementData
16 | {
17 | public System.Action UpdateAction { get; set; }
18 | public Vector3 LastValue { get; private set; }
19 | public bool IsOpened => _port != 0;
20 | public bool HasNewValue => _queue.Count > 0;
21 |
22 | int _port;
23 | string _address;
24 | Queue _queue = new Queue();
25 |
26 | public void Dequeue()
27 | => LastValue = _queue.Dequeue();
28 |
29 | public void UpdateConnection(OscConnection connection, string address)
30 | {
31 | if (IsOpened)
32 | {
33 | if (connection?.port == _port && address == _address)
34 | {
35 | // The current connection is okay.
36 | }
37 | else
38 | {
39 | // The destination was changed. Reopen the connection.
40 | Close();
41 | TryOpen(connection, address);
42 | }
43 | }
44 | else
45 | {
46 | // No connection. Open the connection.
47 | TryOpen(connection, address);
48 | }
49 | }
50 |
51 | void TryOpen(OscConnection connection, string address)
52 | {
53 | if (connection == null || string.IsNullOrEmpty(address)) return;
54 |
55 | _port = connection.port;
56 | _address = address;
57 |
58 | var server = OscMaster.GetSharedServer(_port);
59 | server.MessageDispatcher.AddCallback(_address, OnDataReceive);
60 | }
61 |
62 | public void Close()
63 | {
64 | var server = OscMaster.GetSharedServer(_port);
65 | server.MessageDispatcher.RemoveCallback(_address, OnDataReceive);
66 |
67 | _port = 0;
68 | _address = null;
69 | _queue.Clear();
70 | }
71 |
72 | void OnDataReceive(string address, OscDataHandle data)
73 | {
74 | lock (_queue)
75 | _queue.Enqueue(new Vector3(data.GetElementAsFloat(0),
76 | data.GetElementAsFloat(1),
77 | data.GetElementAsFloat(2)));
78 | }
79 | }
80 |
81 | public IGraphElementData CreateData() => new Data();
82 |
83 | #endregion
84 |
85 | #region Unit I/O
86 |
87 | [DoNotSerialize]
88 | public ValueInput Connection { get; private set; }
89 |
90 | [DoNotSerialize]
91 | public ValueInput Address { get; private set; }
92 |
93 | [DoNotSerialize, PortLabelHidden]
94 | public ControlOutput Received { get; private set; }
95 |
96 | [DoNotSerialize, PortLabelHidden]
97 | public ValueOutput Value { get; private set; }
98 |
99 | #endregion
100 |
101 | #region Unit implementation
102 |
103 | protected override void Definition()
104 | {
105 | isControlRoot = true;
106 | Connection = ValueInput(nameof(Connection), null);
107 | Address = ValueInput(nameof(Address), "/unity");
108 | Received = ControlOutput(nameof(Received));
109 | Value = ValueOutput(nameof(Value), GetValue);
110 | }
111 |
112 | Vector3 GetValue(Flow flow)
113 | => flow.stack.GetElementData(this).LastValue;
114 |
115 | #endregion
116 |
117 | #region Graph event listener
118 |
119 | public void StartListening(GraphStack stack)
120 | {
121 | var data = stack.GetElementData(this);
122 | if (data.UpdateAction != null) return;
123 |
124 | var reference = stack.ToReference();
125 | data.UpdateAction = args => OnUpdate(reference);
126 |
127 | var hook = new EventHook(EventHooks.Update, stack.machine);
128 | EventBus.Register(hook, data.UpdateAction);
129 | }
130 |
131 | public void StopListening(GraphStack stack)
132 | {
133 | var data = stack.GetElementData(this);
134 | if (data.UpdateAction == null) return;
135 |
136 | var hook = new EventHook(EventHooks.Update, stack.machine);
137 | EventBus.Unregister(hook, data.UpdateAction);
138 |
139 | if (data.IsOpened) data.Close();
140 | data.UpdateAction = null;
141 | }
142 |
143 | public bool IsListening(GraphPointer pointer)
144 | => pointer.GetElementData(this).UpdateAction != null;
145 |
146 | #endregion
147 |
148 | #region Update hook
149 |
150 | void OnUpdate(GraphReference reference)
151 | {
152 | using var flow = Flow.New(reference);
153 |
154 | var data = flow.stack.GetElementData(this);
155 | var connection = flow.GetValue(Connection);
156 | var address = flow.GetValue(Address);
157 |
158 | data.UpdateConnection(connection, address);
159 |
160 | while (data.HasNewValue)
161 | {
162 | data.Dequeue();
163 | flow.Invoke(Received);
164 | }
165 | }
166 |
167 | #endregion
168 | }
169 |
170 | } // namespace OscJack.VisualScripting
171 |
--------------------------------------------------------------------------------
/Packages/jp.keijiro.osc-jack.visualscripting/Runtime/OscVector4Input.cs:
--------------------------------------------------------------------------------
1 | using OscJack;
2 | using System.Collections.Generic;
3 | using Unity.VisualScripting;
4 | using UnityEngine;
5 |
6 | namespace OscJack.VisualScripting {
7 |
8 | [UnitCategory("OSC"), UnitTitle("OSC Input (Vector 4)")]
9 | [RenamedFrom("Bolt.Addons.OscJack.OscVector4Input")]
10 | public sealed class OscVector4Input
11 | : Unit, IGraphElementWithData, IGraphEventListener
12 | {
13 | #region Data class
14 |
15 | public sealed class Data : IGraphElementData
16 | {
17 | public System.Action UpdateAction { get; set; }
18 | public Vector4 LastValue { get; private set; }
19 | public bool IsOpened => _port != 0;
20 | public bool HasNewValue => _queue.Count > 0;
21 |
22 | int _port;
23 | string _address;
24 | Queue _queue = new Queue();
25 |
26 | public void Dequeue()
27 | => LastValue = _queue.Dequeue();
28 |
29 | public void UpdateConnection(OscConnection connection, string address)
30 | {
31 | if (IsOpened)
32 | {
33 | if (connection?.port == _port && address == _address)
34 | {
35 | // The current connection is okay.
36 | }
37 | else
38 | {
39 | // The destination was changed. Reopen the connection.
40 | Close();
41 | TryOpen(connection, address);
42 | }
43 | }
44 | else
45 | {
46 | // No connection. Open the connection.
47 | TryOpen(connection, address);
48 | }
49 | }
50 |
51 | void TryOpen(OscConnection connection, string address)
52 | {
53 | if (connection == null || string.IsNullOrEmpty(address)) return;
54 |
55 | _port = connection.port;
56 | _address = address;
57 |
58 | var server = OscMaster.GetSharedServer(_port);
59 | server.MessageDispatcher.AddCallback(_address, OnDataReceive);
60 | }
61 |
62 | public void Close()
63 | {
64 | var server = OscMaster.GetSharedServer(_port);
65 | server.MessageDispatcher.RemoveCallback(_address, OnDataReceive);
66 |
67 | _port = 0;
68 | _address = null;
69 | _queue.Clear();
70 | }
71 |
72 | void OnDataReceive(string address, OscDataHandle data)
73 | {
74 | lock (_queue)
75 | _queue.Enqueue(new Vector4(data.GetElementAsFloat(0),
76 | data.GetElementAsFloat(1),
77 | data.GetElementAsFloat(2),
78 | data.GetElementAsFloat(3)));
79 | }
80 | }
81 |
82 | public IGraphElementData CreateData() => new Data();
83 |
84 | #endregion
85 |
86 | #region Unit I/O
87 |
88 | [DoNotSerialize]
89 | public ValueInput Connection { get; private set; }
90 |
91 | [DoNotSerialize]
92 | public ValueInput Address { get; private set; }
93 |
94 | [DoNotSerialize, PortLabelHidden]
95 | public ControlOutput Received { get; private set; }
96 |
97 | [DoNotSerialize, PortLabelHidden]
98 | public ValueOutput Value { get; private set; }
99 |
100 | #endregion
101 |
102 | #region Unit implementation
103 |
104 | protected override void Definition()
105 | {
106 | isControlRoot = true;
107 | Connection = ValueInput(nameof(Connection), null);
108 | Address = ValueInput(nameof(Address), "/unity");
109 | Received = ControlOutput(nameof(Received));
110 | Value = ValueOutput(nameof(Value), GetValue);
111 | }
112 |
113 | Vector4 GetValue(Flow flow)
114 | => flow.stack.GetElementData(this).LastValue;
115 |
116 | #endregion
117 |
118 | #region Graph event listener
119 |
120 | public void StartListening(GraphStack stack)
121 | {
122 | var data = stack.GetElementData(this);
123 | if (data.UpdateAction != null) return;
124 |
125 | var reference = stack.ToReference();
126 | data.UpdateAction = args => OnUpdate(reference);
127 |
128 | var hook = new EventHook(EventHooks.Update, stack.machine);
129 | EventBus.Register(hook, data.UpdateAction);
130 | }
131 |
132 | public void StopListening(GraphStack stack)
133 | {
134 | var data = stack.GetElementData(this);
135 | if (data.UpdateAction == null) return;
136 |
137 | var hook = new EventHook(EventHooks.Update, stack.machine);
138 | EventBus.Unregister(hook, data.UpdateAction);
139 |
140 | if (data.IsOpened) data.Close();
141 | data.UpdateAction = null;
142 | }
143 |
144 | public bool IsListening(GraphPointer pointer)
145 | => pointer.GetElementData(this).UpdateAction != null;
146 |
147 | #endregion
148 |
149 | #region Update hook
150 |
151 | void OnUpdate(GraphReference reference)
152 | {
153 | using var flow = Flow.New(reference);
154 |
155 | var data = flow.stack.GetElementData(this);
156 | var connection = flow.GetValue(Connection);
157 | var address = flow.GetValue(Address);
158 |
159 | data.UpdateConnection(connection, address);
160 |
161 | while (data.HasNewValue)
162 | {
163 | data.Dequeue();
164 | flow.Invoke(Received);
165 | }
166 | }
167 |
168 | #endregion
169 | }
170 |
171 | } // namespace OscJack.VisualScripting
172 |
--------------------------------------------------------------------------------
/ProjectSettings/SceneTemplateSettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "templatePinStates": [],
3 | "dependencyTypeInfos": [
4 | {
5 | "userAdded": false,
6 | "type": "UnityEngine.AnimationClip",
7 | "ignore": false,
8 | "defaultInstantiationMode": 0,
9 | "supportsModification": true
10 | },
11 | {
12 | "userAdded": false,
13 | "type": "UnityEditor.Animations.AnimatorController",
14 | "ignore": false,
15 | "defaultInstantiationMode": 0,
16 | "supportsModification": true
17 | },
18 | {
19 | "userAdded": false,
20 | "type": "UnityEngine.AnimatorOverrideController",
21 | "ignore": false,
22 | "defaultInstantiationMode": 0,
23 | "supportsModification": true
24 | },
25 | {
26 | "userAdded": false,
27 | "type": "UnityEditor.Audio.AudioMixerController",
28 | "ignore": false,
29 | "defaultInstantiationMode": 0,
30 | "supportsModification": true
31 | },
32 | {
33 | "userAdded": false,
34 | "type": "UnityEngine.ComputeShader",
35 | "ignore": true,
36 | "defaultInstantiationMode": 1,
37 | "supportsModification": true
38 | },
39 | {
40 | "userAdded": false,
41 | "type": "UnityEngine.Cubemap",
42 | "ignore": false,
43 | "defaultInstantiationMode": 0,
44 | "supportsModification": true
45 | },
46 | {
47 | "userAdded": false,
48 | "type": "UnityEngine.GameObject",
49 | "ignore": false,
50 | "defaultInstantiationMode": 0,
51 | "supportsModification": true
52 | },
53 | {
54 | "userAdded": false,
55 | "type": "UnityEditor.LightingDataAsset",
56 | "ignore": false,
57 | "defaultInstantiationMode": 0,
58 | "supportsModification": false
59 | },
60 | {
61 | "userAdded": false,
62 | "type": "UnityEngine.LightingSettings",
63 | "ignore": false,
64 | "defaultInstantiationMode": 0,
65 | "supportsModification": true
66 | },
67 | {
68 | "userAdded": false,
69 | "type": "UnityEngine.Material",
70 | "ignore": false,
71 | "defaultInstantiationMode": 0,
72 | "supportsModification": true
73 | },
74 | {
75 | "userAdded": false,
76 | "type": "UnityEditor.MonoScript",
77 | "ignore": true,
78 | "defaultInstantiationMode": 1,
79 | "supportsModification": true
80 | },
81 | {
82 | "userAdded": false,
83 | "type": "UnityEngine.PhysicMaterial",
84 | "ignore": false,
85 | "defaultInstantiationMode": 0,
86 | "supportsModification": true
87 | },
88 | {
89 | "userAdded": false,
90 | "type": "UnityEngine.PhysicsMaterial2D",
91 | "ignore": false,
92 | "defaultInstantiationMode": 0,
93 | "supportsModification": true
94 | },
95 | {
96 | "userAdded": false,
97 | "type": "UnityEngine.Rendering.PostProcessing.PostProcessProfile",
98 | "ignore": false,
99 | "defaultInstantiationMode": 0,
100 | "supportsModification": true
101 | },
102 | {
103 | "userAdded": false,
104 | "type": "UnityEngine.Rendering.PostProcessing.PostProcessResources",
105 | "ignore": false,
106 | "defaultInstantiationMode": 0,
107 | "supportsModification": true
108 | },
109 | {
110 | "userAdded": false,
111 | "type": "UnityEngine.Rendering.VolumeProfile",
112 | "ignore": false,
113 | "defaultInstantiationMode": 0,
114 | "supportsModification": true
115 | },
116 | {
117 | "userAdded": false,
118 | "type": "UnityEditor.SceneAsset",
119 | "ignore": false,
120 | "defaultInstantiationMode": 0,
121 | "supportsModification": false
122 | },
123 | {
124 | "userAdded": false,
125 | "type": "UnityEngine.Shader",
126 | "ignore": true,
127 | "defaultInstantiationMode": 1,
128 | "supportsModification": true
129 | },
130 | {
131 | "userAdded": false,
132 | "type": "UnityEngine.ShaderVariantCollection",
133 | "ignore": true,
134 | "defaultInstantiationMode": 1,
135 | "supportsModification": true
136 | },
137 | {
138 | "userAdded": false,
139 | "type": "UnityEngine.Texture",
140 | "ignore": false,
141 | "defaultInstantiationMode": 0,
142 | "supportsModification": true
143 | },
144 | {
145 | "userAdded": false,
146 | "type": "UnityEngine.Texture2D",
147 | "ignore": false,
148 | "defaultInstantiationMode": 0,
149 | "supportsModification": true
150 | },
151 | {
152 | "userAdded": false,
153 | "type": "UnityEngine.Timeline.TimelineAsset",
154 | "ignore": false,
155 | "defaultInstantiationMode": 0,
156 | "supportsModification": true
157 | }
158 | ],
159 | "defaultDependencyTypeInfo": {
160 | "userAdded": false,
161 | "type": "",
162 | "ignore": false,
163 | "defaultInstantiationMode": 1,
164 | "supportsModification": true
165 | },
166 | "newSceneOverride": 0
167 | }
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/Assets/Test.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.12731689, g: 0.13414702, b: 0.1210784, a: 1}
42 | m_UseRadianceAmbientProbe: 0
43 | --- !u!157 &3
44 | LightmapSettings:
45 | m_ObjectHideFlags: 0
46 | serializedVersion: 12
47 | m_GIWorkflowMode: 1
48 | m_GISettings:
49 | serializedVersion: 2
50 | m_BounceScale: 1
51 | m_IndirectOutputScale: 1
52 | m_AlbedoBoost: 1
53 | m_EnvironmentLightingMode: 0
54 | m_EnableBakedLightmaps: 1
55 | m_EnableRealtimeLightmaps: 0
56 | m_LightmapEditorSettings:
57 | serializedVersion: 12
58 | m_Resolution: 2
59 | m_BakeResolution: 40
60 | m_AtlasSize: 1024
61 | m_AO: 0
62 | m_AOMaxDistance: 1
63 | m_CompAOExponent: 1
64 | m_CompAOExponentDirect: 0
65 | m_ExtractAmbientOcclusion: 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: 512
79 | m_PVRBounces: 2
80 | m_PVREnvironmentSampleCount: 256
81 | m_PVREnvironmentReferencePointCount: 2048
82 | m_PVRFilteringMode: 1
83 | m_PVRDenoiserTypeDirect: 1
84 | m_PVRDenoiserTypeIndirect: 1
85 | m_PVRDenoiserTypeAO: 1
86 | m_PVRFilterTypeDirect: 0
87 | m_PVRFilterTypeIndirect: 0
88 | m_PVRFilterTypeAO: 0
89 | m_PVREnvironmentMIS: 1
90 | m_PVRCulling: 1
91 | m_PVRFilteringGaussRadiusDirect: 1
92 | m_PVRFilteringGaussRadiusIndirect: 5
93 | m_PVRFilteringGaussRadiusAO: 2
94 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5
95 | m_PVRFilteringAtrousPositionSigmaIndirect: 2
96 | m_PVRFilteringAtrousPositionSigmaAO: 1
97 | m_ExportTrainingData: 0
98 | m_TrainingDataDestination: TrainingData
99 | m_LightProbeSampleCountMultiplier: 4
100 | m_LightingDataAsset: {fileID: 0}
101 | m_LightingSettings: {fileID: 0}
102 | --- !u!196 &4
103 | NavMeshSettings:
104 | serializedVersion: 2
105 | m_ObjectHideFlags: 0
106 | m_BuildSettings:
107 | serializedVersion: 2
108 | agentTypeID: 0
109 | agentRadius: 0.5
110 | agentHeight: 2
111 | agentSlope: 45
112 | agentClimb: 0.4
113 | ledgeDropHeight: 0
114 | maxJumpAcrossDistance: 0
115 | minRegionArea: 2
116 | manualCellSize: 0
117 | cellSize: 0.16666667
118 | manualTileSize: 0
119 | tileSize: 256
120 | accuratePlacement: 0
121 | maxJobWorkers: 0
122 | preserveTilesOutsideBounds: 0
123 | debug:
124 | m_Flags: 0
125 | m_NavMeshData: {fileID: 0}
126 | --- !u!1 &73057674
127 | GameObject:
128 | m_ObjectHideFlags: 0
129 | m_CorrespondingSourceObject: {fileID: 0}
130 | m_PrefabInstance: {fileID: 0}
131 | m_PrefabAsset: {fileID: 0}
132 | serializedVersion: 6
133 | m_Component:
134 | - component: {fileID: 73057677}
135 | - component: {fileID: 73057676}
136 | - component: {fileID: 73057675}
137 | m_Layer: 0
138 | m_Name: Scene Variables
139 | m_TagString: Untagged
140 | m_Icon: {fileID: 0}
141 | m_NavMeshLayer: 0
142 | m_StaticEditorFlags: 0
143 | m_IsActive: 1
144 | --- !u!114 &73057675
145 | MonoBehaviour:
146 | m_ObjectHideFlags: 0
147 | m_CorrespondingSourceObject: {fileID: 0}
148 | m_PrefabInstance: {fileID: 0}
149 | m_PrefabAsset: {fileID: 0}
150 | m_GameObject: {fileID: 73057674}
151 | m_Enabled: 1
152 | m_EditorHideFlags: 0
153 | m_Script: {fileID: 11500000, guid: 765181c9ef4b24d32a4f7cbd2ef370dc, type: 3}
154 | m_Name:
155 | m_EditorClassIdentifier:
156 | --- !u!114 &73057676
157 | MonoBehaviour:
158 | m_ObjectHideFlags: 0
159 | m_CorrespondingSourceObject: {fileID: 0}
160 | m_PrefabInstance: {fileID: 0}
161 | m_PrefabAsset: {fileID: 0}
162 | m_GameObject: {fileID: 73057674}
163 | m_Enabled: 1
164 | m_EditorHideFlags: 0
165 | m_Script: {fileID: 11500000, guid: e741851cba3ad425c91ecf922cc6b379, type: 3}
166 | m_Name:
167 | m_EditorClassIdentifier:
168 | _data:
169 | _json: '{"declarations":{"collection":{"$content":[],"$version":"A"},"$version":"A"}}'
170 | _objectReferences: []
171 | --- !u!4 &73057677
172 | Transform:
173 | m_ObjectHideFlags: 0
174 | m_CorrespondingSourceObject: {fileID: 0}
175 | m_PrefabInstance: {fileID: 0}
176 | m_PrefabAsset: {fileID: 0}
177 | m_GameObject: {fileID: 73057674}
178 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
179 | m_LocalPosition: {x: 0, y: 0, z: 0}
180 | m_LocalScale: {x: 1, y: 1, z: 1}
181 | m_ConstrainProportionsScale: 0
182 | m_Children: []
183 | m_Father: {fileID: 0}
184 | m_RootOrder: 0
185 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
186 | --- !u!1 &474083553
187 | GameObject:
188 | m_ObjectHideFlags: 0
189 | m_CorrespondingSourceObject: {fileID: 0}
190 | m_PrefabInstance: {fileID: 0}
191 | m_PrefabAsset: {fileID: 0}
192 | serializedVersion: 6
193 | m_Component:
194 | - component: {fileID: 474083556}
195 | - component: {fileID: 474083555}
196 | - component: {fileID: 474083554}
197 | m_Layer: 0
198 | m_Name: Test
199 | m_TagString: Untagged
200 | m_Icon: {fileID: 0}
201 | m_NavMeshLayer: 0
202 | m_StaticEditorFlags: 0
203 | m_IsActive: 1
204 | --- !u!114 &474083554
205 | MonoBehaviour:
206 | m_ObjectHideFlags: 0
207 | m_CorrespondingSourceObject: {fileID: 0}
208 | m_PrefabInstance: {fileID: 0}
209 | m_PrefabAsset: {fileID: 0}
210 | m_GameObject: {fileID: 474083553}
211 | m_Enabled: 1
212 | m_EditorHideFlags: 0
213 | m_Script: {fileID: 11500000, guid: d2fe5546f775c47d2820aa5e8a715f53, type: 3}
214 | m_Name:
215 | m_EditorClassIdentifier:
216 | _data:
217 | _json: '{"nest":{"source":"Embed","macro":null,"embed":{"variables":{"collection":{"$content":[],"$version":"A"},"$version":"A"},"controlInputDefinitions":[],"controlOutputDefinitions":[],"valueInputDefinitions":[],"valueOutputDefinitions":[],"title":null,"summary":null,"pan":{"x":-12.24823,"y":135.9997},"zoom":1.0,"elements":[{"coroutine":true,"defaultValues":{},"position":{"x":-408.0,"y":-144.0},"guid":"26251f0d-a558-44b2-954e-2d168465d09b","$version":"A","$type":"Unity.VisualScripting.Start","$id":"10"},{"defaultValues":{"Connection":{"$content":0,"$type":"UnityEngine.Object"},"Address":{"$content":"/bang","$type":"System.String"}},"position":{"x":-60.0,"y":-144.0},"guid":"cdd59036-5a65-4f1c-9691-38aee8da8d31","$version":"A","$type":"OscJack.VisualScripting.OscBangOutput","$id":"12"},{"defaultValues":{"Connection":{"$content":1,"$type":"UnityEngine.Object"},"Address":{"$content":"/float","$type":"System.String"},"Input":{"$content":1.23,"$type":"System.Single"}},"position":{"x":216.0,"y":-144.0},"guid":"059c3dbb-b8a6-4b41-bb45-61b4fec87a37","$version":"A","$type":"OscJack.VisualScripting.OscFloatOutput","$id":"14"},{"defaultValues":{"Connection":{"$content":2,"$type":"UnityEngine.Object"},"Address":{"$content":"/int","$type":"System.String"},"Input":{"$content":123,"$type":"System.Int32"}},"position":{"x":492.0,"y":-144.0},"guid":"518eb157-44d7-4043-a50a-a4cb97857e1a","$version":"A","$type":"OscJack.VisualScripting.OscIntOutput","$id":"16"},{"defaultValues":{"Connection":{"$content":3,"$type":"UnityEngine.Object"},"Address":{"$content":"/string","$type":"System.String"},"Input":{"$content":"Hello!","$type":"System.String"}},"position":{"x":768.0,"y":-144.0},"guid":"cfc2b420-bd57-475d-b820-8d2c24f7d3bb","$version":"A","$type":"OscJack.VisualScripting.OscStringOutput","$id":"18"},{"defaultValues":{"Connection":{"$content":4,"$type":"UnityEngine.Object"},"Address":{"$content":"/vector2","$type":"System.String"},"Input":{"x":1.2,"y":3.4,"$type":"UnityEngine.Vector2"}},"position":{"x":1044.0,"y":-144.0},"guid":"dee419d8-88ac-42b9-982e-c7ac2f20f1a5","$version":"A","$type":"OscJack.VisualScripting.OscVector2Output","$id":"20"},{"defaultValues":{"Connection":{"$content":5,"$type":"UnityEngine.Object"},"Address":{"$content":"/vector3","$type":"System.String"},"Input":{"x":1.2,"y":3.4,"z":5.6,"$type":"UnityEngine.Vector3"}},"position":{"x":1320.0,"y":-144.0},"guid":"0cce8ce2-2bbe-4acf-9719-f4faef619bdf","$version":"A","$type":"OscJack.VisualScripting.OscVector3Output","$id":"22"},{"defaultValues":{"Connection":{"$content":6,"$type":"UnityEngine.Object"},"Address":{"$content":"/vector4","$type":"System.String"},"Input":{"x":1.2,"y":3.4,"z":5.6,"w":7.8,"$type":"UnityEngine.Vector4"}},"position":{"x":1596.0,"y":-144.0},"guid":"abe8d4a5-fb51-4ff2-8a43-f432bcd044f5","$version":"A","$type":"OscJack.VisualScripting.OscVector4Output","$id":"24"},{"defaultValues":{"Connection":{"$content":7,"$type":"UnityEngine.Object"},"Address":{"$content":"/bang","$type":"System.String"}},"position":{"x":-240.0,"y":36.0},"guid":"3ce1988b-15a5-4f52-9949-50e30601c615","$version":"A","$type":"OscJack.VisualScripting.OscBangInput","$id":"26"},{"defaultValues":{"Connection":{"$content":8,"$type":"UnityEngine.Object"},"Address":{"$content":"/float","$type":"System.String"}},"position":{"x":-252.0,"y":264.0},"guid":"73967fc7-43ae-4252-881e-142dd4d89e14","$version":"A","$type":"OscJack.VisualScripting.OscFloatInput","$id":"28"},{"defaultValues":{"Connection":{"$content":9,"$type":"UnityEngine.Object"},"Address":{"$content":"/int","$type":"System.String"}},"position":{"x":216.0,"y":84.0},"guid":"24652f7c-fb19-4945-9ecc-5072c00f7af2","$version":"A","$type":"OscJack.VisualScripting.OscIntInput","$id":"30"},{"defaultValues":{"Connection":{"$content":10,"$type":"UnityEngine.Object"},"Address":{"$content":"/string","$type":"System.String"}},"position":{"x":216.0,"y":264.0},"guid":"2955aef2-a6b5-426a-95c3-c214042aba01","$version":"A","$type":"OscJack.VisualScripting.OscStringInput","$id":"32"},{"defaultValues":{"Connection":{"$content":11,"$type":"UnityEngine.Object"},"Address":{"$content":"/vector2","$type":"System.String"}},"position":{"x":660.0,"y":84.0},"guid":"ccf6376c-a739-4b7a-8742-f98431ea3732","$version":"A","$type":"OscJack.VisualScripting.OscVector2Input","$id":"34"},{"defaultValues":{"Connection":{"$content":12,"$type":"UnityEngine.Object"},"Address":{"$content":"/vector3","$type":"System.String"}},"position":{"x":660.0,"y":264.0},"guid":"ecd35636-c555-486b-9202-3465513f6412","$version":"A","$type":"OscJack.VisualScripting.OscVector3Input","$id":"36"},{"defaultValues":{"Connection":{"$content":13,"$type":"UnityEngine.Object"},"Address":{"$content":"/vector4","$type":"System.String"}},"position":{"x":1092.0,"y":84.0},"guid":"c975fd26-3256-4763-89c4-61a38efc327b","$version":"A","$type":"OscJack.VisualScripting.OscVector4Input","$id":"38"},{"chainable":false,"member":{"name":"Log","parameterTypes":["System.Object"],"targetType":"UnityEngine.Debug","targetTypeName":"UnityEngine.Debug","$version":"A"},"defaultValues":{},"position":{"x":24.0,"y":264.0},"guid":"e43c416e-5b57-4229-a922-0d0d07ffb44a","$version":"A","$type":"Unity.VisualScripting.InvokeMember","$id":"40"},{"chainable":false,"member":{"name":"Log","parameterTypes":["System.Object"],"targetType":"UnityEngine.Debug","targetTypeName":"UnityEngine.Debug","$version":"A"},"defaultValues":{},"position":{"x":480.0,"y":84.0},"guid":"d7a76e95-41b8-4c3f-8f5b-4c607770479c","$version":"A","$type":"Unity.VisualScripting.InvokeMember","$id":"43"},{"chainable":false,"member":{"name":"Log","parameterTypes":["System.Object"],"targetType":"UnityEngine.Debug","targetTypeName":"UnityEngine.Debug","$version":"A"},"defaultValues":{},"position":{"x":480.0,"y":264.0},"guid":"99bfc5e8-2161-4bc2-9108-21c603330895","$version":"A","$type":"Unity.VisualScripting.InvokeMember","$id":"46"},{"chainable":false,"member":{"name":"Log","parameterTypes":["System.Object"],"targetType":"UnityEngine.Debug","targetTypeName":"UnityEngine.Debug","$version":"A"},"defaultValues":{},"position":{"x":924.0,"y":84.0},"guid":"83d955ba-2c72-4e90-b012-854b78cd71dc","$version":"A","$type":"Unity.VisualScripting.InvokeMember","$id":"49"},{"chainable":false,"member":{"name":"Log","parameterTypes":["System.Object"],"targetType":"UnityEngine.Debug","targetTypeName":"UnityEngine.Debug","$version":"A"},"defaultValues":{},"position":{"x":924.0,"y":264.0},"guid":"2dc595af-6d4a-4c8c-984c-0dc7a4ce218d","$version":"A","$type":"Unity.VisualScripting.InvokeMember","$id":"52"},{"chainable":false,"member":{"name":"Log","parameterTypes":["System.Object"],"targetType":"UnityEngine.Debug","targetTypeName":"UnityEngine.Debug","$version":"A"},"defaultValues":{},"position":{"x":1356.0,"y":84.0},"guid":"db9eb02c-9e16-4c81-a227-0126732da5cc","$version":"A","$type":"Unity.VisualScripting.InvokeMember","$id":"55"},{"defaultValues":{"seconds":{"$content":0.1,"$type":"System.Single"},"unscaledTime":{"$content":false,"$type":"System.Boolean"}},"position":{"x":-240.0,"y":-144.0},"guid":"cde333e3-7268-4c57-8e97-9622b1a56761","$version":"A","$type":"Unity.VisualScripting.WaitForSecondsUnit","$id":"58"},{"chainable":false,"member":{"name":"Log","parameterTypes":["System.Object"],"targetType":"UnityEngine.Debug","targetTypeName":"UnityEngine.Debug","$version":"A"},"defaultValues":{},"position":{"x":24.0,"y":84.0},"guid":"50c65823-1f75-416f-9bd4-3c708f2ba257","$version":"A","$type":"Unity.VisualScripting.InvokeMember","$id":"60"},{"type":"System.String","value":{"$content":"Bang!","$type":"System.String"},"defaultValues":{},"position":{"x":-120.0,"y":156.0},"guid":"79cdfeec-6bb3-430c-ab81-1a63633b7819","$version":"A","$type":"Unity.VisualScripting.Literal","$id":"63"},{"sourceUnit":{"$ref":"12"},"sourceKey":"Exit","destinationUnit":{"$ref":"14"},"destinationKey":"Enter","guid":"a234828f-b78c-4aac-859e-1fb7c49df6d3","$type":"Unity.VisualScripting.ControlConnection"},{"sourceUnit":{"$ref":"34"},"sourceKey":"Received","destinationUnit":{"$ref":"49"},"destinationKey":"enter","guid":"586d96d2-5f1f-41f9-90bd-aaab24c72d02","$type":"Unity.VisualScripting.ControlConnection"},{"sourceUnit":{"$ref":"16"},"sourceKey":"Exit","destinationUnit":{"$ref":"18"},"destinationKey":"Enter","guid":"bc61493b-56ad-477e-94ac-067f4bc9f28a","$type":"Unity.VisualScripting.ControlConnection"},{"sourceUnit":{"$ref":"38"},"sourceKey":"Received","destinationUnit":{"$ref":"55"},"destinationKey":"enter","guid":"194d5f3a-7443-48c9-90d4-b06406597009","$type":"Unity.VisualScripting.ControlConnection"},{"sourceUnit":{"$ref":"14"},"sourceKey":"Exit","destinationUnit":{"$ref":"16"},"destinationKey":"Enter","guid":"2a7aa688-34af-4270-a4d3-0a44dd2becd8","$type":"Unity.VisualScripting.ControlConnection"},{"sourceUnit":{"$ref":"22"},"sourceKey":"Exit","destinationUnit":{"$ref":"24"},"destinationKey":"Enter","guid":"8df04665-3d06-4e50-98be-623dde3eecba","$type":"Unity.VisualScripting.ControlConnection"},{"sourceUnit":{"$ref":"28"},"sourceKey":"Received","destinationUnit":{"$ref":"40"},"destinationKey":"enter","guid":"948c60e8-6dd8-4fe7-b110-08840e511c9a","$type":"Unity.VisualScripting.ControlConnection"},{"sourceUnit":{"$ref":"30"},"sourceKey":"Received","destinationUnit":{"$ref":"43"},"destinationKey":"enter","guid":"6a91c384-aa2c-4fb6-b6eb-feee27ee4233","$type":"Unity.VisualScripting.ControlConnection"},{"sourceUnit":{"$ref":"32"},"sourceKey":"Received","destinationUnit":{"$ref":"46"},"destinationKey":"enter","guid":"f75dce21-963a-414f-8d59-ea356b187c11","$type":"Unity.VisualScripting.ControlConnection"},{"sourceUnit":{"$ref":"58"},"sourceKey":"exit","destinationUnit":{"$ref":"12"},"destinationKey":"Enter","guid":"cfcbb513-051d-4289-b2a5-b7abb6568def","$type":"Unity.VisualScripting.ControlConnection"},{"sourceUnit":{"$ref":"26"},"sourceKey":"Received","destinationUnit":{"$ref":"60"},"destinationKey":"enter","guid":"797797f0-55ce-4105-a732-677f960008e2","$type":"Unity.VisualScripting.ControlConnection"},{"sourceUnit":{"$ref":"36"},"sourceKey":"Received","destinationUnit":{"$ref":"52"},"destinationKey":"enter","guid":"9b2cd3ea-5f7b-4af9-aa6b-b962cfbe03b4","$type":"Unity.VisualScripting.ControlConnection"},{"sourceUnit":{"$ref":"20"},"sourceKey":"Exit","destinationUnit":{"$ref":"22"},"destinationKey":"Enter","guid":"00ed6899-50a5-4ec1-90cd-a03b7733aefb","$type":"Unity.VisualScripting.ControlConnection"},{"sourceUnit":{"$ref":"10"},"sourceKey":"trigger","destinationUnit":{"$ref":"58"},"destinationKey":"enter","guid":"6a7facd4-2243-4eef-94d9-cd9c7a33ea6b","$type":"Unity.VisualScripting.ControlConnection"},{"sourceUnit":{"$ref":"18"},"sourceKey":"Exit","destinationUnit":{"$ref":"20"},"destinationKey":"Enter","guid":"73e78ede-1e3d-496b-867b-08b44818541d","$type":"Unity.VisualScripting.ControlConnection"},{"sourceUnit":{"$ref":"28"},"sourceKey":"Value","destinationUnit":{"$ref":"40"},"destinationKey":"%message","guid":"71903fbb-1031-4b08-aa2d-9e61469e631c","$type":"Unity.VisualScripting.ValueConnection"},{"sourceUnit":{"$ref":"30"},"sourceKey":"Value","destinationUnit":{"$ref":"43"},"destinationKey":"%message","guid":"de367f96-ab6b-43b6-96ed-5f5c35822abf","$type":"Unity.VisualScripting.ValueConnection"},{"sourceUnit":{"$ref":"32"},"sourceKey":"Value","destinationUnit":{"$ref":"46"},"destinationKey":"%message","guid":"103832ac-ae2b-4f20-9d83-222931be8c24","$type":"Unity.VisualScripting.ValueConnection"},{"sourceUnit":{"$ref":"38"},"sourceKey":"Value","destinationUnit":{"$ref":"55"},"destinationKey":"%message","guid":"6562b36b-daf4-452c-be6a-39d09e523baf","$type":"Unity.VisualScripting.ValueConnection"},{"sourceUnit":{"$ref":"34"},"sourceKey":"Value","destinationUnit":{"$ref":"49"},"destinationKey":"%message","guid":"0bdf1f7f-214c-429a-8b7e-67196fc81bfd","$type":"Unity.VisualScripting.ValueConnection"},{"sourceUnit":{"$ref":"36"},"sourceKey":"Value","destinationUnit":{"$ref":"52"},"destinationKey":"%message","guid":"93507094-76cc-431d-8dbb-b1d436dc3bc0","$type":"Unity.VisualScripting.ValueConnection"},{"sourceUnit":{"$ref":"63"},"sourceKey":"output","destinationUnit":{"$ref":"60"},"destinationKey":"%message","guid":"7c7e737a-b62b-4784-9090-a7a2005b7e37","$type":"Unity.VisualScripting.ValueConnection"}],"$version":"A"}}}'
218 | _objectReferences:
219 | - {fileID: 11400000, guid: d700a307aeabd4dfbb062e8757d0d94f, type: 2}
220 | - {fileID: 11400000, guid: d700a307aeabd4dfbb062e8757d0d94f, type: 2}
221 | - {fileID: 11400000, guid: d700a307aeabd4dfbb062e8757d0d94f, type: 2}
222 | - {fileID: 11400000, guid: d700a307aeabd4dfbb062e8757d0d94f, type: 2}
223 | - {fileID: 11400000, guid: d700a307aeabd4dfbb062e8757d0d94f, type: 2}
224 | - {fileID: 11400000, guid: d700a307aeabd4dfbb062e8757d0d94f, type: 2}
225 | - {fileID: 11400000, guid: d700a307aeabd4dfbb062e8757d0d94f, type: 2}
226 | - {fileID: 11400000, guid: d700a307aeabd4dfbb062e8757d0d94f, type: 2}
227 | - {fileID: 11400000, guid: d700a307aeabd4dfbb062e8757d0d94f, type: 2}
228 | - {fileID: 11400000, guid: d700a307aeabd4dfbb062e8757d0d94f, type: 2}
229 | - {fileID: 11400000, guid: d700a307aeabd4dfbb062e8757d0d94f, type: 2}
230 | - {fileID: 11400000, guid: d700a307aeabd4dfbb062e8757d0d94f, type: 2}
231 | - {fileID: 11400000, guid: d700a307aeabd4dfbb062e8757d0d94f, type: 2}
232 | - {fileID: 11400000, guid: d700a307aeabd4dfbb062e8757d0d94f, type: 2}
233 | --- !u!114 &474083555
234 | MonoBehaviour:
235 | m_ObjectHideFlags: 0
236 | m_CorrespondingSourceObject: {fileID: 0}
237 | m_PrefabInstance: {fileID: 0}
238 | m_PrefabAsset: {fileID: 0}
239 | m_GameObject: {fileID: 474083553}
240 | m_Enabled: 1
241 | m_EditorHideFlags: 0
242 | m_Script: {fileID: 11500000, guid: e741851cba3ad425c91ecf922cc6b379, type: 3}
243 | m_Name:
244 | m_EditorClassIdentifier:
245 | _data:
246 | _json: '{"declarations":{"collection":{"$content":[],"$version":"A"},"$version":"A"}}'
247 | _objectReferences: []
248 | --- !u!4 &474083556
249 | Transform:
250 | m_ObjectHideFlags: 0
251 | m_CorrespondingSourceObject: {fileID: 0}
252 | m_PrefabInstance: {fileID: 0}
253 | m_PrefabAsset: {fileID: 0}
254 | m_GameObject: {fileID: 474083553}
255 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
256 | m_LocalPosition: {x: 0, y: 0, z: 0}
257 | m_LocalScale: {x: 1, y: 1, z: 1}
258 | m_ConstrainProportionsScale: 0
259 | m_Children: []
260 | m_Father: {fileID: 0}
261 | m_RootOrder: 2
262 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
263 | --- !u!1 &1430673601
264 | GameObject:
265 | m_ObjectHideFlags: 0
266 | m_CorrespondingSourceObject: {fileID: 0}
267 | m_PrefabInstance: {fileID: 0}
268 | m_PrefabAsset: {fileID: 0}
269 | serializedVersion: 6
270 | m_Component:
271 | - component: {fileID: 1430673603}
272 | - component: {fileID: 1430673602}
273 | m_Layer: 0
274 | m_Name: Main Camera
275 | m_TagString: MainCamera
276 | m_Icon: {fileID: 0}
277 | m_NavMeshLayer: 0
278 | m_StaticEditorFlags: 0
279 | m_IsActive: 1
280 | --- !u!20 &1430673602
281 | Camera:
282 | m_ObjectHideFlags: 0
283 | m_CorrespondingSourceObject: {fileID: 0}
284 | m_PrefabInstance: {fileID: 0}
285 | m_PrefabAsset: {fileID: 0}
286 | m_GameObject: {fileID: 1430673601}
287 | m_Enabled: 1
288 | serializedVersion: 2
289 | m_ClearFlags: 2
290 | m_BackGroundColor: {r: 0, g: 0, b: 0, a: 0}
291 | m_projectionMatrixMode: 1
292 | m_GateFitMode: 2
293 | m_FOVAxisMode: 0
294 | m_SensorSize: {x: 36, y: 24}
295 | m_LensShift: {x: 0, y: 0}
296 | m_FocalLength: 50
297 | m_NormalizedViewPortRect:
298 | serializedVersion: 2
299 | x: 0
300 | y: 0
301 | width: 1
302 | height: 1
303 | near clip plane: 0.1
304 | far clip plane: 100
305 | field of view: 14
306 | orthographic: 0
307 | orthographic size: 5
308 | m_Depth: -1
309 | m_CullingMask:
310 | serializedVersion: 2
311 | m_Bits: 4294967295
312 | m_RenderingPath: -1
313 | m_TargetTexture: {fileID: 0}
314 | m_TargetDisplay: 0
315 | m_TargetEye: 3
316 | m_HDR: 1
317 | m_AllowMSAA: 1
318 | m_AllowDynamicResolution: 0
319 | m_ForceIntoRT: 0
320 | m_OcclusionCulling: 0
321 | m_StereoConvergence: 10
322 | m_StereoSeparation: 0.022
323 | --- !u!4 &1430673603
324 | Transform:
325 | m_ObjectHideFlags: 0
326 | m_CorrespondingSourceObject: {fileID: 0}
327 | m_PrefabInstance: {fileID: 0}
328 | m_PrefabAsset: {fileID: 0}
329 | m_GameObject: {fileID: 1430673601}
330 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
331 | m_LocalPosition: {x: 0, y: 0, z: 0}
332 | m_LocalScale: {x: 1, y: 1, z: 1}
333 | m_ConstrainProportionsScale: 0
334 | m_Children: []
335 | m_Father: {fileID: 0}
336 | m_RootOrder: 1
337 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
338 |
--------------------------------------------------------------------------------
/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: 23
7 | productGUID: 2dbfa59d84c157e4f919565b97af45af
8 | AndroidProfiler: 0
9 | AndroidFilterTouchesWhenObscured: 0
10 | AndroidEnableSustainedPerformanceMode: 0
11 | defaultScreenOrientation: 4
12 | targetDevice: 2
13 | useOnDemandResources: 0
14 | accelerometerFrequency: 60
15 | companyName: DefaultCompany
16 | productName: OscJackVS
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: 0
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: 1280
46 | defaultScreenHeight: 720
47 | defaultScreenWidthWeb: 960
48 | defaultScreenHeightWeb: 600
49 | m_StereoRenderingPath: 0
50 | m_ActiveColorSpace: 1
51 | m_MTRendering: 1
52 | mipStripping: 0
53 | numberOfMipsStripped: 0
54 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000
55 | iosShowActivityIndicatorOnLoading: -1
56 | androidShowActivityIndicatorOnLoading: -1
57 | iosUseCustomAppBackgroundBehavior: 0
58 | iosAllowHTTPDownload: 1
59 | allowedAutorotateToPortrait: 1
60 | allowedAutorotateToPortraitUpsideDown: 1
61 | allowedAutorotateToLandscapeRight: 1
62 | allowedAutorotateToLandscapeLeft: 1
63 | useOSAutorotation: 1
64 | use32BitDisplayBuffer: 1
65 | preserveFramebufferAlpha: 0
66 | disableDepthAndStencilBuffers: 0
67 | androidStartInFullscreen: 1
68 | androidRenderOutsideSafeArea: 1
69 | androidUseSwappy: 1
70 | androidBlitType: 0
71 | androidResizableWindow: 0
72 | androidDefaultWindowWidth: 1920
73 | androidDefaultWindowHeight: 1080
74 | androidMinimumWindowWidth: 400
75 | androidMinimumWindowHeight: 300
76 | androidFullscreenMode: 1
77 | defaultIsNativeResolution: 1
78 | macRetinaSupport: 1
79 | runInBackground: 0
80 | captureSingleScreen: 0
81 | muteOtherAudioSources: 0
82 | Prepare IOS For Recording: 0
83 | Force IOS Speakers When Recording: 0
84 | deferSystemGesturesMode: 0
85 | hideHomeButton: 0
86 | submitAnalytics: 1
87 | usePlayerLog: 1
88 | bakeCollisionMeshes: 0
89 | forceSingleInstance: 0
90 | useFlipModelSwapchain: 1
91 | resizableWindow: 0
92 | useMacAppStoreValidation: 0
93 | macAppStoreCategory: public.app-category.games
94 | gpuSkinning: 1
95 | xboxPIXTextureCapture: 0
96 | xboxEnableAvatar: 0
97 | xboxEnableKinect: 0
98 | xboxEnableKinectAutoTracking: 0
99 | xboxEnableFitness: 0
100 | visibleInBackground: 1
101 | allowFullscreenSwitch: 1
102 | fullscreenMode: 3
103 | xboxSpeechDB: 0
104 | xboxEnableHeadOrientation: 0
105 | xboxEnableGuest: 0
106 | xboxEnablePIXSampling: 0
107 | metalFramebufferOnly: 0
108 | xboxOneResolution: 0
109 | xboxOneSResolution: 0
110 | xboxOneXResolution: 3
111 | xboxOneMonoLoggingLevel: 0
112 | xboxOneLoggingLevel: 1
113 | xboxOneDisableEsram: 0
114 | xboxOneEnableTypeOptimization: 0
115 | xboxOnePresentImmediateThreshold: 0
116 | switchQueueCommandMemory: 0
117 | switchQueueControlMemory: 16384
118 | switchQueueComputeMemory: 262144
119 | switchNVNShaderPoolsGranularity: 33554432
120 | switchNVNDefaultPoolsGranularity: 16777216
121 | switchNVNOtherPoolsGranularity: 16777216
122 | switchNVNMaxPublicTextureIDCount: 0
123 | switchNVNMaxPublicSamplerIDCount: 0
124 | stadiaPresentMode: 0
125 | stadiaTargetFramerate: 0
126 | vulkanNumSwapchainBuffers: 3
127 | vulkanEnableSetSRGBWrite: 0
128 | vulkanEnablePreTransform: 0
129 | vulkanEnableLateAcquireNextImage: 0
130 | vulkanEnableCommandBufferRecycling: 1
131 | m_SupportedAspectRatios:
132 | 4:3: 1
133 | 5:4: 1
134 | 16:10: 1
135 | 16:9: 1
136 | Others: 1
137 | bundleVersion: 0.1
138 | preloadedAssets: []
139 | metroInputSource: 0
140 | wsaTransparentSwapchain: 0
141 | m_HolographicPauseOnTrackingLoss: 1
142 | xboxOneDisableKinectGpuReservation: 1
143 | xboxOneEnable7thCore: 1
144 | vrSettings:
145 | enable360StereoCapture: 0
146 | isWsaHolographicRemotingEnabled: 0
147 | enableFrameTimingStats: 0
148 | useHDRDisplay: 0
149 | D3DHDRBitDepth: 0
150 | m_ColorGamuts: 00000000
151 | targetPixelDensity: 30
152 | resolutionScalingMode: 0
153 | androidSupportedAspectRatio: 1
154 | androidMaxAspectRatio: 2.1
155 | applicationIdentifier: {}
156 | buildNumber:
157 | Standalone: 0
158 | iPhone: 0
159 | tvOS: 0
160 | overrideDefaultApplicationIdentifier: 0
161 | AndroidBundleVersionCode: 1
162 | AndroidMinSdkVersion: 22
163 | AndroidTargetSdkVersion: 0
164 | AndroidPreferredInstallLocation: 1
165 | aotOptions:
166 | stripEngineCode: 1
167 | iPhoneStrippingLevel: 0
168 | iPhoneScriptCallOptimization: 0
169 | ForceInternetPermission: 0
170 | ForceSDCardPermission: 0
171 | CreateWallpaper: 0
172 | APKExpansionFiles: 0
173 | keepLoadedShadersAlive: 0
174 | StripUnusedMeshComponents: 1
175 | VertexChannelCompressionMask: 4054
176 | iPhoneSdkVersion: 988
177 | iOSTargetOSVersionString: 11.0
178 | tvOSSdkVersion: 0
179 | tvOSRequireExtendedGameController: 0
180 | tvOSTargetOSVersionString: 11.0
181 | uIPrerenderedIcon: 0
182 | uIRequiresPersistentWiFi: 0
183 | uIRequiresFullScreen: 1
184 | uIStatusBarHidden: 1
185 | uIExitOnSuspend: 0
186 | uIStatusBarStyle: 0
187 | appleTVSplashScreen: {fileID: 0}
188 | appleTVSplashScreen2x: {fileID: 0}
189 | tvOSSmallIconLayers: []
190 | tvOSSmallIconLayers2x: []
191 | tvOSLargeIconLayers: []
192 | tvOSLargeIconLayers2x: []
193 | tvOSTopShelfImageLayers: []
194 | tvOSTopShelfImageLayers2x: []
195 | tvOSTopShelfImageWideLayers: []
196 | tvOSTopShelfImageWideLayers2x: []
197 | iOSLaunchScreenType: 0
198 | iOSLaunchScreenPortrait: {fileID: 0}
199 | iOSLaunchScreenLandscape: {fileID: 0}
200 | iOSLaunchScreenBackgroundColor:
201 | serializedVersion: 2
202 | rgba: 0
203 | iOSLaunchScreenFillPct: 100
204 | iOSLaunchScreenSize: 100
205 | iOSLaunchScreenCustomXibPath:
206 | iOSLaunchScreeniPadType: 0
207 | iOSLaunchScreeniPadImage: {fileID: 0}
208 | iOSLaunchScreeniPadBackgroundColor:
209 | serializedVersion: 2
210 | rgba: 0
211 | iOSLaunchScreeniPadFillPct: 100
212 | iOSLaunchScreeniPadSize: 100
213 | iOSLaunchScreeniPadCustomXibPath:
214 | iOSLaunchScreenCustomStoryboardPath:
215 | iOSLaunchScreeniPadCustomStoryboardPath:
216 | iOSDeviceRequirements: []
217 | iOSURLSchemes: []
218 | macOSURLSchemes: []
219 | iOSBackgroundModes: 0
220 | iOSMetalForceHardShadows: 0
221 | metalEditorSupport: 1
222 | metalAPIValidation: 1
223 | iOSRenderExtraFrameOnPause: 0
224 | iosCopyPluginsCodeInsteadOfSymlink: 0
225 | appleDeveloperTeamID:
226 | iOSManualSigningProvisioningProfileID:
227 | tvOSManualSigningProvisioningProfileID:
228 | iOSManualSigningProvisioningProfileType: 0
229 | tvOSManualSigningProvisioningProfileType: 0
230 | appleEnableAutomaticSigning: 0
231 | iOSRequireARKit: 0
232 | iOSAutomaticallyDetectAndAddCapabilities: 1
233 | appleEnableProMotion: 0
234 | shaderPrecisionModel: 0
235 | clonedFromGUID: c0afd0d1d80e3634a9dac47e8a0426ea
236 | templatePackageId: com.unity.template.3d@5.0.3
237 | templateDefaultScene: Assets/Scenes/SampleScene.unity
238 | useCustomMainManifest: 0
239 | useCustomLauncherManifest: 0
240 | useCustomMainGradleTemplate: 0
241 | useCustomLauncherGradleManifest: 0
242 | useCustomBaseGradleTemplate: 0
243 | useCustomGradlePropertiesTemplate: 0
244 | useCustomProguardFile: 0
245 | AndroidTargetArchitectures: 1
246 | AndroidTargetDevices: 0
247 | AndroidSplashScreenScale: 0
248 | androidSplashScreen: {fileID: 0}
249 | AndroidKeystoreName:
250 | AndroidKeyaliasName:
251 | AndroidBuildApkPerCpuArchitecture: 0
252 | AndroidTVCompatibility: 0
253 | AndroidIsGame: 1
254 | AndroidEnableTango: 0
255 | androidEnableBanner: 1
256 | androidUseLowAccuracyLocation: 0
257 | androidUseCustomKeystore: 0
258 | m_AndroidBanners:
259 | - width: 320
260 | height: 180
261 | banner: {fileID: 0}
262 | androidGamepadSupportLevel: 0
263 | chromeosInputEmulation: 1
264 | AndroidMinifyWithR8: 0
265 | AndroidMinifyRelease: 0
266 | AndroidMinifyDebug: 0
267 | AndroidValidateAppBundleSize: 1
268 | AndroidAppBundleSizeToValidate: 150
269 | m_BuildTargetIcons: []
270 | m_BuildTargetPlatformIcons:
271 | - m_BuildTarget: iPhone
272 | m_Icons:
273 | - m_Textures: []
274 | m_Width: 180
275 | m_Height: 180
276 | m_Kind: 0
277 | m_SubKind: iPhone
278 | - m_Textures: []
279 | m_Width: 120
280 | m_Height: 120
281 | m_Kind: 0
282 | m_SubKind: iPhone
283 | - m_Textures: []
284 | m_Width: 167
285 | m_Height: 167
286 | m_Kind: 0
287 | m_SubKind: iPad
288 | - m_Textures: []
289 | m_Width: 152
290 | m_Height: 152
291 | m_Kind: 0
292 | m_SubKind: iPad
293 | - m_Textures: []
294 | m_Width: 76
295 | m_Height: 76
296 | m_Kind: 0
297 | m_SubKind: iPad
298 | - m_Textures: []
299 | m_Width: 120
300 | m_Height: 120
301 | m_Kind: 3
302 | m_SubKind: iPhone
303 | - m_Textures: []
304 | m_Width: 80
305 | m_Height: 80
306 | m_Kind: 3
307 | m_SubKind: iPhone
308 | - m_Textures: []
309 | m_Width: 80
310 | m_Height: 80
311 | m_Kind: 3
312 | m_SubKind: iPad
313 | - m_Textures: []
314 | m_Width: 40
315 | m_Height: 40
316 | m_Kind: 3
317 | m_SubKind: iPad
318 | - m_Textures: []
319 | m_Width: 87
320 | m_Height: 87
321 | m_Kind: 1
322 | m_SubKind: iPhone
323 | - m_Textures: []
324 | m_Width: 58
325 | m_Height: 58
326 | m_Kind: 1
327 | m_SubKind: iPhone
328 | - m_Textures: []
329 | m_Width: 29
330 | m_Height: 29
331 | m_Kind: 1
332 | m_SubKind: iPhone
333 | - m_Textures: []
334 | m_Width: 58
335 | m_Height: 58
336 | m_Kind: 1
337 | m_SubKind: iPad
338 | - m_Textures: []
339 | m_Width: 29
340 | m_Height: 29
341 | m_Kind: 1
342 | m_SubKind: iPad
343 | - m_Textures: []
344 | m_Width: 60
345 | m_Height: 60
346 | m_Kind: 2
347 | m_SubKind: iPhone
348 | - m_Textures: []
349 | m_Width: 40
350 | m_Height: 40
351 | m_Kind: 2
352 | m_SubKind: iPhone
353 | - m_Textures: []
354 | m_Width: 40
355 | m_Height: 40
356 | m_Kind: 2
357 | m_SubKind: iPad
358 | - m_Textures: []
359 | m_Width: 20
360 | m_Height: 20
361 | m_Kind: 2
362 | m_SubKind: iPad
363 | - m_Textures: []
364 | m_Width: 1024
365 | m_Height: 1024
366 | m_Kind: 4
367 | m_SubKind: App Store
368 | m_BuildTargetBatching:
369 | - m_BuildTarget: Standalone
370 | m_StaticBatching: 1
371 | m_DynamicBatching: 0
372 | - m_BuildTarget: tvOS
373 | m_StaticBatching: 1
374 | m_DynamicBatching: 0
375 | - m_BuildTarget: Android
376 | m_StaticBatching: 1
377 | m_DynamicBatching: 0
378 | - m_BuildTarget: iPhone
379 | m_StaticBatching: 1
380 | m_DynamicBatching: 0
381 | - m_BuildTarget: WebGL
382 | m_StaticBatching: 0
383 | m_DynamicBatching: 0
384 | m_BuildTargetGraphicsJobs:
385 | - m_BuildTarget: MacStandaloneSupport
386 | m_GraphicsJobs: 0
387 | - m_BuildTarget: Switch
388 | m_GraphicsJobs: 1
389 | - m_BuildTarget: MetroSupport
390 | m_GraphicsJobs: 1
391 | - m_BuildTarget: AppleTVSupport
392 | m_GraphicsJobs: 0
393 | - m_BuildTarget: BJMSupport
394 | m_GraphicsJobs: 1
395 | - m_BuildTarget: LinuxStandaloneSupport
396 | m_GraphicsJobs: 1
397 | - m_BuildTarget: PS4Player
398 | m_GraphicsJobs: 1
399 | - m_BuildTarget: iOSSupport
400 | m_GraphicsJobs: 0
401 | - m_BuildTarget: WindowsStandaloneSupport
402 | m_GraphicsJobs: 1
403 | - m_BuildTarget: XboxOnePlayer
404 | m_GraphicsJobs: 1
405 | - m_BuildTarget: LuminSupport
406 | m_GraphicsJobs: 0
407 | - m_BuildTarget: AndroidPlayer
408 | m_GraphicsJobs: 0
409 | - m_BuildTarget: WebGLSupport
410 | m_GraphicsJobs: 0
411 | m_BuildTargetGraphicsJobMode:
412 | - m_BuildTarget: PS4Player
413 | m_GraphicsJobMode: 0
414 | - m_BuildTarget: XboxOnePlayer
415 | m_GraphicsJobMode: 0
416 | m_BuildTargetGraphicsAPIs:
417 | - m_BuildTarget: AndroidPlayer
418 | m_APIs: 150000000b000000
419 | m_Automatic: 1
420 | - m_BuildTarget: iOSSupport
421 | m_APIs: 10000000
422 | m_Automatic: 1
423 | - m_BuildTarget: AppleTVSupport
424 | m_APIs: 10000000
425 | m_Automatic: 1
426 | - m_BuildTarget: WebGLSupport
427 | m_APIs: 0b000000
428 | m_Automatic: 1
429 | m_BuildTargetVRSettings:
430 | - m_BuildTarget: Standalone
431 | m_Enabled: 0
432 | m_Devices:
433 | - Oculus
434 | - OpenVR
435 | openGLRequireES31: 0
436 | openGLRequireES31AEP: 0
437 | openGLRequireES32: 0
438 | m_TemplateCustomTags: {}
439 | mobileMTRendering:
440 | Android: 1
441 | iPhone: 1
442 | tvOS: 1
443 | m_BuildTargetGroupLightmapEncodingQuality: []
444 | m_BuildTargetGroupLightmapSettings: []
445 | m_BuildTargetNormalMapEncoding: []
446 | m_BuildTargetDefaultTextureCompressionFormat: []
447 | playModeTestRunnerEnabled: 0
448 | runPlayModeTestAsEditModeTest: 0
449 | actionOnDotNetUnhandledException: 1
450 | enableInternalProfiler: 0
451 | logObjCUncaughtExceptions: 1
452 | enableCrashReportAPI: 0
453 | cameraUsageDescription:
454 | locationUsageDescription:
455 | microphoneUsageDescription:
456 | bluetoothUsageDescription:
457 | switchNMETAOverride:
458 | switchNetLibKey:
459 | switchSocketMemoryPoolSize: 6144
460 | switchSocketAllocatorPoolSize: 128
461 | switchSocketConcurrencyLimit: 14
462 | switchScreenResolutionBehavior: 2
463 | switchUseCPUProfiler: 0
464 | switchUseGOLDLinker: 0
465 | switchLTOSetting: 0
466 | switchApplicationID: 0x01004b9000490000
467 | switchNSODependencies:
468 | switchTitleNames_0:
469 | switchTitleNames_1:
470 | switchTitleNames_2:
471 | switchTitleNames_3:
472 | switchTitleNames_4:
473 | switchTitleNames_5:
474 | switchTitleNames_6:
475 | switchTitleNames_7:
476 | switchTitleNames_8:
477 | switchTitleNames_9:
478 | switchTitleNames_10:
479 | switchTitleNames_11:
480 | switchTitleNames_12:
481 | switchTitleNames_13:
482 | switchTitleNames_14:
483 | switchTitleNames_15:
484 | switchPublisherNames_0:
485 | switchPublisherNames_1:
486 | switchPublisherNames_2:
487 | switchPublisherNames_3:
488 | switchPublisherNames_4:
489 | switchPublisherNames_5:
490 | switchPublisherNames_6:
491 | switchPublisherNames_7:
492 | switchPublisherNames_8:
493 | switchPublisherNames_9:
494 | switchPublisherNames_10:
495 | switchPublisherNames_11:
496 | switchPublisherNames_12:
497 | switchPublisherNames_13:
498 | switchPublisherNames_14:
499 | switchPublisherNames_15:
500 | switchIcons_0: {fileID: 0}
501 | switchIcons_1: {fileID: 0}
502 | switchIcons_2: {fileID: 0}
503 | switchIcons_3: {fileID: 0}
504 | switchIcons_4: {fileID: 0}
505 | switchIcons_5: {fileID: 0}
506 | switchIcons_6: {fileID: 0}
507 | switchIcons_7: {fileID: 0}
508 | switchIcons_8: {fileID: 0}
509 | switchIcons_9: {fileID: 0}
510 | switchIcons_10: {fileID: 0}
511 | switchIcons_11: {fileID: 0}
512 | switchIcons_12: {fileID: 0}
513 | switchIcons_13: {fileID: 0}
514 | switchIcons_14: {fileID: 0}
515 | switchIcons_15: {fileID: 0}
516 | switchSmallIcons_0: {fileID: 0}
517 | switchSmallIcons_1: {fileID: 0}
518 | switchSmallIcons_2: {fileID: 0}
519 | switchSmallIcons_3: {fileID: 0}
520 | switchSmallIcons_4: {fileID: 0}
521 | switchSmallIcons_5: {fileID: 0}
522 | switchSmallIcons_6: {fileID: 0}
523 | switchSmallIcons_7: {fileID: 0}
524 | switchSmallIcons_8: {fileID: 0}
525 | switchSmallIcons_9: {fileID: 0}
526 | switchSmallIcons_10: {fileID: 0}
527 | switchSmallIcons_11: {fileID: 0}
528 | switchSmallIcons_12: {fileID: 0}
529 | switchSmallIcons_13: {fileID: 0}
530 | switchSmallIcons_14: {fileID: 0}
531 | switchSmallIcons_15: {fileID: 0}
532 | switchManualHTML:
533 | switchAccessibleURLs:
534 | switchLegalInformation:
535 | switchMainThreadStackSize: 1048576
536 | switchPresenceGroupId:
537 | switchLogoHandling: 0
538 | switchReleaseVersion: 0
539 | switchDisplayVersion: 1.0.0
540 | switchStartupUserAccount: 0
541 | switchTouchScreenUsage: 0
542 | switchSupportedLanguagesMask: 0
543 | switchLogoType: 0
544 | switchApplicationErrorCodeCategory:
545 | switchUserAccountSaveDataSize: 0
546 | switchUserAccountSaveDataJournalSize: 0
547 | switchApplicationAttribute: 0
548 | switchCardSpecSize: -1
549 | switchCardSpecClock: -1
550 | switchRatingsMask: 0
551 | switchRatingsInt_0: 0
552 | switchRatingsInt_1: 0
553 | switchRatingsInt_2: 0
554 | switchRatingsInt_3: 0
555 | switchRatingsInt_4: 0
556 | switchRatingsInt_5: 0
557 | switchRatingsInt_6: 0
558 | switchRatingsInt_7: 0
559 | switchRatingsInt_8: 0
560 | switchRatingsInt_9: 0
561 | switchRatingsInt_10: 0
562 | switchRatingsInt_11: 0
563 | switchRatingsInt_12: 0
564 | switchLocalCommunicationIds_0:
565 | switchLocalCommunicationIds_1:
566 | switchLocalCommunicationIds_2:
567 | switchLocalCommunicationIds_3:
568 | switchLocalCommunicationIds_4:
569 | switchLocalCommunicationIds_5:
570 | switchLocalCommunicationIds_6:
571 | switchLocalCommunicationIds_7:
572 | switchParentalControl: 0
573 | switchAllowsScreenshot: 1
574 | switchAllowsVideoCapturing: 1
575 | switchAllowsRuntimeAddOnContentInstall: 0
576 | switchDataLossConfirmation: 0
577 | switchUserAccountLockEnabled: 0
578 | switchSystemResourceMemory: 16777216
579 | switchSupportedNpadStyles: 22
580 | switchNativeFsCacheSize: 32
581 | switchIsHoldTypeHorizontal: 0
582 | switchSupportedNpadCount: 8
583 | switchSocketConfigEnabled: 0
584 | switchTcpInitialSendBufferSize: 32
585 | switchTcpInitialReceiveBufferSize: 64
586 | switchTcpAutoSendBufferSizeMax: 256
587 | switchTcpAutoReceiveBufferSizeMax: 256
588 | switchUdpSendBufferSize: 9
589 | switchUdpReceiveBufferSize: 42
590 | switchSocketBufferEfficiency: 4
591 | switchSocketInitializeEnabled: 1
592 | switchNetworkInterfaceManagerInitializeEnabled: 1
593 | switchPlayerConnectionEnabled: 1
594 | switchUseNewStyleFilepaths: 0
595 | switchUseMicroSleepForYield: 1
596 | switchEnableRamDiskSupport: 0
597 | switchMicroSleepForYieldTime: 25
598 | switchRamDiskSpaceSize: 12
599 | ps4NPAgeRating: 12
600 | ps4NPTitleSecret:
601 | ps4NPTrophyPackPath:
602 | ps4ParentalLevel: 11
603 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000
604 | ps4Category: 0
605 | ps4MasterVersion: 01.00
606 | ps4AppVersion: 01.00
607 | ps4AppType: 0
608 | ps4ParamSfxPath:
609 | ps4VideoOutPixelFormat: 0
610 | ps4VideoOutInitialWidth: 1920
611 | ps4VideoOutBaseModeInitialWidth: 1920
612 | ps4VideoOutReprojectionRate: 60
613 | ps4PronunciationXMLPath:
614 | ps4PronunciationSIGPath:
615 | ps4BackgroundImagePath:
616 | ps4StartupImagePath:
617 | ps4StartupImagesFolder:
618 | ps4IconImagesFolder:
619 | ps4SaveDataImagePath:
620 | ps4SdkOverride:
621 | ps4BGMPath:
622 | ps4ShareFilePath:
623 | ps4ShareOverlayImagePath:
624 | ps4PrivacyGuardImagePath:
625 | ps4ExtraSceSysFile:
626 | ps4NPtitleDatPath:
627 | ps4RemotePlayKeyAssignment: -1
628 | ps4RemotePlayKeyMappingDir:
629 | ps4PlayTogetherPlayerCount: 0
630 | ps4EnterButtonAssignment: 1
631 | ps4ApplicationParam1: 0
632 | ps4ApplicationParam2: 0
633 | ps4ApplicationParam3: 0
634 | ps4ApplicationParam4: 0
635 | ps4DownloadDataSize: 0
636 | ps4GarlicHeapSize: 2048
637 | ps4ProGarlicHeapSize: 2560
638 | playerPrefsMaxSize: 32768
639 | ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ
640 | ps4pnSessions: 1
641 | ps4pnPresence: 1
642 | ps4pnFriends: 1
643 | ps4pnGameCustomData: 1
644 | playerPrefsSupport: 0
645 | enableApplicationExit: 0
646 | resetTempFolder: 1
647 | restrictedAudioUsageRights: 0
648 | ps4UseResolutionFallback: 0
649 | ps4ReprojectionSupport: 0
650 | ps4UseAudio3dBackend: 0
651 | ps4UseLowGarlicFragmentationMode: 1
652 | ps4SocialScreenEnabled: 0
653 | ps4ScriptOptimizationLevel: 0
654 | ps4Audio3dVirtualSpeakerCount: 14
655 | ps4attribCpuUsage: 0
656 | ps4PatchPkgPath:
657 | ps4PatchLatestPkgPath:
658 | ps4PatchChangeinfoPath:
659 | ps4PatchDayOne: 0
660 | ps4attribUserManagement: 0
661 | ps4attribMoveSupport: 0
662 | ps4attrib3DSupport: 0
663 | ps4attribShareSupport: 0
664 | ps4attribExclusiveVR: 0
665 | ps4disableAutoHideSplash: 0
666 | ps4videoRecordingFeaturesUsed: 0
667 | ps4contentSearchFeaturesUsed: 0
668 | ps4CompatibilityPS5: 0
669 | ps4GPU800MHz: 1
670 | ps4attribEyeToEyeDistanceSettingVR: 0
671 | ps4IncludedModules: []
672 | ps4attribVROutputEnabled: 0
673 | monoEnv:
674 | splashScreenBackgroundSourceLandscape: {fileID: 0}
675 | splashScreenBackgroundSourcePortrait: {fileID: 0}
676 | blurSplashScreenBackground: 1
677 | spritePackerPolicy:
678 | webGLMemorySize: 16
679 | webGLExceptionSupport: 1
680 | webGLNameFilesAsHashes: 0
681 | webGLDataCaching: 1
682 | webGLDebugSymbols: 0
683 | webGLEmscriptenArgs:
684 | webGLModulesDirectory:
685 | webGLTemplate: APPLICATION:Default
686 | webGLAnalyzeBuildSize: 0
687 | webGLUseEmbeddedResources: 0
688 | webGLCompressionFormat: 1
689 | webGLWasmArithmeticExceptions: 0
690 | webGLLinkerTarget: 1
691 | webGLThreadsSupport: 0
692 | webGLDecompressionFallback: 0
693 | scriptingDefineSymbols: {}
694 | additionalCompilerArguments: {}
695 | platformArchitecture: {}
696 | scriptingBackend: {}
697 | il2cppCompilerConfiguration: {}
698 | managedStrippingLevel: {}
699 | incrementalIl2cppBuild: {}
700 | suppressCommonWarnings: 1
701 | allowUnsafeCode: 0
702 | useDeterministicCompilation: 1
703 | enableRoslynAnalyzers: 1
704 | additionalIl2CppArgs:
705 | scriptingRuntimeVersion: 1
706 | gcIncremental: 1
707 | assemblyVersionValidation: 1
708 | gcWBarrierValidation: 0
709 | apiCompatibilityLevelPerPlatform: {}
710 | m_RenderingPath: 1
711 | m_MobileRenderingPath: 1
712 | metroPackageName: Template_3D
713 | metroPackageVersion:
714 | metroCertificatePath:
715 | metroCertificatePassword:
716 | metroCertificateSubject:
717 | metroCertificateIssuer:
718 | metroCertificateNotAfter: 0000000000000000
719 | metroApplicationDescription: Template_3D
720 | wsaImages: {}
721 | metroTileShortName:
722 | metroTileShowName: 0
723 | metroMediumTileShowName: 0
724 | metroLargeTileShowName: 0
725 | metroWideTileShowName: 0
726 | metroSupportStreamingInstall: 0
727 | metroLastRequiredScene: 0
728 | metroDefaultTileSize: 1
729 | metroTileForegroundText: 2
730 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0}
731 | metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, a: 1}
732 | metroSplashScreenUseBackgroundColor: 0
733 | platformCapabilities: {}
734 | metroTargetDeviceFamilies: {}
735 | metroFTAName:
736 | metroFTAFileTypes: []
737 | metroProtocolName:
738 | vcxProjDefaultLanguage:
739 | XboxOneProductId:
740 | XboxOneUpdateKey:
741 | XboxOneSandboxId:
742 | XboxOneContentId:
743 | XboxOneTitleId:
744 | XboxOneSCId:
745 | XboxOneGameOsOverridePath:
746 | XboxOnePackagingOverridePath:
747 | XboxOneAppManifestOverridePath:
748 | XboxOneVersion: 1.0.0.0
749 | XboxOnePackageEncryption: 0
750 | XboxOnePackageUpdateGranularity: 2
751 | XboxOneDescription:
752 | XboxOneLanguage:
753 | - enus
754 | XboxOneCapability: []
755 | XboxOneGameRating: {}
756 | XboxOneIsContentPackage: 0
757 | XboxOneEnhancedXboxCompatibilityMode: 0
758 | XboxOneEnableGPUVariability: 1
759 | XboxOneSockets: {}
760 | XboxOneSplashScreen: {fileID: 0}
761 | XboxOneAllowedProductIds: []
762 | XboxOnePersistentLocalStorageSize: 0
763 | XboxOneXTitleMemory: 8
764 | XboxOneOverrideIdentityName:
765 | XboxOneOverrideIdentityPublisher:
766 | vrEditorSettings: {}
767 | cloudServicesEnabled:
768 | UNet: 1
769 | luminIcon:
770 | m_Name:
771 | m_ModelFolderPath:
772 | m_PortalFolderPath:
773 | luminCert:
774 | m_CertPath:
775 | m_SignPackage: 1
776 | luminIsChannelApp: 0
777 | luminVersion:
778 | m_VersionCode: 1
779 | m_VersionName:
780 | apiCompatibilityLevel: 6
781 | activeInputHandler: 1
782 | cloudProjectId:
783 | framebufferDepthMemorylessMode: 0
784 | qualitySettingsNames: []
785 | projectName:
786 | organizationId:
787 | cloudEnabled: 0
788 | legacyClampBlendShapeWeights: 0
789 | playerDataPath:
790 | forceSRGBBlit: 1
791 | virtualTexturingSupportEnabled: 0
792 |
--------------------------------------------------------------------------------
/Assets/Teapot.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.12731689, g: 0.13414702, b: 0.1210784, a: 1}
42 | m_UseRadianceAmbientProbe: 0
43 | --- !u!157 &3
44 | LightmapSettings:
45 | m_ObjectHideFlags: 0
46 | serializedVersion: 12
47 | m_GIWorkflowMode: 1
48 | m_GISettings:
49 | serializedVersion: 2
50 | m_BounceScale: 1
51 | m_IndirectOutputScale: 1
52 | m_AlbedoBoost: 1
53 | m_EnvironmentLightingMode: 0
54 | m_EnableBakedLightmaps: 1
55 | m_EnableRealtimeLightmaps: 0
56 | m_LightmapEditorSettings:
57 | serializedVersion: 12
58 | m_Resolution: 2
59 | m_BakeResolution: 40
60 | m_AtlasSize: 1024
61 | m_AO: 0
62 | m_AOMaxDistance: 1
63 | m_CompAOExponent: 1
64 | m_CompAOExponentDirect: 0
65 | m_ExtractAmbientOcclusion: 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: 512
79 | m_PVRBounces: 2
80 | m_PVREnvironmentSampleCount: 256
81 | m_PVREnvironmentReferencePointCount: 2048
82 | m_PVRFilteringMode: 1
83 | m_PVRDenoiserTypeDirect: 1
84 | m_PVRDenoiserTypeIndirect: 1
85 | m_PVRDenoiserTypeAO: 1
86 | m_PVRFilterTypeDirect: 0
87 | m_PVRFilterTypeIndirect: 0
88 | m_PVRFilterTypeAO: 0
89 | m_PVREnvironmentMIS: 1
90 | m_PVRCulling: 1
91 | m_PVRFilteringGaussRadiusDirect: 1
92 | m_PVRFilteringGaussRadiusIndirect: 5
93 | m_PVRFilteringGaussRadiusAO: 2
94 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5
95 | m_PVRFilteringAtrousPositionSigmaIndirect: 2
96 | m_PVRFilteringAtrousPositionSigmaAO: 1
97 | m_ExportTrainingData: 0
98 | m_TrainingDataDestination: TrainingData
99 | m_LightProbeSampleCountMultiplier: 4
100 | m_LightingDataAsset: {fileID: 0}
101 | m_LightingSettings: {fileID: 0}
102 | --- !u!196 &4
103 | NavMeshSettings:
104 | serializedVersion: 2
105 | m_ObjectHideFlags: 0
106 | m_BuildSettings:
107 | serializedVersion: 2
108 | agentTypeID: 0
109 | agentRadius: 0.5
110 | agentHeight: 2
111 | agentSlope: 45
112 | agentClimb: 0.4
113 | ledgeDropHeight: 0
114 | maxJumpAcrossDistance: 0
115 | minRegionArea: 2
116 | manualCellSize: 0
117 | cellSize: 0.16666667
118 | manualTileSize: 0
119 | tileSize: 256
120 | accuratePlacement: 0
121 | maxJobWorkers: 0
122 | preserveTilesOutsideBounds: 0
123 | debug:
124 | m_Flags: 0
125 | m_NavMeshData: {fileID: 0}
126 | --- !u!1 &73057674
127 | GameObject:
128 | m_ObjectHideFlags: 0
129 | m_CorrespondingSourceObject: {fileID: 0}
130 | m_PrefabInstance: {fileID: 0}
131 | m_PrefabAsset: {fileID: 0}
132 | serializedVersion: 6
133 | m_Component:
134 | - component: {fileID: 73057677}
135 | - component: {fileID: 73057676}
136 | - component: {fileID: 73057675}
137 | m_Layer: 0
138 | m_Name: Scene Variables
139 | m_TagString: Untagged
140 | m_Icon: {fileID: 0}
141 | m_NavMeshLayer: 0
142 | m_StaticEditorFlags: 0
143 | m_IsActive: 1
144 | --- !u!114 &73057675
145 | MonoBehaviour:
146 | m_ObjectHideFlags: 0
147 | m_CorrespondingSourceObject: {fileID: 0}
148 | m_PrefabInstance: {fileID: 0}
149 | m_PrefabAsset: {fileID: 0}
150 | m_GameObject: {fileID: 73057674}
151 | m_Enabled: 1
152 | m_EditorHideFlags: 0
153 | m_Script: {fileID: 11500000, guid: 765181c9ef4b24d32a4f7cbd2ef370dc, type: 3}
154 | m_Name:
155 | m_EditorClassIdentifier:
156 | --- !u!114 &73057676
157 | MonoBehaviour:
158 | m_ObjectHideFlags: 0
159 | m_CorrespondingSourceObject: {fileID: 0}
160 | m_PrefabInstance: {fileID: 0}
161 | m_PrefabAsset: {fileID: 0}
162 | m_GameObject: {fileID: 73057674}
163 | m_Enabled: 1
164 | m_EditorHideFlags: 0
165 | m_Script: {fileID: 11500000, guid: e741851cba3ad425c91ecf922cc6b379, type: 3}
166 | m_Name:
167 | m_EditorClassIdentifier:
168 | _data:
169 | _json: '{"declarations":{"collection":{"$content":[],"$version":"A"},"$version":"A"}}'
170 | _objectReferences: []
171 | --- !u!4 &73057677
172 | Transform:
173 | m_ObjectHideFlags: 0
174 | m_CorrespondingSourceObject: {fileID: 0}
175 | m_PrefabInstance: {fileID: 0}
176 | m_PrefabAsset: {fileID: 0}
177 | m_GameObject: {fileID: 73057674}
178 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
179 | m_LocalPosition: {x: 0, y: 0, z: 0}
180 | m_LocalScale: {x: 1, y: 1, z: 1}
181 | m_ConstrainProportionsScale: 0
182 | m_Children: []
183 | m_Father: {fileID: 0}
184 | m_RootOrder: 0
185 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
186 | --- !u!1 &110407894
187 | GameObject:
188 | m_ObjectHideFlags: 0
189 | m_CorrespondingSourceObject: {fileID: 0}
190 | m_PrefabInstance: {fileID: 0}
191 | m_PrefabAsset: {fileID: 0}
192 | serializedVersion: 6
193 | m_Component:
194 | - component: {fileID: 110407895}
195 | m_Layer: 0
196 | m_Name: Light Pivot
197 | m_TagString: Untagged
198 | m_Icon: {fileID: 0}
199 | m_NavMeshLayer: 0
200 | m_StaticEditorFlags: 0
201 | m_IsActive: 1
202 | --- !u!4 &110407895
203 | Transform:
204 | m_ObjectHideFlags: 0
205 | m_CorrespondingSourceObject: {fileID: 0}
206 | m_PrefabInstance: {fileID: 0}
207 | m_PrefabAsset: {fileID: 0}
208 | m_GameObject: {fileID: 110407894}
209 | m_LocalRotation: {x: 0.2432104, y: 0.33036605, z: -0.08852133, w: 0.9076734}
210 | m_LocalPosition: {x: 0, y: 0, z: 0}
211 | m_LocalScale: {x: 1, y: 1, z: 1}
212 | m_ConstrainProportionsScale: 0
213 | m_Children:
214 | - {fileID: 1795735676}
215 | m_Father: {fileID: 0}
216 | m_RootOrder: 2
217 | m_LocalEulerAnglesHint: {x: 30, y: 40, z: 0}
218 | --- !u!1 &242366059
219 | GameObject:
220 | m_ObjectHideFlags: 0
221 | m_CorrespondingSourceObject: {fileID: 0}
222 | m_PrefabInstance: {fileID: 0}
223 | m_PrefabAsset: {fileID: 0}
224 | serializedVersion: 6
225 | m_Component:
226 | - component: {fileID: 242366060}
227 | - component: {fileID: 242366061}
228 | m_Layer: 0
229 | m_Name: Spot Light
230 | m_TagString: Untagged
231 | m_Icon: {fileID: 0}
232 | m_NavMeshLayer: 0
233 | m_StaticEditorFlags: 0
234 | m_IsActive: 1
235 | --- !u!4 &242366060
236 | Transform:
237 | m_ObjectHideFlags: 0
238 | m_CorrespondingSourceObject: {fileID: 0}
239 | m_PrefabInstance: {fileID: 0}
240 | m_PrefabAsset: {fileID: 0}
241 | m_GameObject: {fileID: 242366059}
242 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
243 | m_LocalPosition: {x: 0, y: 0, z: -5}
244 | m_LocalScale: {x: 1, y: 1, z: 1}
245 | m_ConstrainProportionsScale: 0
246 | m_Children: []
247 | m_Father: {fileID: 450824352}
248 | m_RootOrder: 0
249 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
250 | --- !u!108 &242366061
251 | Light:
252 | m_ObjectHideFlags: 0
253 | m_CorrespondingSourceObject: {fileID: 0}
254 | m_PrefabInstance: {fileID: 0}
255 | m_PrefabAsset: {fileID: 0}
256 | m_GameObject: {fileID: 242366059}
257 | m_Enabled: 1
258 | serializedVersion: 10
259 | m_Type: 0
260 | m_Shape: 0
261 | m_Color: {r: 1, g: 0.0990566, b: 0.6423677, a: 1}
262 | m_Intensity: 0.4
263 | m_Range: 10
264 | m_SpotAngle: 50
265 | m_InnerSpotAngle: 5
266 | m_CookieSize: 10
267 | m_Shadows:
268 | m_Type: 0
269 | m_Resolution: -1
270 | m_CustomResolution: -1
271 | m_Strength: 1
272 | m_Bias: 0.05
273 | m_NormalBias: 0.4
274 | m_NearPlane: 0.2
275 | m_CullingMatrixOverride:
276 | e00: 1
277 | e01: 0
278 | e02: 0
279 | e03: 0
280 | e10: 0
281 | e11: 1
282 | e12: 0
283 | e13: 0
284 | e20: 0
285 | e21: 0
286 | e22: 1
287 | e23: 0
288 | e30: 0
289 | e31: 0
290 | e32: 0
291 | e33: 1
292 | m_UseCullingMatrixOverride: 0
293 | m_Cookie: {fileID: 0}
294 | m_DrawHalo: 0
295 | m_Flare: {fileID: 0}
296 | m_RenderMode: 0
297 | m_CullingMask:
298 | serializedVersion: 2
299 | m_Bits: 4294967295
300 | m_RenderingLayerMask: 1
301 | m_Lightmapping: 4
302 | m_LightShadowCasterMode: 0
303 | m_AreaSize: {x: 1, y: 1}
304 | m_BounceIntensity: 1
305 | m_ColorTemperature: 6570
306 | m_UseColorTemperature: 0
307 | m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
308 | m_UseBoundingSphereOverride: 0
309 | m_UseViewFrustumForShadowCasterCull: 1
310 | m_ShadowRadius: 0
311 | m_ShadowAngle: 0
312 | --- !u!1 &450824351
313 | GameObject:
314 | m_ObjectHideFlags: 0
315 | m_CorrespondingSourceObject: {fileID: 0}
316 | m_PrefabInstance: {fileID: 0}
317 | m_PrefabAsset: {fileID: 0}
318 | serializedVersion: 6
319 | m_Component:
320 | - component: {fileID: 450824352}
321 | m_Layer: 0
322 | m_Name: Light Pivot
323 | m_TagString: Untagged
324 | m_Icon: {fileID: 0}
325 | m_NavMeshLayer: 0
326 | m_StaticEditorFlags: 0
327 | m_IsActive: 1
328 | --- !u!4 &450824352
329 | Transform:
330 | m_ObjectHideFlags: 0
331 | m_CorrespondingSourceObject: {fileID: 0}
332 | m_PrefabInstance: {fileID: 0}
333 | m_PrefabAsset: {fileID: 0}
334 | m_GameObject: {fileID: 450824351}
335 | m_LocalRotation: {x: 0.0499905, y: -0.8160349, z: 0.07139384, w: 0.5713938}
336 | m_LocalPosition: {x: 0, y: 0, z: 0}
337 | m_LocalScale: {x: 1, y: 1, z: 1}
338 | m_ConstrainProportionsScale: 0
339 | m_Children:
340 | - {fileID: 242366060}
341 | m_Father: {fileID: 0}
342 | m_RootOrder: 3
343 | m_LocalEulerAnglesHint: {x: 10, y: -110, z: 0}
344 | --- !u!1 &788170388
345 | GameObject:
346 | m_ObjectHideFlags: 0
347 | m_CorrespondingSourceObject: {fileID: 0}
348 | m_PrefabInstance: {fileID: 0}
349 | m_PrefabAsset: {fileID: 0}
350 | serializedVersion: 6
351 | m_Component:
352 | - component: {fileID: 788170391}
353 | - component: {fileID: 788170390}
354 | - component: {fileID: 788170389}
355 | m_Layer: 0
356 | m_Name: Floor
357 | m_TagString: Untagged
358 | m_Icon: {fileID: 0}
359 | m_NavMeshLayer: 0
360 | m_StaticEditorFlags: 0
361 | m_IsActive: 1
362 | --- !u!23 &788170389
363 | MeshRenderer:
364 | m_ObjectHideFlags: 0
365 | m_CorrespondingSourceObject: {fileID: 0}
366 | m_PrefabInstance: {fileID: 0}
367 | m_PrefabAsset: {fileID: 0}
368 | m_GameObject: {fileID: 788170388}
369 | m_Enabled: 1
370 | m_CastShadows: 1
371 | m_ReceiveShadows: 1
372 | m_DynamicOccludee: 1
373 | m_StaticShadowCaster: 0
374 | m_MotionVectors: 1
375 | m_LightProbeUsage: 1
376 | m_ReflectionProbeUsage: 1
377 | m_RayTracingMode: 2
378 | m_RayTraceProcedural: 0
379 | m_RenderingLayerMask: 1
380 | m_RendererPriority: 0
381 | m_Materials:
382 | - {fileID: 2100000, guid: 1274f11a2193c714aa88f1b18844314b, type: 2}
383 | m_StaticBatchInfo:
384 | firstSubMesh: 0
385 | subMeshCount: 0
386 | m_StaticBatchRoot: {fileID: 0}
387 | m_ProbeAnchor: {fileID: 0}
388 | m_LightProbeVolumeOverride: {fileID: 0}
389 | m_ScaleInLightmap: 1
390 | m_ReceiveGI: 1
391 | m_PreserveUVs: 0
392 | m_IgnoreNormalsForChartDetection: 0
393 | m_ImportantGI: 0
394 | m_StitchLightmapSeams: 1
395 | m_SelectedEditorRenderState: 3
396 | m_MinimumChartSize: 4
397 | m_AutoUVMaxDistance: 0.5
398 | m_AutoUVMaxAngle: 89
399 | m_LightmapParameters: {fileID: 0}
400 | m_SortingLayerID: 0
401 | m_SortingLayer: 0
402 | m_SortingOrder: 0
403 | m_AdditionalVertexStreams: {fileID: 0}
404 | --- !u!33 &788170390
405 | MeshFilter:
406 | m_ObjectHideFlags: 0
407 | m_CorrespondingSourceObject: {fileID: 0}
408 | m_PrefabInstance: {fileID: 0}
409 | m_PrefabAsset: {fileID: 0}
410 | m_GameObject: {fileID: 788170388}
411 | m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
412 | --- !u!4 &788170391
413 | Transform:
414 | m_ObjectHideFlags: 0
415 | m_CorrespondingSourceObject: {fileID: 0}
416 | m_PrefabInstance: {fileID: 0}
417 | m_PrefabAsset: {fileID: 0}
418 | m_GameObject: {fileID: 788170388}
419 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
420 | m_LocalPosition: {x: 0, y: 0, z: 0}
421 | m_LocalScale: {x: 5, y: 5, z: 5}
422 | m_ConstrainProportionsScale: 0
423 | m_Children: []
424 | m_Father: {fileID: 0}
425 | m_RootOrder: 4
426 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
427 | --- !u!1 &1430673601
428 | GameObject:
429 | m_ObjectHideFlags: 0
430 | m_CorrespondingSourceObject: {fileID: 0}
431 | m_PrefabInstance: {fileID: 0}
432 | m_PrefabAsset: {fileID: 0}
433 | serializedVersion: 6
434 | m_Component:
435 | - component: {fileID: 1430673603}
436 | - component: {fileID: 1430673602}
437 | m_Layer: 0
438 | m_Name: Main Camera
439 | m_TagString: MainCamera
440 | m_Icon: {fileID: 0}
441 | m_NavMeshLayer: 0
442 | m_StaticEditorFlags: 0
443 | m_IsActive: 1
444 | --- !u!20 &1430673602
445 | Camera:
446 | m_ObjectHideFlags: 0
447 | m_CorrespondingSourceObject: {fileID: 0}
448 | m_PrefabInstance: {fileID: 0}
449 | m_PrefabAsset: {fileID: 0}
450 | m_GameObject: {fileID: 1430673601}
451 | m_Enabled: 1
452 | serializedVersion: 2
453 | m_ClearFlags: 2
454 | m_BackGroundColor: {r: 0, g: 0, b: 0, a: 0}
455 | m_projectionMatrixMode: 1
456 | m_GateFitMode: 2
457 | m_FOVAxisMode: 0
458 | m_SensorSize: {x: 36, y: 24}
459 | m_LensShift: {x: 0, y: 0}
460 | m_FocalLength: 50
461 | m_NormalizedViewPortRect:
462 | serializedVersion: 2
463 | x: 0
464 | y: 0
465 | width: 1
466 | height: 1
467 | near clip plane: 0.1
468 | far clip plane: 100
469 | field of view: 14
470 | orthographic: 0
471 | orthographic size: 5
472 | m_Depth: -1
473 | m_CullingMask:
474 | serializedVersion: 2
475 | m_Bits: 4294967295
476 | m_RenderingPath: -1
477 | m_TargetTexture: {fileID: 0}
478 | m_TargetDisplay: 0
479 | m_TargetEye: 3
480 | m_HDR: 1
481 | m_AllowMSAA: 1
482 | m_AllowDynamicResolution: 0
483 | m_ForceIntoRT: 0
484 | m_OcclusionCulling: 0
485 | m_StereoConvergence: 10
486 | m_StereoSeparation: 0.022
487 | --- !u!4 &1430673603
488 | Transform:
489 | m_ObjectHideFlags: 0
490 | m_CorrespondingSourceObject: {fileID: 0}
491 | m_PrefabInstance: {fileID: 0}
492 | m_PrefabAsset: {fileID: 0}
493 | m_GameObject: {fileID: 1430673601}
494 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
495 | m_LocalPosition: {x: 0, y: 0, z: -10}
496 | m_LocalScale: {x: 1, y: 1, z: 1}
497 | m_ConstrainProportionsScale: 0
498 | m_Children: []
499 | m_Father: {fileID: 2117830738}
500 | m_RootOrder: 0
501 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
502 | --- !u!1 &1777717133
503 | GameObject:
504 | m_ObjectHideFlags: 0
505 | m_CorrespondingSourceObject: {fileID: 0}
506 | m_PrefabInstance: {fileID: 0}
507 | m_PrefabAsset: {fileID: 0}
508 | serializedVersion: 6
509 | m_Component:
510 | - component: {fileID: 1777717138}
511 | - component: {fileID: 1777717137}
512 | - component: {fileID: 1777717136}
513 | - component: {fileID: 1777717135}
514 | - component: {fileID: 1777717134}
515 | m_Layer: 0
516 | m_Name: Teapot
517 | m_TagString: Untagged
518 | m_Icon: {fileID: 0}
519 | m_NavMeshLayer: 0
520 | m_StaticEditorFlags: 0
521 | m_IsActive: 1
522 | --- !u!114 &1777717134
523 | MonoBehaviour:
524 | m_ObjectHideFlags: 0
525 | m_CorrespondingSourceObject: {fileID: 0}
526 | m_PrefabInstance: {fileID: 0}
527 | m_PrefabAsset: {fileID: 0}
528 | m_GameObject: {fileID: 1777717133}
529 | m_Enabled: 1
530 | m_EditorHideFlags: 0
531 | m_Script: {fileID: 11500000, guid: d2fe5546f775c47d2820aa5e8a715f53, type: 3}
532 | m_Name:
533 | m_EditorClassIdentifier:
534 | _data:
535 | _json: '{"nest":{"source":"Embed","macro":null,"embed":{"variables":{"collection":{"$content":[],"$version":"A"},"$version":"A"},"controlInputDefinitions":[],"controlOutputDefinitions":[],"valueInputDefinitions":[],"valueOutputDefinitions":[],"title":null,"summary":null,"pan":{"x":-0.6003418,"y":95.72699},"zoom":1.0,"elements":[{"defaultValues":{"Connection":{"$content":0,"$type":"UnityEngine.Object"},"Address":{"$content":"/1/fader1","$type":"System.String"}},"position":{"x":-300.0,"y":-120.0},"guid":"4a695051-e7ba-454e-aa3a-4e966c42f1a9","$version":"A","$type":"OscJack.VisualScripting.OscFloatInput","$id":"10"},{"defaultValues":{"Connection":{"$content":1,"$type":"UnityEngine.Object"},"Address":{"$content":"/string","$type":"System.String"}},"position":{"x":564.0,"y":-24.0},"guid":"40eecb89-c030-4326-a914-31abf2bd7345","$version":"A","$type":"OscJack.VisualScripting.OscStringInput","$id":"12"},{"chainable":false,"member":{"name":"localPosition","parameterTypes":null,"targetType":"UnityEngine.Transform","targetTypeName":"UnityEngine.Transform","$version":"A"},"defaultValues":{"target":null,"input":{"x":0.0,"y":0.0,"z":0.0,"$type":"UnityEngine.Vector3"}},"position":{"x":12.0,"y":372.0},"guid":"8b390f77-c738-429b-8d6c-d7f2ecb1193a","$version":"A","$type":"Unity.VisualScripting.SetMember","$id":"14"},{"defaultValues":{"Connection":{"$content":2,"$type":"UnityEngine.Object"},"Address":{"$content":"/int","$type":"System.String"}},"position":{"x":564.0,"y":-144.0},"guid":"85ea9ba5-de2a-481d-b05c-ae46698b4b2c","$version":"A","$type":"OscJack.VisualScripting.OscIntInput","$id":"17"},{"defaultValues":{"b":{"$content":180.0,"$type":"System.Single"}},"position":{"x":-120.0,"y":192.0},"guid":"4a75a2e0-245e-4719-9e6a-5226257d69d9","$version":"A","$type":"Unity.VisualScripting.ScalarMultiply","$id":"19"},{"chainable":false,"member":{"name":"AngleAxis","parameterTypes":["System.Single","UnityEngine.Vector3"],"targetType":"UnityEngine.Quaternion","targetTypeName":"UnityEngine.Quaternion","$version":"A"},"defaultValues":{"%angle":{"$content":0.0,"$type":"System.Single"},"%axis":{"x":0.0,"y":1.0,"z":0.0,"$type":"UnityEngine.Vector3"}},"position":{"x":60.0,"y":192.0},"guid":"0edffac5-97af-43d7-8bf8-c46c0e62a4f1","$version":"A","$type":"Unity.VisualScripting.InvokeMember","$id":"21"},{"chainable":false,"member":{"name":"localRotation","parameterTypes":null,"targetType":"UnityEngine.Transform","targetTypeName":"UnityEngine.Transform","$version":"A"},"defaultValues":{"target":null},"position":{"x":264.0,"y":108.0},"guid":"d06b56a0-1999-4bd4-8221-53e740e2dafa","$version":"A","$type":"Unity.VisualScripting.SetMember","$id":"24"},{"chainable":false,"member":{"name":"Log","parameterTypes":["System.Object"],"targetType":"UnityEngine.Debug","targetTypeName":"UnityEngine.Debug","$version":"A"},"defaultValues":{},"position":{"x":840.0,"y":-24.0},"guid":"20d65a7d-07aa-4ee7-8706-9c1bd1b5569d","$version":"A","$type":"Unity.VisualScripting.InvokeMember","$id":"27"},{"defaultValues":{},"position":{"x":-24.0,"y":-48.0},"guid":"23717de9-bdba-4142-ab24-1979c6a41828","$version":"A","$type":"Unity.VisualScripting.GenericMultiply","$id":"30"},{"member":{"name":"one","parameterTypes":null,"targetType":"UnityEngine.Vector3","targetTypeName":"UnityEngine.Vector3","$version":"A"},"defaultValues":{},"position":{"x":-180.0,"y":0.0},"guid":"393bf722-c7b2-4aa1-b9c0-91a3567c7d2b","$version":"A","$type":"Unity.VisualScripting.GetMember","$id":"32"},{"defaultValues":{"Connection":{"$content":3,"$type":"UnityEngine.Object"},"Address":{"$content":"/1/fader2","$type":"System.String"}},"position":{"x":-384.0,"y":108.0},"guid":"b1e8a634-d2f3-411e-a410-da735babd8d4","$version":"A","$type":"OscJack.VisualScripting.OscFloatInput","$id":"35"},{"defaultValues":{"Connection":{"$content":4,"$type":"UnityEngine.Object"},"Address":{"$content":"/3/xy","$type":"System.String"}},"position":{"x":-264.0,"y":372.0},"guid":"5ffa542f-686a-4532-80bd-16648cfe0644","$version":"A","$type":"OscJack.VisualScripting.OscVector2Input","$id":"37"},{"chainable":false,"member":{"name":"localScale","parameterTypes":null,"targetType":"UnityEngine.Transform","targetTypeName":"UnityEngine.Transform","$version":"A"},"defaultValues":{"target":null,"input":{"x":0.0,"y":0.0,"z":0.0,"$type":"UnityEngine.Vector3"}},"position":{"x":132.0,"y":-120.0},"guid":"069e872f-b32e-4999-b7eb-7702413ae38e","$version":"A","$type":"Unity.VisualScripting.SetMember","$id":"39"},{"defaultValues":{"Connection":{"$content":5,"$type":"UnityEngine.Object"},"Address":{"$content":"/bang","$type":"System.String"}},"position":{"x":564.0,"y":96.0},"guid":"41dd5e21-fe9c-4859-b41d-53aa7d713f96","$version":"A","$type":"OscJack.VisualScripting.OscBangInput","$id":"42"},{"chainable":false,"member":{"name":"Log","parameterTypes":["System.Object"],"targetType":"UnityEngine.Debug","targetTypeName":"UnityEngine.Debug","$version":"A"},"defaultValues":{},"position":{"x":840.0,"y":144.0},"guid":"122d1778-2374-4317-8159-fb7569b04e08","$version":"A","$type":"Unity.VisualScripting.InvokeMember","$id":"44"},{"type":"System.String","value":{"$content":"Bang!","$type":"System.String"},"defaultValues":{},"position":{"x":696.0,"y":216.0},"guid":"81a6b87d-2b25-4711-8c0d-b8309b495d06","$version":"A","$type":"Unity.VisualScripting.Literal","$id":"47"},{"chainable":false,"member":{"name":"Log","parameterTypes":["System.Object"],"targetType":"UnityEngine.Debug","targetTypeName":"UnityEngine.Debug","$version":"A"},"defaultValues":{},"position":{"x":840.0,"y":-144.0},"guid":"5be19430-abe1-4c1b-9fb2-d533978fb83f","$version":"A","$type":"Unity.VisualScripting.InvokeMember","$id":"49"},{"sourceUnit":{"$ref":"35"},"sourceKey":"Received","destinationUnit":{"$ref":"24"},"destinationKey":"assign","guid":"6beb69ca-a9bf-4491-8b23-e8b1ea8e76ab","$type":"Unity.VisualScripting.ControlConnection"},{"sourceUnit":{"$ref":"10"},"sourceKey":"Received","destinationUnit":{"$ref":"39"},"destinationKey":"assign","guid":"36c4eaef-9eee-4992-9591-51fa41adaf4e","$type":"Unity.VisualScripting.ControlConnection"},{"sourceUnit":{"$ref":"12"},"sourceKey":"Received","destinationUnit":{"$ref":"27"},"destinationKey":"enter","guid":"87b0dfe6-b07b-4691-a6f4-75e8e7971366","$type":"Unity.VisualScripting.ControlConnection"},{"sourceUnit":{"$ref":"37"},"sourceKey":"Received","destinationUnit":{"$ref":"14"},"destinationKey":"assign","guid":"4dde26ce-60c8-45e6-93e2-f0d46151c4a0","$type":"Unity.VisualScripting.ControlConnection"},{"sourceUnit":{"$ref":"17"},"sourceKey":"Received","destinationUnit":{"$ref":"49"},"destinationKey":"enter","guid":"c737349c-6b3a-4286-b968-ee7f96ffd997","$type":"Unity.VisualScripting.ControlConnection"},{"sourceUnit":{"$ref":"42"},"sourceKey":"Received","destinationUnit":{"$ref":"44"},"destinationKey":"enter","guid":"9a48cc47-680f-458d-91f0-4a7dc0881abf","$type":"Unity.VisualScripting.ControlConnection"},{"sourceUnit":{"$ref":"35"},"sourceKey":"Value","destinationUnit":{"$ref":"19"},"destinationKey":"a","guid":"b98c112c-830e-4a9c-9a1b-cdc00b84c30f","$type":"Unity.VisualScripting.ValueConnection"},{"sourceUnit":{"$ref":"32"},"sourceKey":"value","destinationUnit":{"$ref":"30"},"destinationKey":"b","guid":"7d4c13f0-c8ea-4ef3-8233-020ed3013336","$type":"Unity.VisualScripting.ValueConnection"},{"sourceUnit":{"$ref":"17"},"sourceKey":"Value","destinationUnit":{"$ref":"49"},"destinationKey":"%message","guid":"f2b3ed30-2eaf-4222-8c9b-ab6b512d8d69","$type":"Unity.VisualScripting.ValueConnection"},{"sourceUnit":{"$ref":"19"},"sourceKey":"product","destinationUnit":{"$ref":"21"},"destinationKey":"%angle","guid":"d01151d4-0f96-411a-8538-bf3a574da9c7","$type":"Unity.VisualScripting.ValueConnection"},{"sourceUnit":{"$ref":"37"},"sourceKey":"Value","destinationUnit":{"$ref":"14"},"destinationKey":"input","guid":"6e0dd090-aacd-43f7-9521-c90d3c600aee","$type":"Unity.VisualScripting.ValueConnection"},{"sourceUnit":{"$ref":"12"},"sourceKey":"Value","destinationUnit":{"$ref":"27"},"destinationKey":"%message","guid":"fceec752-f772-41ff-b6a1-667a430488cc","$type":"Unity.VisualScripting.ValueConnection"},{"sourceUnit":{"$ref":"47"},"sourceKey":"output","destinationUnit":{"$ref":"44"},"destinationKey":"%message","guid":"ce70b92b-02fe-42f4-8887-98f9488eff58","$type":"Unity.VisualScripting.ValueConnection"},{"sourceUnit":{"$ref":"30"},"sourceKey":"product","destinationUnit":{"$ref":"39"},"destinationKey":"input","guid":"c2191778-c879-490e-9f20-255b06d5188f","$type":"Unity.VisualScripting.ValueConnection"},{"sourceUnit":{"$ref":"21"},"sourceKey":"result","destinationUnit":{"$ref":"24"},"destinationKey":"input","guid":"bb19074a-b489-485f-9e89-4d05fcbe853f","$type":"Unity.VisualScripting.ValueConnection"},{"sourceUnit":{"$ref":"10"},"sourceKey":"Value","destinationUnit":{"$ref":"30"},"destinationKey":"a","guid":"457e826a-adde-4328-af7d-b9c60253c787","$type":"Unity.VisualScripting.ValueConnection"}],"$version":"A"}}}'
536 | _objectReferences:
537 | - {fileID: 11400000, guid: d700a307aeabd4dfbb062e8757d0d94f, type: 2}
538 | - {fileID: 11400000, guid: d700a307aeabd4dfbb062e8757d0d94f, type: 2}
539 | - {fileID: 11400000, guid: d700a307aeabd4dfbb062e8757d0d94f, type: 2}
540 | - {fileID: 11400000, guid: d700a307aeabd4dfbb062e8757d0d94f, type: 2}
541 | - {fileID: 11400000, guid: d700a307aeabd4dfbb062e8757d0d94f, type: 2}
542 | - {fileID: 11400000, guid: d700a307aeabd4dfbb062e8757d0d94f, type: 2}
543 | --- !u!114 &1777717135
544 | MonoBehaviour:
545 | m_ObjectHideFlags: 0
546 | m_CorrespondingSourceObject: {fileID: 0}
547 | m_PrefabInstance: {fileID: 0}
548 | m_PrefabAsset: {fileID: 0}
549 | m_GameObject: {fileID: 1777717133}
550 | m_Enabled: 1
551 | m_EditorHideFlags: 0
552 | m_Script: {fileID: 11500000, guid: e741851cba3ad425c91ecf922cc6b379, type: 3}
553 | m_Name:
554 | m_EditorClassIdentifier:
555 | _data:
556 | _json: '{"declarations":{"collection":{"$content":[],"$version":"A"},"$version":"A"}}'
557 | _objectReferences: []
558 | --- !u!23 &1777717136
559 | MeshRenderer:
560 | m_ObjectHideFlags: 0
561 | m_CorrespondingSourceObject: {fileID: 0}
562 | m_PrefabInstance: {fileID: 0}
563 | m_PrefabAsset: {fileID: 0}
564 | m_GameObject: {fileID: 1777717133}
565 | m_Enabled: 1
566 | m_CastShadows: 1
567 | m_ReceiveShadows: 1
568 | m_DynamicOccludee: 1
569 | m_StaticShadowCaster: 0
570 | m_MotionVectors: 1
571 | m_LightProbeUsage: 1
572 | m_ReflectionProbeUsage: 1
573 | m_RayTracingMode: 2
574 | m_RayTraceProcedural: 0
575 | m_RenderingLayerMask: 1
576 | m_RendererPriority: 0
577 | m_Materials:
578 | - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
579 | m_StaticBatchInfo:
580 | firstSubMesh: 0
581 | subMeshCount: 0
582 | m_StaticBatchRoot: {fileID: 0}
583 | m_ProbeAnchor: {fileID: 0}
584 | m_LightProbeVolumeOverride: {fileID: 0}
585 | m_ScaleInLightmap: 1
586 | m_ReceiveGI: 1
587 | m_PreserveUVs: 0
588 | m_IgnoreNormalsForChartDetection: 0
589 | m_ImportantGI: 0
590 | m_StitchLightmapSeams: 1
591 | m_SelectedEditorRenderState: 3
592 | m_MinimumChartSize: 4
593 | m_AutoUVMaxDistance: 0.5
594 | m_AutoUVMaxAngle: 89
595 | m_LightmapParameters: {fileID: 0}
596 | m_SortingLayerID: 0
597 | m_SortingLayer: 0
598 | m_SortingOrder: 0
599 | m_AdditionalVertexStreams: {fileID: 0}
600 | --- !u!33 &1777717137
601 | MeshFilter:
602 | m_ObjectHideFlags: 0
603 | m_CorrespondingSourceObject: {fileID: 0}
604 | m_PrefabInstance: {fileID: 0}
605 | m_PrefabAsset: {fileID: 0}
606 | m_GameObject: {fileID: 1777717133}
607 | m_Mesh: {fileID: 7311236811716884661, guid: b69b04bc7374aa319ab60a7af643706b, type: 3}
608 | --- !u!4 &1777717138
609 | Transform:
610 | m_ObjectHideFlags: 0
611 | m_CorrespondingSourceObject: {fileID: 0}
612 | m_PrefabInstance: {fileID: 0}
613 | m_PrefabAsset: {fileID: 0}
614 | m_GameObject: {fileID: 1777717133}
615 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
616 | m_LocalPosition: {x: 0, y: 0.8, z: 0}
617 | m_LocalScale: {x: 1, y: 1, z: 1}
618 | m_ConstrainProportionsScale: 0
619 | m_Children: []
620 | m_Father: {fileID: 0}
621 | m_RootOrder: 5
622 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
623 | --- !u!1 &1795735675
624 | GameObject:
625 | m_ObjectHideFlags: 0
626 | m_CorrespondingSourceObject: {fileID: 0}
627 | m_PrefabInstance: {fileID: 0}
628 | m_PrefabAsset: {fileID: 0}
629 | serializedVersion: 6
630 | m_Component:
631 | - component: {fileID: 1795735676}
632 | - component: {fileID: 1795735677}
633 | m_Layer: 0
634 | m_Name: Spot Light
635 | m_TagString: Untagged
636 | m_Icon: {fileID: 0}
637 | m_NavMeshLayer: 0
638 | m_StaticEditorFlags: 0
639 | m_IsActive: 1
640 | --- !u!4 &1795735676
641 | Transform:
642 | m_ObjectHideFlags: 0
643 | m_CorrespondingSourceObject: {fileID: 0}
644 | m_PrefabInstance: {fileID: 0}
645 | m_PrefabAsset: {fileID: 0}
646 | m_GameObject: {fileID: 1795735675}
647 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
648 | m_LocalPosition: {x: 0, y: 0, z: -5}
649 | m_LocalScale: {x: 1, y: 1, z: 1}
650 | m_ConstrainProportionsScale: 0
651 | m_Children: []
652 | m_Father: {fileID: 110407895}
653 | m_RootOrder: 0
654 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
655 | --- !u!108 &1795735677
656 | Light:
657 | m_ObjectHideFlags: 0
658 | m_CorrespondingSourceObject: {fileID: 0}
659 | m_PrefabInstance: {fileID: 0}
660 | m_PrefabAsset: {fileID: 0}
661 | m_GameObject: {fileID: 1795735675}
662 | m_Enabled: 1
663 | serializedVersion: 10
664 | m_Type: 0
665 | m_Shape: 0
666 | m_Color: {r: 1, g: 1, b: 1, a: 1}
667 | m_Intensity: 1.7
668 | m_Range: 10
669 | m_SpotAngle: 50
670 | m_InnerSpotAngle: 5
671 | m_CookieSize: 10
672 | m_Shadows:
673 | m_Type: 2
674 | m_Resolution: -1
675 | m_CustomResolution: -1
676 | m_Strength: 1
677 | m_Bias: 0.05
678 | m_NormalBias: 0.4
679 | m_NearPlane: 0.2
680 | m_CullingMatrixOverride:
681 | e00: 1
682 | e01: 0
683 | e02: 0
684 | e03: 0
685 | e10: 0
686 | e11: 1
687 | e12: 0
688 | e13: 0
689 | e20: 0
690 | e21: 0
691 | e22: 1
692 | e23: 0
693 | e30: 0
694 | e31: 0
695 | e32: 0
696 | e33: 1
697 | m_UseCullingMatrixOverride: 0
698 | m_Cookie: {fileID: 0}
699 | m_DrawHalo: 0
700 | m_Flare: {fileID: 0}
701 | m_RenderMode: 0
702 | m_CullingMask:
703 | serializedVersion: 2
704 | m_Bits: 4294967295
705 | m_RenderingLayerMask: 1
706 | m_Lightmapping: 4
707 | m_LightShadowCasterMode: 0
708 | m_AreaSize: {x: 1, y: 1}
709 | m_BounceIntensity: 1
710 | m_ColorTemperature: 6570
711 | m_UseColorTemperature: 0
712 | m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
713 | m_UseBoundingSphereOverride: 0
714 | m_UseViewFrustumForShadowCasterCull: 1
715 | m_ShadowRadius: 0
716 | m_ShadowAngle: 0
717 | --- !u!1 &2117830737
718 | GameObject:
719 | m_ObjectHideFlags: 0
720 | m_CorrespondingSourceObject: {fileID: 0}
721 | m_PrefabInstance: {fileID: 0}
722 | m_PrefabAsset: {fileID: 0}
723 | serializedVersion: 6
724 | m_Component:
725 | - component: {fileID: 2117830738}
726 | m_Layer: 0
727 | m_Name: Camera Pivot
728 | m_TagString: Untagged
729 | m_Icon: {fileID: 0}
730 | m_NavMeshLayer: 0
731 | m_StaticEditorFlags: 0
732 | m_IsActive: 1
733 | --- !u!4 &2117830738
734 | Transform:
735 | m_ObjectHideFlags: 0
736 | m_CorrespondingSourceObject: {fileID: 0}
737 | m_PrefabInstance: {fileID: 0}
738 | m_PrefabAsset: {fileID: 0}
739 | m_GameObject: {fileID: 2117830737}
740 | m_LocalRotation: {x: 0.12186928, y: 0, z: 0, w: 0.9925462}
741 | m_LocalPosition: {x: 0, y: 0.6, z: 0}
742 | m_LocalScale: {x: 1, y: 1, z: 1}
743 | m_ConstrainProportionsScale: 0
744 | m_Children:
745 | - {fileID: 1430673603}
746 | m_Father: {fileID: 0}
747 | m_RootOrder: 1
748 | m_LocalEulerAnglesHint: {x: 14, y: 0, z: 0}
749 |
--------------------------------------------------------------------------------