Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

miss using when exporting UnityEngine.UI #3

Open
c3076802 opened this issue Oct 30, 2015 · 0 comments
Open

miss using when exporting UnityEngine.UI #3

c3076802 opened this issue Oct 30, 2015 · 0 comments

Comments

@c3076802
Copy link

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");
                }
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant