示例#1
0
 private void UpdateKeyColor(Key key, float pct)
 {
     UnityEngine.Color color = UnityEngine.Color.Lerp(UnityEngine.Color.red, UnityEngine.Color.black, pct);
     Keyboard.Instance[key] = color.ToColore();
 }