コード例 #1
0
        public static object FindProxied(string handle)
        {
            string[] parts = handle.Split(new char[] { '.' }, 2);

            if (parts.Length != 2)
            {
                Debug.LogError("ProxyGroup: FindProxied: invalid handle: " + handle);
                return(null);
            }

            string proxyGroupHandle = parts[0];

            ProxyGroup proxyGroup = FindProxyGroup(proxyGroupHandle);

            if (proxyGroup == null)
            {
                Debug.LogError("ProxyGroup: FindProxied: undefined proxyGroupHandle: " + proxyGroupHandle + " in handle: " + handle);
                return(null);
            }

            return(proxyGroup.FindPart(handle));
        }