GameObjectComponent.cs 283 B

123456789101112131415
  1. using UnityEngine;
  2. namespace Hotfix
  3. {
  4. [ObjectEvent(EntityEventId.GameObjectComponent)]
  5. public class GameObjectComponent: Component
  6. {
  7. public GameObject GameObject { get; private set; }
  8. private void Awake(GameObject gameObject)
  9. {
  10. this.GameObject = gameObject;
  11. }
  12. }
  13. }