using System; using Cal.DataTable; namespace ET { public class TestComponentAwakeSystem: AwakeSystem { public override void Awake(TestComponent self) { TimerComponent.Instance.NewFrameTimer(self.Test); } } public static class TestComponentSystem { public static void Test(this TestComponent self) { CopyConfig copyConfig = CopyConfigCategory.Instance.Get(CopyConfigId.MainStoryNormalBattle); GlobalMethodHelper.Call(copyConfig.MethodName,copyConfig.MethodParams); copyConfig = CopyConfigCategory.Instance.Get(CopyConfigId.MainStoryEliteBattle); GlobalMethodHelper.Call(copyConfig.MethodName,copyConfig.MethodParams); copyConfig = CopyConfigCategory.Instance.Get(CopyConfigId.MainStoryBossBattle); GlobalMethodHelper.Call(copyConfig.MethodName,copyConfig.MethodParams); } } }