| 123456789101112131415161718192021222324 |
- using Model;
- using UnityEngine;
- namespace Hotfix
- {
- [ObjectEvent]
- public class GameObjectComponentEvent : ObjectEvent<GameObjectComponent>, IAwake<GameObject>
- {
- public void Awake(GameObject gameObject)
- {
- this.Get().Awake(gameObject);
- }
- }
-
- public class GameObjectComponent: Component
- {
- public GameObject GameObject { get; private set; }
- public void Awake(GameObject gameObject)
- {
- this.GameObject = gameObject;
- }
- }
- }
|