コード例 #1
0
    public static List <string> b(GameObject A_0)
    {
        List <string> list = new List <string>();
        List <object> componentInChildrenAttribute = ReflectionTools.GetComponentInChildrenAttribute(A_0, global::x.ai, "mainTexture");

        if (componentInChildrenAttribute != null)
        {
            for (int i = 0; i < componentInChildrenAttribute.Count; i++)
            {
                Texture texture = (Texture)componentInChildrenAttribute[i];
                list.Add(texture.name);
            }
        }
        List <object> componentInChildrenAttribute2 = ReflectionTools.GetComponentInChildrenAttribute(A_0, global::x.aj, "spriteName");

        if (componentInChildrenAttribute2 != null)
        {
            for (int j = 0; j < componentInChildrenAttribute2.Count; j++)
            {
                if (componentInChildrenAttribute2[j] != null)
                {
                    list.Add((string)componentInChildrenAttribute2[j]);
                }
            }
        }
        return(list);
    }
コード例 #2
0
    public static List <string> d(GameObject A_0)
    {
        List <string> list = new List <string>();
        List <object> componentInChildrenAttribute = ReflectionTools.GetComponentInChildrenAttribute(A_0, global::x.ag, "text");

        if (componentInChildrenAttribute != null)
        {
            for (int i = 0; i < componentInChildrenAttribute.Count; i++)
            {
                if (componentInChildrenAttribute[i] != null)
                {
                    list.Add((string)componentInChildrenAttribute[i]);
                }
            }
        }
        componentInChildrenAttribute = ReflectionTools.GetComponentInChildrenAttribute(A_0, global::x.ah, "text");
        if (componentInChildrenAttribute != null)
        {
            for (int j = 0; j < componentInChildrenAttribute.Count; j++)
            {
                if (componentInChildrenAttribute[j] != null)
                {
                    list.Add((string)componentInChildrenAttribute[j]);
                }
            }
        }
        return(list);
    }