You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
467 B
21 lines
467 B
3 years ago
|
namespace ET
|
||
|
{
|
||
|
public class RoleInfosComponentDestroySystem: DestroySystem<RoleInfosComponent>
|
||
|
{
|
||
|
public override void Destroy(RoleInfosComponent self)
|
||
|
{
|
||
|
foreach (var roleInfo in self.RoleInfos)
|
||
|
{
|
||
|
roleInfo?.Dispose();
|
||
|
}
|
||
|
|
||
|
self.RoleInfos.Clear();
|
||
|
self.CurRoleId = 0;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static class RoleInfosComponentSystem
|
||
|
{
|
||
|
|
||
|
}
|
||
|
}
|