Fix typo (VRM.Samples)

This commit is contained in:
Isamu Mogi
2019-05-27 11:31:41 +09:00
parent ec644b635a
commit 936ea2a9cc
2 changed files with 4 additions and 4 deletions

View File

@@ -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;

View File

@@ -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()