Esempio n. 1
0
    public void SetToPaste()
    {
        VoosActor focusActor = editMain.GetFocusedTargetActor();

        if (focusActor == null)
        {
            return;
        }

        containerNode.SetPositionAndRotation(focusActor.GetPosition(), focusActor.GetRotation());

        foreach (VoosActor actor in voosEngine.GetActorsAndDescendants(editMain.GetTargetActors()))
        {
            pastePreview[actor] = GetPreviewOfActor(actor);
        }

        mode = Mode.Paste;
    }