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.
26 lines
560 B
26 lines
560 B
namespace ET |
|
{ |
|
[ObjectSystem] |
|
public class ModeContexAwakeSystem: AwakeSystem<ModeContex> |
|
{ |
|
public override void Awake(ModeContex self) |
|
{ |
|
self.Mode = ""; |
|
} |
|
} |
|
|
|
[ObjectSystem] |
|
public class ModeContexDestroySystem: DestroySystem<ModeContex> |
|
{ |
|
public override void Destroy(ModeContex self) |
|
{ |
|
self.Mode = ""; |
|
} |
|
} |
|
|
|
[ComponentOf(typeof(ConsoleComponent))] |
|
public class ModeContex: Entity, IAwake, IDestroy |
|
{ |
|
public string Mode = ""; |
|
} |
|
} |