public override IEnumerable <Object> FetchDependencies(ISerializedFile file, bool isLog = false) { foreach (Object @object in base.FetchDependencies(file, isLog)) { yield return(@object); } foreach (Object @object in SplatDatabase.FetchDependencies(file, isLog)) { yield return(@object); } foreach (Object @object in DetailDatabase.FetchDependencies(file, isLog)) { yield return(@object); } foreach (Object @object in Heightmap.FetchDependencies(file, isLog)) { yield return(@object); } if (IsReadLightmap(file.Version)) { yield return(Lightmap.FetchDependency(file, isLog, ToLogString, "m_Lightmap")); } }
public IEnumerable <Object> FetchDependencies(ISerializedFile file, bool isLog = false) { yield return(Lightmap.FetchDependency(file, isLog, () => nameof(LightmapData), "m_Lightmap")); yield return(DirLightmap.FetchDependency(file, isLog, () => nameof(LightmapData), "m_DirLightmap")); yield return(ShadowMask.FetchDependency(file, isLog, () => nameof(LightmapData), "m_ShadowMask")); }