Add rewind and tick mechanism for skin component.

This commit is contained in:
2023-02-27 00:16:44 +08:00
parent 256c656e9c
commit 9a51cf1b56
4 changed files with 17 additions and 7 deletions

View File

@@ -26,6 +26,8 @@ namespace Cryville.Crtr.Components {
}
public virtual void Init() { }
public virtual void Rewind(double time) { }
public virtual void Tick(SkinContainer c, double time) { }
protected abstract void OnDestroy();
}
public struct SkinProperty {