mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-08-20 01:25:45 -05:00
Fix typo (VRM.Samples)
This commit is contained in:
@@ -11,7 +11,7 @@ namespace VRM.Samples
|
||||
float m_radius = 5.0f;
|
||||
|
||||
[SerializeField]
|
||||
float m_angluarVelocity = 40.0f;
|
||||
float m_angularVelocity = 40.0f;
|
||||
|
||||
[SerializeField]
|
||||
float m_y = 1.5f;
|
||||
@@ -25,7 +25,7 @@ namespace VRM.Samples
|
||||
|
||||
while (true)
|
||||
{
|
||||
angle += m_angluarVelocity * Time.deltaTime * Mathf.Deg2Rad;
|
||||
angle += m_angularVelocity * Time.deltaTime * Mathf.Deg2Rad;
|
||||
|
||||
var x = Mathf.Cos(angle) * m_radius;
|
||||
var z = Mathf.Sin(angle) * m_radius;
|
||||
|
||||
@@ -122,7 +122,7 @@ namespace VRM.Samples
|
||||
|
||||
Toggle m_activeToggleMotion;
|
||||
|
||||
public void UpdateTogle(Action onBvh, Action onTPose)
|
||||
public void UpdateToggle(Action onBvh, Action onTPose)
|
||||
{
|
||||
var value = ToggleMotion.ActiveToggles().FirstOrDefault();
|
||||
if (value == m_activeToggleMotion)
|
||||
@@ -234,7 +234,7 @@ namespace VRM.Samples
|
||||
if (Root != null) Root.SetActive(!Root.activeSelf);
|
||||
}
|
||||
|
||||
m_ui.UpdateTogle(EnableBvh, EnableTPose);
|
||||
m_ui.UpdateToggle(EnableBvh, EnableTPose);
|
||||
}
|
||||
|
||||
void EnableBvh()
|
||||
|
||||
Reference in New Issue
Block a user