using System;
using Fort23.Core;
using Fort23.UTool;
using UnityEngine;
using UTool.CustomizeTimeLogic.FxLogic.TimeLineEventLogic;

namespace UTool.CustomizeTimeLogic.FxLogic.TimeLineEventinterface
{
    public interface ITimeLineParticleFactory:ITimeLineEventBasic
    {
        Clock CreateParticle(TimeLineEventParticleLogicBasic timeLineEventParticleLogicBasic,ILifetCycleHitPoint effectTarget, ILifetCycleHitPoint fxTarget, Vector3 startPos,
            SpecialDotInfo targetSpecialDotInfo, System.Action<IGObjectPoolInterface> callBack);

        public Clock CreateParticle(string fxName, Vector3 startPos, ILifetCycleHitPoint fxTarget, bool isRotate,
            SpecialDotInfo targetSpecialDotInfo, Action<ParticleSystemPool> callBack, bool isNotLoadFx);
    }
}