internal void addCurveTrack()
    {
        ActorTrackGroup actorTrackGroup = base.serializedObject.targetObject as ActorTrackGroup;

        Undo.RegisterCreatedObjectUndo(CutsceneItemFactory.CreateCurveTrack(actorTrackGroup).gameObject, "Create Curve Track");
    }
    private void addCurveTrack()
    {
        ActorTrackGroup atg = TrackGroup.Behaviour as ActorTrackGroup;

        Undo.RegisterCreatedObjectUndo(CutsceneItemFactory.CreateCurveTrack(atg).gameObject, "Create Curve Track");
    }