123456789101112131415161718192021222324252627282930 |
- using UnityEngine;
- namespace GameLogic.Combat.Hero
- {
- public class BannerHero : IHero
- {
- public Vector3 dotPos
- {
- get { return _gameObject.transform.position; }
- }
- public T GetThis<T>() where T : IHero
- {
- return (T)(object)this;
- }
- public bool IsEnemy { get; set; }
- public bool isDie { get; set; }
- public GameObject GameObject
- {
- get { return _gameObject; }
- }
- private GameObject _gameObject;
- public void Init(GameObject gameObject)
- {
- this._gameObject = gameObject;
- }
- }
- }
|