示例#1
0
    void CreateAssetBundlesFromSelection()
    {
        if (Selection.objects == null || Selection.objects.Length == 0)
        {
            return;
        }

        string parent = string.Empty;

        if (m_Selections != null && m_Selections.Count > 0)
        {
            parent = m_Selections[0];
        }

        BuildHelper.CreateAssetBundlesFromSelection(Selection.objects, parent);
    }