GameObjectComponent.cs 301 B

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