Example #1
0
    /// <summary>
    /// Gets a new label from the user
    /// </summary>
    public void UpdateLabelAndDeactivate(string newLabel)
    {
        SetModuleLabel(newLabel);

        // Sends label back to UImanager
        uiManager.GetNewModuleLabel(moduleId, newLabel);

        // Deactivates the input field
        moduleLabelInputField.SetActive(false);
    }