| 12345678910111213141516171819202122232425262728293031 |
- using Base;
- namespace Model
- {
- [DisposerEvent]
- public class RobotComponentEvent : DisposerEvent<RobotComponent>, IAwake
- {
- public void Awake()
- {
- RobotComponent component = this.GetValue();
- component.Awake();
- }
- }
- public class RobotComponent : Component
- {
- public void Awake()
- {
- }
-
- public override void Dispose()
- {
- if (this.Id == 0)
- {
- return;
- }
- base.Dispose();
- }
- }
- }
|