Skip to content

Commit

Permalink
vket compatibility change
Browse files Browse the repository at this point in the history
  • Loading branch information
MenacingExiler committed Nov 21, 2024
1 parent 82ba481 commit 207357c
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 11 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions Assets/Release/MenacePlayerShrinkerAsset_0.2.0-alpha.zip.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Assets/ShrinkVolume/PrefabSamples/Sample.unity
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ PrefabInstance:
- target: {fileID: 1094421957795580606, guid: 8894fa7e4588a5c4fab98453e558847d,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
value: -1.949
objectReference: {fileID: 0}
- target: {fileID: 1094421957795580606, guid: 8894fa7e4588a5c4fab98453e558847d,
type: 3}
Expand All @@ -344,7 +344,7 @@ PrefabInstance:
- target: {fileID: 1094421957795580606, guid: 8894fa7e4588a5c4fab98453e558847d,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
value: 0.638
objectReference: {fileID: 0}
- target: {fileID: 1094421957795580606, guid: 8894fa7e4588a5c4fab98453e558847d,
type: 3}
Expand Down
7 changes: 5 additions & 2 deletions Assets/ShrinkVolume/ShrinkVolume.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,10 @@ public class ShrinkVolume : UdonSharpBehaviour
[Header("Experimental and debug features")]
[SerializeField] private bool enableMesh = false;
public float shrinkRate = 0.1f; //Rate how fast each interval shrink
[Tooltip("WARNING: May cause lag if set too low. Recommended to keep it at 0.25 or higher.")]

private void Start()
[Tooltip("WARNING: May cause lag if set too low. Recommended to keep it at 0.25 or higher.")]

private void Initializing()
{
//mesh renderer
GetComponent<MeshRenderer>().enabled = enableMesh;
Expand Down Expand Up @@ -107,6 +108,8 @@ public override void OnPlayerTriggerEnter(VRCPlayerApi player)
//If player is local player
if (player.isLocal)
{
Initializing();

//Get player original height
originalPlayerHeight = player.GetAvatarEyeHeightAsMeters();

Expand Down
2 changes: 1 addition & 1 deletion Packages/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dependencies": {
"com.unity.ide.rider": "3.0.26",
"com.unity.ide.rider": "3.0.34",
"com.unity.ide.visualstudio": "2.0.22",
"com.unity.ide.vscode": "1.2.5",
"com.unity.test-framework": "1.1.29",
Expand Down
2 changes: 1 addition & 1 deletion Packages/packages-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"url": "https://packages.unity.com"
},
"com.unity.ide.rider": {
"version": "3.0.26",
"version": "3.0.34",
"depth": 0,
"source": "registry",
"dependencies": {
Expand Down
8 changes: 4 additions & 4 deletions Packages/vpm-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "0.1.29"
},
"com.vrchat.worlds": {
"version": "3.7.1"
"version": "3.7.3"
}
},
"locked": {
Expand All @@ -13,13 +13,13 @@
"dependencies": {}
},
"com.vrchat.worlds": {
"version": "3.7.1",
"version": "3.7.3",
"dependencies": {
"com.vrchat.base": "3.7.1"
"com.vrchat.base": "3.7.3"
}
},
"com.vrchat.base": {
"version": "3.7.1",
"version": "3.7.3",
"dependencies": {}
}
}
Expand Down

0 comments on commit 207357c

Please sign in to comment.