private static HashSet <ResourceData> SearchResourceItemData(GameProjectData projectData)
        {
            HashSet <ResourceData> hashSet  = new HashSet <ResourceData>();
            HashSet <ResourceData> hashSet2 = GameProjectContent.ScanObjectData(projectData.ObjectData);

            if (hashSet2 != null)
            {
                hashSet.UnionWith(hashSet2);
            }
            hashSet2 = GameProjectContent.ScanAnimationData(projectData.Animation);
            if (hashSet2 != null)
            {
                hashSet.UnionWith(hashSet2);
            }
            return(hashSet);
        }
        private static HashSet <ResourceData> SearchResourceItemData(GameProjectData projectData)
        {
            HashSet <ResourceData> resourceDataSet1 = new HashSet <ResourceData>();
            HashSet <ResourceData> resourceDataSet2 = GameProjectContent.ScanObjectData(projectData.ObjectData);

            if (resourceDataSet2 != null)
            {
                resourceDataSet1.UnionWith((IEnumerable <ResourceData>)resourceDataSet2);
            }
            HashSet <ResourceData> resourceDataSet3 = GameProjectContent.ScanAnimationData(projectData.Animation);

            if (resourceDataSet3 != null)
            {
                resourceDataSet1.UnionWith((IEnumerable <ResourceData>)resourceDataSet3);
            }
            return(resourceDataSet1);
        }