Beispiel #1
0
    /// <summary>
    /// Resets the MoveEditor by restarting the progressBar and the movePlayer.
    /// </summary>
    public void ResetMoveEditor()
    {
        foreach (GameObject marker in twistLimitMarkers)
        {
            marker.transform.parent = transform;
        }

        activeBodypartSelector.Reset();
        Destroy(GameObject.Find("Character"));

        nameInputField.text = nameValidator.GenerateValidName();
        sliders.ResetSlider();         //Reset slider to 50/50
        SetBlockMove(false);
        move = new Move();
        recorder.Reset(move);
        saveButton.interactable  = false;
        this.doneRecordingFrames = false;
        this.editorGuiManager.Reset();
    }