예제 #1
0
        public static iNode GetNode(int v)
        {
            if (CurrentScene != null && CurrentScene.ContainNode(v))
            {
                return(CurrentScene.Nodelist[v]);
            }
            else
            {
                foreach (var item in Scenes)
                {
                    if (item.Value == CurrentScene)
                    {
                        continue;
                    }
                    if (item.Value.ContainNode(v))
                    {
                        return(item.Value.Nodelist[v]);
                    }
                }

                return(null);
            }
        }