change (1.0, constraint): Change max range of weights to 1.0

現状、仕様ではweightの最大値は1.0となっているので、UI上もこれに従うのが良いと思います。
This commit is contained in:
0b5vr 2022-04-21 12:18:18 +09:00
parent a4904b01dd
commit 610048cdcf
3 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ namespace UniVRM10
public Transform Source = default;
[SerializeField]
[Range(0, 10.0f)]
[Range(0, 1.0f)]
public float Weight = 1.0f;
[SerializeField]

View File

@ -16,7 +16,7 @@ namespace UniVRM10
public Transform Source = default;
[SerializeField]
[Range(0, 10.0f)]
[Range(0, 1.0f)]
public float Weight = 1.0f;
[SerializeField]

View File

@ -14,7 +14,7 @@ namespace UniVRM10
public Transform Source = default;
[SerializeField]
[Range(0, 10.0f)]
[Range(0, 1.0f)]
public float Weight = 1.0f;
Quaternion _srcRestLocalQuatInverse;