Initial Commit

This commit is contained in:
2025-07-04 20:33:06 +03:00
commit 8f09347ae0
9219 changed files with 2447903 additions and 0 deletions
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 8aebaee4164356f429fecdfad9a6c6c8
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,80 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Shapes
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 0, g: 0, b: 0, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: []
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 7eee638959ba48447904ca4481589955
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,84 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Skybox
m_Shader: {fileID: 106, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords: _SUNDISK_HIGH_QUALITY
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _AtmosphereThickness: 1.54
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _Exposure: 1
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _SunDisk: 2
- _SunSize: 0
- _SunSizeConvergence: 5
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _GroundColor: {r: 1, g: 1, b: 1, a: 1}
- _SkyTint: {r: 0.3773585, g: 0.2076738, b: 0, a: 1}
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: b78b05d05191680409aa90f91588896a
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 7ffee01f9d7e2184c8a68a7a676bf01b
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,23 @@
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* Licensed under the Oculus SDK License Agreement (the "License");
* you may not use the Oculus SDK except in compliance with the License,
* which is provided at the time of installation or download, or which
* otherwise accompanies this software in either electronic or hard copy form.
*
* You may obtain a copy of the License at
*
* https://developer.oculus.com/licenses/oculussdk/
*
* Unless required by applicable law or agreed to in writing, the Oculus SDK
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
using Meta.Conduit;
[assembly:ConduitAssembly]
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 991429a75a4bff047ae02ae4d24c1c3a
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,61 @@
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* Licensed under the Oculus SDK License Agreement (the "License");
* you may not use the Oculus SDK except in compliance with the License,
* which is provided at the time of installation or download, or which
* otherwise accompanies this software in either electronic or hard copy form.
*
* You may obtain a copy of the License at
*
* https://developer.oculus.com/licenses/oculussdk/
*
* Unless required by applicable law or agreed to in writing, the Oculus SDK
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
using System;
using Meta.WitAi;
using UnityEngine;
namespace Meta.Voice.Samples.ShapesConduit
{
public class ColorChangerConduit : MonoBehaviour
{
/// <summary>
/// Sets the ColorName of the specified transform.
/// </summary>
/// <param name="trans"></param>
/// <param name="color"></param>
private void SetColor(Transform trans, Color color)
{
trans.GetComponent<Renderer>().material.color = color;
}
/// <summary>
/// Gets called automatically by ConduitDispatcher. Updates the colors of a shape
/// </summary>
/// <param name="color">The names of the colors to be processed</param>
/// <param name="shape">The ShapeName names or if empty all shapes</param>
[MatchIntent("change_color")]
private void ChangeColor(ColorName color, ShapeName shape)
{
if (!ColorUtility.TryParseHtmlString(color.ToString(), out var _color)) return;
for (int i = 0; i < transform.childCount; i++)
{
Transform child = transform.GetChild(i);
if (String.Equals(shape.ToString(), child.name,
StringComparison.CurrentCultureIgnoreCase))
{
SetColor(child, _color);
break;
}
}
}
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 60e2f1790184ecc4785ff55d53a55f86
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,43 @@
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* Licensed under the Oculus SDK License Agreement (the "License");
* you may not use the Oculus SDK except in compliance with the License,
* which is provided at the time of installation or download, or which
* otherwise accompanies this software in either electronic or hard copy form.
*
* You may obtain a copy of the License at
*
* https://developer.oculus.com/licenses/oculussdk/
*
* Unless required by applicable law or agreed to in writing, the Oculus SDK
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
namespace Meta.Voice.Samples.ShapesConduit
{
/// <summary>
/// enum of the colors that matches intents on wit.ai
/// </summary>
public enum ColorName
{
black,
blue,
brown,
gold,
green,
magenta,
maroon,
orange,
pink,
purple,
red,
violet,
white,
yellow
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 6ebb8de27b8837148a5aab618b3bdfb6
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,18 @@
{
"name": "Meta.Voice.Samples.ShapesConduit",
"references": [
"GUID:4504b1a6e0fdcc3498c30b266e4a63bf",
"GUID:1c28d8b71ced07540b7c271537363cc6",
"GUID:e545cc0678493234a9368f4e470c29e8",
"GUID:f02292e638368584080af0193f81ff5c"
],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 58af511b0ae08c4479b0b2559ce05f0a
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,33 @@
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* Licensed under the Oculus SDK License Agreement (the "License");
* you may not use the Oculus SDK except in compliance with the License,
* which is provided at the time of installation or download, or which
* otherwise accompanies this software in either electronic or hard copy form.
*
* You may obtain a copy of the License at
*
* https://developer.oculus.com/licenses/oculussdk/
*
* Unless required by applicable law or agreed to in writing, the Oculus SDK
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
namespace Meta.Voice.Samples.ShapesConduit
{
/// <summary>
/// enum of shapes that matches intents on wit.ai
/// </summary>
public enum ShapeName
{
capsule,
cube,
cylinder,
sphere
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 8febadc8b73ed5441ad1ef3d5001e93d
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,173 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: ae5a46bda3295124c99b0e6537ac7252, type: 3}
m_Name: Shapes With Conduit - WitConfiguration
m_EditorClassIdentifier:
_clientAccessToken: JYSZFUVTNXFZ4N3LAHJMDS6JOET2IBVP
_appInfo:
name: voicesdk_samples_shapes
id: 04b6d9fc-60b7-4d9e-8473-9290b9d1243f
lang: en
isPrivate: 0
createdAt: 2023-04-04T10:35:19-0700
trainingStatus: 1
lastTrainDuration: 36
lastTrainedAt: 2023-04-04T10:36:17-0700
nextTrainAt: 2023-04-04T10:35:41-0700
intents:
- id: 196347333139222
name: change_color
entities:
- name: color:color
id: 629054192387147
- name: shape:shape
id: 239839848416213
entities:
- name: color
id: 183423817885903
lookups:
- free-text
- keywords
roles:
- name: color
id: 629054192387147
keywords:
- keyword: black
synonyms:
- black
- keyword: blue
synonyms:
- blue
- keyword: brown
synonyms:
- brown
- keyword: gold
synonyms:
- gold
- keyword: green
synonyms:
- green
- keyword: magenta
synonyms:
- magenta
- keyword: maroon
synonyms:
- maroon
- red
- keyword: orange
synonyms:
- orange
- keyword: pink
synonyms:
- pink
- keyword: purple
synonyms:
- purple
- keyword: red
synonyms:
- red
- keyword: violet
synonyms:
- violet
- keyword: white
synonyms:
- white
- keyword: yellow
synonyms:
- yellow
- name: shape
id: 2277400329106527
lookups:
- keywords
roles:
- name: shape
id: 239839848416213
keywords:
- keyword: capsule
synonyms:
- capsule
- keyword: cube
synonyms:
- cube
- square
- keyword: cylinder
synonyms:
- cylinder
- tube
- keyword: sphere
synonyms:
- ball
- sphere
traits: []
voices:
- name: Charlie
locale: en_US
gender: male
styles:
- default
- soft
- fast
- projected
- name: Cooper
locale: en_US
gender: male
styles:
- default
- soft
- formal
- fast
- projected
- name: Prospector
locale: en_US
gender: male
styles:
- default
- name: Rebecca
locale: en_US
gender: female
styles:
- default
- soft
- formal
- fast
- projected
- name: Vampire
locale: en_US
gender: male
styles:
- default
- soft
- formal
- fast
- projected
composer:
canvases: []
_configurationId: 4e21a24e472ab684e84db753427d5687
timeoutMS: 10000
endpointConfiguration:
_uriScheme:
_authority:
_port: 0
_witApiVersion:
_message:
_speech:
_dictation:
_synthesize:
_event:
_converse:
isDemoOnly: 1
useConduit: 1
_manifestLocalPath: ConduitManifest-6fde361e-cbeb-4eea-bebf-1bf6086b5823.json
excludedAssemblies:
- Meta.WitAi.Samples, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
- Meta.Voice.Samples.Chess, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
relaxedResolution: 0
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 726408f19c3acbb4bb59743d7fbcdf07
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 5aa24c94acb775043bd5c44d48c21d68
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant: