ShowBaiscEntity.cs 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. using Fort23.Common;
  2. using Fort23.Core;
  3. using Fort23.UTool;
  4. using GameLogic.Combat.Buff;
  5. using UnityEngine;
  6. using UTool.CustomizeTimeLogic.FxLogic.TimeLineEventinterface;
  7. namespace GameLogic.Combat.Hero
  8. {
  9. public class ShowBaiscEntity : CObject, ITimeLineSpecialDotPos, ILifeCycle
  10. {
  11. public bool IsEnemy { get; set; }
  12. public bool isZhanZhuang;
  13. public bool isDie { get; set; }
  14. public int number;
  15. public CombatHeroInfo CurrCombatHeroInfo;
  16. public CombatHeroInfo MaxCombatHeroInfo;
  17. public CombatAIBasic CombatAIBasic;
  18. public CombatHeroGameObject combatHeroGameObject;
  19. public CombatHeroTimeLineControl combatHeroTimeLineControl;
  20. public HeroAnimtionBasic combatHeroAnimtion;
  21. public CombatHeroSkillControlBasic CombatHeroSkillControl;
  22. public BuffControl BuffControl;
  23. public BetterList<CombatParticleSystemPool> heroLoopParticle = new BetterList<CombatParticleSystemPool>();
  24. public ShieldsBarrier ShieldsBarrier;
  25. public override void ActiveObj()
  26. {
  27. }
  28. public override void DormancyObj()
  29. {
  30. }
  31. public async CTask InitShieldsFx()
  32. {
  33. ShieldsBarrier = new ShieldsBarrier();
  34. await ShieldsBarrier.Init(this);
  35. // ShieldsFx.SetActive(false);
  36. }
  37. public virtual Vector3 dotPos
  38. {
  39. get { return combatHeroGameObject.position; }
  40. }
  41. public virtual Vector3 faceDir
  42. {
  43. get { return combatHeroGameObject.transform.forward; }
  44. }
  45. public string guidName { get; }
  46. public T This<T>()
  47. {
  48. return (T)(object)this;
  49. }
  50. public virtual T GetILifetCycleHitPoint<T>(string hitPoinName, bool isStandType, bool isIgnoreHind)
  51. where T : ILifetCycleHitPoint
  52. {
  53. throw new System.NotImplementedException();
  54. }
  55. public virtual T GetMainHotPoin<T>(bool isIgnoreHind) where T : ILifetCycleHitPoint
  56. {
  57. throw new System.NotImplementedException();
  58. }
  59. }
  60. }