/// <summary> /// 框架初始化 /// </summary> public void Init() { AssertThat.IsNull(components, "Components is not null, Posible you dont dispose framework and reinit it again"); AssertThat.IsNull(tickComponent, "Tick components is not null, Posible you dont dispose framework and reinit it again"); components = new List <IComponent>(); tickComponent = Get <TickComponent>(); }