uLua icon indicating copy to clipboard operation
uLua copied to clipboard

miss using when exporting UnityEngine.UI

Open c3076802 opened this issue 10 years ago • 0 comments

Fix

    public static string _C(string str)
{
...
            if (str.Length > 12 && str.Substring(0, 12) == "UnityEngine.")
            {
                if (nameSpace == "UnityEngine")
                {
                    usingList.Add("UnityEngine");                    
                }
                if (nameSpace == "UnityEngine.UI")
                {
                    usingList.Add("UnityEngine.UI");
                    usingList.Add("UnityEngine");
                }
...
}

c3076802 avatar Oct 30 '15 03:10 c3076802