using CommonAI.Zone;
using CommonAI.ZoneClient;
using Pathfinding.ClipperLib;
using System;
using UnityEngine;

public class EffectPlayInfo
{
    public uint Id { get; private set; }
    public float EndTime { get; private set; }
    public GameObject GameObj { get; private set; }

    public EffectPlayInfo() { }
    public void Reset(GameObject go, float endtime)
    {
        Id = IdGen();
        EndTime = endtime;
        GameObj = go;
    }

    private static uint _id = 0;
    private static uint IdGen()
    {
        return ++_id; ;
    }
    public readonly static float TIME_FOREVER = 86400f;
}