Skip to content

Commit

Permalink
Release 1.0.0-rc.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Release Automat committed May 16, 2024
1 parent c2d55c8 commit dca5e0c
Show file tree
Hide file tree
Showing 15 changed files with 618 additions and 205 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#if !COMPILER_UDONSHARP && UNITY_EDITOR
using System;
using System.Collections.Generic;
using TLP.UdonUtils.Common;
using TLP.UdonVoiceUtils.Runtime.Core;
using UdonSharp;
using UnityEditor;
Expand Down Expand Up @@ -53,7 +54,7 @@ public void OnSceneGUI() {
Handles.DrawDottedLine(playerAudioController.transform.position, doorPosition, 2);

GUI.color = Color.white;
Handles.Label(doorPosition, playerAudioOverride.gameObject.name);
Handles.Label(doorPosition, playerAudioOverride.transform.GetPathInScene());
}
}
break;
Expand Down
16 changes: 16 additions & 0 deletions Packages/tlp.udonvoiceutils/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,22 @@ Please follow these steps in order and read all the instructions first before ex

All notable changes to this project will be documented in this file.

### [1.0.0-rc.6] - 2024-05-16

#### 🚀 Features

- *(Gizmos)* Display entire GameObject path instead of just name in scene view when PlayerAudioController is selected

#### 🐛 Bug Fixes

- *(PlayerAudioView)* Fix custom default settings not being displayed after init
- *(PlayerAudioController)* Fix PlayerAudioOverride occlusion values being applied inverted
- *(Prefabs)* Fix main prefab with UI having broken references in new scenes

#### 🎨 Styling

- *(Demo)* Bake light of demo scene, add light probes

### [1.0.0-rc.5] - 2024-05-12

#### 📚 Documentation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -517,8 +517,8 @@ Quaternion otherHeadRotation
listenerHeadPosition,
direction,
distance,
playerOverride.OcclusionFactor,
playerOverride.PlayerOcclusionFactor,
1f - playerOverride.OcclusionFactor,
1f - playerOverride.PlayerOcclusionFactor,
playerOverride.OcclusionMask
);

Expand Down
6 changes: 6 additions & 0 deletions Packages/tlp.udonvoiceutils/Runtime/Core/PlayerAudioView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ public void ResetAll() {
}

_preventChangeEvent = false;
UpdateUi();
}

/// <summary>
Expand All @@ -277,6 +278,11 @@ public void UpdateUi() {
#endif
#endregion

if (!Initialized) {
Error($"Not initialized, did you reference it correctly on the {nameof(PlayerAudioController)}?");
return;
}

var owner = Networking.GetOwner(_playerAudioController.gameObject);
if (Utilities.IsValid(owner)) {
TextAllowMasterControl.text = $"Let {owner.displayName} (owner) control everything";
Expand Down

Large diffs are not rendered by default.

125 changes: 109 additions & 16 deletions Packages/tlp.udonvoiceutils/Runtime/Scenes/Demo.unity
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ OcclusionCullingSettings:
RenderSettings:
m_ObjectHideFlags: 0
serializedVersion: 9
m_Fog: 0
m_Fog: 1
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
m_FogMode: 3
m_FogDensity: 0.01
Expand Down Expand Up @@ -2803,6 +2803,60 @@ Transform:
- {fileID: 1765965489}
m_Father: {fileID: 1065095978}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &104592369
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 104592371}
- component: {fileID: 104592370}
m_Layer: 0
m_Name: Light Probe Group
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 2147483647
m_IsActive: 1
--- !u!220 &104592370
LightProbeGroup:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 104592369}
m_Enabled: 1
m_SourcePositions:
- {x: 42.64791, y: 3.1587877, z: 38.958694}
- {x: 42.64791, y: 3.1587877, z: -36.260212}
- {x: 42.64791, y: 0.34924316, z: 38.958694}
- {x: 42.64791, y: 0.34924316, z: -36.260212}
- {x: -29.583315, y: 3.1587877, z: 38.958694}
- {x: -29.583315, y: 3.1587877, z: -36.260212}
- {x: -29.583315, y: 0.34924316, z: 38.958694}
- {x: -29.583315, y: 0.34924316, z: -36.260212}
- {x: 42.64791, y: 1.7195954, z: 38.958694}
- {x: 42.64791, y: 1.7195954, z: -36.260212}
- {x: -29.583315, y: 1.7195954, z: 38.958694}
- {x: -29.583315, y: 1.7195954, z: -36.260212}
m_Dering: 1
--- !u!4 &104592371
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 104592369}
serializedVersion: 2
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 4733251582215150827}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &104641695
GameObject:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -13563,6 +13617,12 @@ Transform:
m_Children: []
m_Father: {fileID: 997535495}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &595259859 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 3888126815758310084, guid: 0ba7ed9fc879c4548aa441158d218daa,
type: 3}
m_PrefabInstance: {fileID: 1049636603}
m_PrefabAsset: {fileID: 0}
--- !u!1 &597197256
GameObject:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -17868,6 +17928,11 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8613197020089687695, guid: 340b1e66a5497394ca98e0137f75bd88,
type: 3}
propertyPath: m_PresetInfoIsWorld
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8613197020089687792, guid: 340b1e66a5497394ca98e0137f75bd88,
type: 3}
propertyPath: m_Name
Expand Down Expand Up @@ -33499,6 +33564,12 @@ Transform:
- {fileID: 2129462883}
m_Father: {fileID: 2039229312}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1257451099 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 3888126815758310084, guid: 0ba7ed9fc879c4548aa441158d218daa,
type: 3}
m_PrefabInstance: {fileID: 1916845012}
m_PrefabAsset: {fileID: 0}
--- !u!1 &1258657368
GameObject:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -35454,6 +35525,11 @@ PrefabInstance:
propertyPath: m_enableAutoSizing
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6805918991419012390, guid: fc2c072d66b6465409ff107d0f42dad9,
type: 3}
propertyPath: m_Navigation.m_Mode
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6805918991419012390, guid: fc2c072d66b6465409ff107d0f42dad9,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.size
Expand Down Expand Up @@ -36964,6 +37040,12 @@ MonoBehaviour:
VoiceDistanceFar: 0
VoiceDistanceNear: 0
VoiceVolumetricRadius: 0
--- !u!1 &1429475039 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 3888126815758310084, guid: 0ba7ed9fc879c4548aa441158d218daa,
type: 3}
m_PrefabInstance: {fileID: 1434199671}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &1434199671
PrefabInstance:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -46419,7 +46501,7 @@ Light:
m_InnerSpotAngle: 21.80208
m_CookieSize: 10
m_Shadows:
m_Type: 0
m_Type: 2
m_Resolution: -1
m_CustomResolution: -1
m_Strength: 1
Expand Down Expand Up @@ -46452,7 +46534,7 @@ Light:
serializedVersion: 2
m_Bits: 4294967295
m_RenderingLayerMask: 1
m_Lightmapping: 4
m_Lightmapping: 2
m_LightShadowCasterMode: 0
m_AreaSize: {x: 1, y: 1}
m_BounceIntensity: 1
Expand Down Expand Up @@ -53722,6 +53804,11 @@ PrefabInstance:
propertyPath: m_enableAutoSizing
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6805918991419012390, guid: fc2c072d66b6465409ff107d0f42dad9,
type: 3}
propertyPath: m_Navigation.m_Mode
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6805918991419012390, guid: fc2c072d66b6465409ff107d0f42dad9,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.size
Expand Down Expand Up @@ -57019,6 +57106,7 @@ Transform:
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 1787983411}
- {fileID: 104592371}
- {fileID: 7606902903243430487}
- {fileID: 1944691211}
- {fileID: 221505179}
Expand Down Expand Up @@ -57825,14 +57913,14 @@ MonoBehaviour:
interactThruLayers: 0
autoSpatializeAudioSources: 0
gravity: {x: 0, y: -9.81, z: 0}
layerCollisionArr: 01010101010001010101010100010001010101010101010101010101010101010101010101000101010101010001000101010101010101010101010101010101010101010100010101010101000100010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101000101010101010001000101010101010101010101010101010101000000010000010100000000000000000000000000000101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010100010101010101000100010101010101010101010101010101010101010101010001010100000100000000000001010101010101010101010101010101010101000101010000010000000000000101010101010101010101010101010101010100010101010101000100010101010101010101010101010101010100000001000001010000000000000000000000000000010101010101010101010101010101000101010000010001010101010000000001010101010101010101000000010000010100000000000100000000000000000101010101010101010101010101010001010100000100010001010101010101010101010101010101010101010101000101010000010001000101010101010101010101010101010101010101010100010101000001000100010101010101010101010101010101010101010101010001010101010100000001010101010101010101010101010101010101010101000101010101010000000101010101010101010101010101010101010101010100010101010101000000010101010101010101010101010101010101010101010001010101010100000001010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101
layerCollisionArr: 01010101010001010101010100010001010101000101010101010101010101010101010101000101010101010001000101010100010101010101010101010101010101010100010101010101000100010101010001010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101000101010101010001000101010100010101010101010101010101000000010000010100000000000000000000000000000101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010100010101010101000100010101010001010101010101010101010101010101010001010100000100000000000001000101010101010101010101010101010101000101010000010000000000000100010101010101010101010101010101010100010101010101000100010101010001010101010101010101010100000001000001010000000000000000000000000000010101010101010101010101010101000101010000010001010101010000000001010101010101010101000000010000010100000000000100000000000000000101010101010101010101010101010001010100000100010001010101000101010101010101010101010101010101000101010000010001000101010100010101010101010101010101010101010100010101000001000100010101010001010101010101010101010101010101010001010101010100000001010101000101010101010101010101010000000100000101000000000000000000000000000001010101010101010101010101010100010101010101000000010101010001010101010101010101010101010101010001010101010100000001010101000101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101
capacity: 0
contentSex: 0
contentViolence: 0
contentGore: 0
contentOther: 0
releasePublic: 0
unityVersion: 2019.4.31f1
unityVersion: 2022.3.22f1
udonProducts: []
Name:
NSFW: 0
Expand All @@ -57842,16 +57930,15 @@ MonoBehaviour:
useAssignedLayers: 0
DynamicPrefabs: []
DynamicMaterials:
- {fileID: 2100000, guid: 74de320d298ce3e498b0401ec1ffcb7f, type: 2}
- {fileID: 2100000, guid: 4e9077c1c5455be4da2a85ff047355da, type: 2}
- {fileID: 2100000, guid: 219b8b6950b888f40b189f45cb13f02a, type: 2}
- {fileID: 2100000, guid: 1c987494452b85f4ab4cac3322415907, type: 2}
- {fileID: 2100000, guid: c1f23e4d9aec51546bcfb8ec48c1da06, type: 2}
- {fileID: 2100000, guid: 426dbbf61dd7264498ac9818b6b894be, type: 2}
- {fileID: 2100000, guid: 8200bf9bfb7ebc642b77d97d9ac2d12d, type: 2}
- {fileID: 2100000, guid: c10d7a22e42bc794889aa5f530a9ce45, type: 2}
- {fileID: 2100000, guid: 1c987494452b85f4ab4cac3322415907, type: 2}
- {fileID: 2100000, guid: 688ad78316f69184d887f409474a6f56, type: 2}
- {fileID: 2100000, guid: 426dbbf61dd7264498ac9818b6b894be, type: 2}
- {fileID: 2100000, guid: c1f23e4d9aec51546bcfb8ec48c1da06, type: 2}
- {fileID: 2100000, guid: 5cd3b778e97f7f140bbf0e98f6ab9078, type: 2}
- {fileID: 2100000, guid: 219b8b6950b888f40b189f45cb13f02a, type: 2}
- {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 2100000, guid: fd20e45036ef323459e8286e9c23c02c, type: 2}
LightMapsNear: []
Expand Down Expand Up @@ -58150,9 +58237,6 @@ MonoBehaviour:
- gameObject: {fileID: 1944691210}
ID: 99
SerializedTypeNames: []
- gameObject: {fileID: 0}
ID: 101
SerializedTypeNames: []
- gameObject: {fileID: 89523867}
ID: 102
SerializedTypeNames: []
Expand Down Expand Up @@ -58489,9 +58573,18 @@ MonoBehaviour:
- gameObject: {fileID: 1868942569}
ID: 395
SerializedTypeNames: []
- gameObject: {fileID: 0}
- gameObject: {fileID: 1257451099}
ID: 396
SerializedTypeNames: []
SerializedTypeNames:
- VRC.Udon.UdonBehaviour
- gameObject: {fileID: 595259859}
ID: 397
SerializedTypeNames:
- VRC.Udon.UdonBehaviour
- gameObject: {fileID: 1429475039}
ID: 398
SerializedTypeNames:
- VRC.Udon.UdonBehaviour
portraitCameraPositionOffset: {x: 0, y: 0, z: 0}
portraitCameraRotationOffset: {x: 0, y: 1, z: 0, w: -0.00000004371139}
--- !u!1001 &7224542387465665785
Expand Down Expand Up @@ -59037,7 +59130,7 @@ GameObject:
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_StaticEditorFlags: 2147483647
m_IsActive: 1
--- !u!33 &7606902903243430484
MeshFilter:
Expand Down
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit dca5e0c

Please sign in to comment.