//直接循环动作
    public static Component Looper(this Component id, float interval, int loopTime, bool isActionAtStart, Action <int> action)
    {
        ActionSequence seq = ActionSequenceSystem.GetSequence(id);

        if (isActionAtStart)
        {
            seq.Action(action).Interval(interval);
        }
        else
        {
            seq.Interval(interval).Action(action);
        }

        seq.Loop(loopTime);
        return(id);
    }