您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
25 行
654 B
25 行
654 B
using System.Reflection;
|
|
using UnityEngine;
|
|
|
|
namespace UnityEditor.Experimental
|
|
{
|
|
internal class PropertyData
|
|
{
|
|
public PropertyData(FieldInfo f, object o1, object o2, float animSpeed)
|
|
{
|
|
field = f;
|
|
data0 = o1;
|
|
data1 = o2;
|
|
time = 0.0f;
|
|
speed = animSpeed;
|
|
curve = AnimationCurve.EaseInOut(0.0f, 0.0f, 1.0f, 1.0f); //@todo replace this by google material curve
|
|
}
|
|
|
|
public FieldInfo field;
|
|
public object data0;
|
|
public object data1;
|
|
public float time;
|
|
public float speed;
|
|
public AnimationCurve curve;
|
|
}
|
|
}
|