| 12345678910111213141516171819202122232425 |
- using UnityEngine;
- namespace ET.Client
- {
- [ComponentOf(typeof(Unit))]
- public class GameObjectComponent: Entity, IAwake, IDestroy
- {
- private GameObject gameObject;
- public GameObject GameObject
- {
- get
- {
- return this.gameObject;
- }
- set
- {
- this.gameObject = value;
- this.Transform = value.transform;
- }
- }
- public Transform Transform { get; private set; }
- }
- }
|