Пример #1
0
 public FloatCurve(FloatCurve copy, IReadOnlyList <KeyframeTpl <Float> > keyframes) :
     this(copy.Path, copy.Attribute, copy.ClassID, copy.Script, keyframes)
 {
 }
Пример #2
0
        private void AddScriptCurve(GenericBinding binding, string path, float time, float value)
        {
#warning TODO:
            FloatCurve curve = new FloatCurve(path, ScriptPropertyPrefix + binding.Attribute, ClassIDType.MonoBehaviour, binding.Script.CastTo <MonoScript>());
            AddFloatKeyframe(curve, time, value);
        }