This commit is contained in:
1605296300@qq.com
2022-08-23 01:40:49 +08:00
parent 8140526517
commit 44f72bed20
4 changed files with 122 additions and 171 deletions
+15 -9
View File
@@ -11,15 +11,21 @@ namespace Gallop
public class FacialMorph
{
public string name;
private FaceDrivenKeyTarget face;
[Range(0, 1)]
public float Weight;
[HideInInspector]public float LastWeight;
[HideInInspector] public List<TrsArray> trsArray;
public void SetFace(FaceDrivenKeyTarget faceTarget)
public bool direction;
public FaceDrivenKeyTarget target;
private float _weight;
public float Weight
{
face = faceTarget;
}
get
{
return _weight;
}
set
{
_weight = value;
target.ChangeMorph();
}
}
[HideInInspector] public List<TrsArray> trsArray;
}
}