mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 14:29:25 +00:00
[CVRGizmos] Cleanup
This commit is contained in:
parent
c9d77dc034
commit
a390652dec
2 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ namespace NAK.CVRGizmos
|
||||||
typeof(CVRGizmos_CapsuleCollider),
|
typeof(CVRGizmos_CapsuleCollider),
|
||||||
};
|
};
|
||||||
|
|
||||||
void Start()
|
private void Start()
|
||||||
{
|
{
|
||||||
CVRGizmoManager.Instance = this;
|
CVRGizmoManager.Instance = this;
|
||||||
managed = new MonoBehaviour[GizmoTypes.Count()];
|
managed = new MonoBehaviour[GizmoTypes.Count()];
|
||||||
|
|
|
@ -22,7 +22,7 @@ public class CVRGizmos : MelonMod
|
||||||
MelonLoader.MelonCoroutines.Start(WaitForLocalPlayer());
|
MelonLoader.MelonCoroutines.Start(WaitForLocalPlayer());
|
||||||
}
|
}
|
||||||
|
|
||||||
IEnumerator WaitForLocalPlayer()
|
private IEnumerator WaitForLocalPlayer()
|
||||||
{
|
{
|
||||||
while (PlayerSetup.Instance == null)
|
while (PlayerSetup.Instance == null)
|
||||||
yield return null;
|
yield return null;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue