blob: bf2c82be7c98df97b7ebb78551015eb0bf12050f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace TweenAnimation
{
public abstract class TweenModule : ScriptableObject
{
public bool enabled = true;
public float timeOffset;
#if UNITY_EDITOR
public new virtual string name { get { return ""; } }
public string description;
public virtual string tooltip { get { return "Tween Module " + name; } }
[NonSerialized]
public bool unfold;
#endif
// 根据当前时间更新值
public virtual void OnUpdate(float time)
{
}
}
}
|