Skip to content
This repository has been archived by the owner on May 15, 2023. It is now read-only.

Commit

Permalink
SGB: update for 1200
Browse files Browse the repository at this point in the history
  • Loading branch information
knah committed May 24, 2022
1 parent 7d746f8 commit 6c5badb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ScaleGoesBrr/ScaleGoesBrr.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>net472</TargetFramework>
<VrcReferences>true</VrcReferences>
<Version>1.1.0.0</Version>
<Version>1.1.1.0</Version>
</PropertyGroup>

</Project>
4 changes: 4 additions & 0 deletions ScaleGoesBrr/ScaleGoesBrrComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ public class ScaleGoesBrrComponent : MonoBehaviour
public float amSingle3;
public float amSingle4;
public float amSingle5;
public float amSingle6;
public float amSingle7;

public Vector3 tmSV0;
public Vector3 tmSV1;
Expand Down Expand Up @@ -106,6 +108,8 @@ private void LateUpdate()
avatarManager.field_Private_Single_3 = amSingle3 * scaleFactor;
avatarManager.field_Private_Single_4 = amSingle4 * scaleFactor;
avatarManager.field_Private_Single_5 = amSingle5 * scaleFactor;
avatarManager.field_Private_Single_6 = amSingle6 * scaleFactor;
avatarManager.field_Private_Single_7 = amSingle7 * scaleFactor;

if (!tmReady) return;

Expand Down
4 changes: 3 additions & 1 deletion ScaleGoesBrr/ScaleGoesBrrMod.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using UnityEngine;
using VRC.SDKBase;

[assembly:MelonInfo(typeof(ScaleGoesBrrMod), "Scale Goes Brr", "1.1.0", "knah", "https://github.com/knah/VRCMods")]
[assembly:MelonInfo(typeof(ScaleGoesBrrMod), "Scale Goes Brr", "1.1.1", "knah", "https://github.com/knah/VRCMods")]
[assembly:MelonGame("VRChat", "VRChat")]

namespace ScaleGoesBrr
Expand Down Expand Up @@ -142,6 +142,8 @@ private static IEnumerator OnLocalPlayerAvatarCreatedCoro(Vector3 originalScale,
comp.amSingle3 = avatarManager.field_Private_Single_3;
comp.amSingle4 = avatarManager.field_Private_Single_4;
comp.amSingle5 = avatarManager.field_Private_Single_5;
comp.amSingle6 = avatarManager.field_Private_Single_6;
comp.amSingle7 = avatarManager.field_Private_Single_7;

comp.targetVp = avatarManager.field_Private_VRC_AnimationController_0
.GetComponentInChildren<IKHeadAlignment>().transform;
Expand Down

0 comments on commit 6c5badb

Please sign in to comment.