private void addCurveTrack()
    {
        MultiActorTrackGroup actorTrackGroup = base.serializedObject.targetObject as MultiActorTrackGroup;

        Undo.RegisterCreatedObjectUndo(CutsceneItemFactory.CreateMultiActorCurveTrack(actorTrackGroup).gameObject, "Create Multi Actor Track");
    }
Exemplo n.º 2
0
    private void addCurveTrack()
    {
        MultiActorTrackGroup matg = TrackGroup.Behaviour as MultiActorTrackGroup;

        Undo.RegisterCreatedObjectUndo(CutsceneItemFactory.CreateMultiActorCurveTrack(matg).gameObject, "Create Multi Actor Track");
    }