예제 #1
0
    // Methods for setting, opening and closing

    public static void Open(DropDownButton dropDown, float width = 256f)
    {
        if (current == null)
        {
            Debug.Log("No available options box.");
            return;
        }

        MenuController.currentMenu = current;
        current.Set(dropDown, width);
        current.FadeIn(0.3f);
    }