예제 #1
0
    /// <summary>
    /// Loads the name generator.
    /// </summary>
    public void Load( )
    {
        // Load generator
        NameData.LoadNameData( );

        // Hide character displays
        for (int i = 0; i < displays.Length; i++)
        {
            displays [i].Container.SetActive(false);
        }

        // Hide dropdowns
        subcategoryDropdown.gameObject.SetActive(false);
        originDropdown.gameObject.SetActive(false);

        // Display stats
        DisplayStats( );
    }