using System; namespace KYFramework { public interface ILateUpdateSystem { Type Type(); void Run(object o); } public abstract class LateUpdateSystem : ILateUpdateSystem { public void Run(object o) { this.LateUpdate((T)o); } public Type Type() { return typeof(T); } public abstract void LateUpdate(T self); } }