1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- using Utility;
- using UTool.CustomizeTimeLogic.FxLogic.TimeLineEventinterface;
- #if !COMBAT_SERVER
- using UnityEngine;
- #endif
- public class SpecialDotInfo
- {
- public string dotName;
- public ITimeLineSpecialDotPos heroEntity;
- public Transform targetTran;
- public bool followSkeleton;
-
- public void Dis()
- {
- heroEntity = null;
- }
- public void Init(ITimeLineSpecialDotPos heroEntity)
- {
- this.heroEntity = heroEntity;
- }
- public Vector3 GetWorlPos()
- {
- return GetWorlPos(new Vector3());
- }
- public Vector3 GeRotPos()
- {
- // GetTransformInfo().
- return GetWorlPos(new Vector3());
- }
- public Vector3 GetEulerAngles()
- {
- return targetTran.eulerAngles;
- }
- public Vector3 GetWorlPos(Vector3 pos)
- {
- return targetTran.position;
- }
- }
|