public override IEnumerable <PPtr <Object> > FetchDependencies(DependencyContext context) { if (IsModificationsFormat(context.Version)) { foreach (PPtr <Object> asset in FetchDependenciesObject(context)) { yield return(asset); } if (IsRootGameObjectRelevant(context.Flags)) { yield return(context.FetchDependency(RootGameObject, RootGameObjectName)); } foreach (PPtr <Object> asset in context.FetchDependencies(Modification, ModificationName)) { yield return(asset); } yield return(context.FetchDependency(SourcePrefab, SourcePrefabName)); } else { foreach (PPtr <Object> asset in context.FetchDependencies(Objects, ObjectsName)) { yield return(asset); } yield return(context.FetchDependency(Father, FatherName)); foreach (PPtr <Object> asset in base.FetchDependencies(context)) { yield return(asset); } } }
public override IEnumerable <PPtr <Object> > FetchDependencies(DependencyContext context) { foreach (PPtr <Object> asset in base.FetchDependencies(context)) { yield return(asset); } #if UNIVERSAL if (HasDefaultProperties(context.Version, context.Flags)) { yield return(context.FetchDependency(DefaultProperties, DefaultReferencesName)); } if (HasDefaultReferences(context.Version, context.Flags)) { foreach (PPtr <Object> asset in context.FetchDependencies(DefaultReferences.Select(t => t.Value), DefaultReferencesName)) { yield return(asset); } } if (HasIcon(context.Version, context.Flags)) { yield return(context.FetchDependency(Icon, IconName)); } #endif }
public override IEnumerable <PPtr <Object> > FetchDependencies(DependencyContext context) { PrefabInstanceLayout layout = context.Layout.PrefabInstance; if (layout.IsModificationFormat) { foreach (PPtr <Object> asset in FetchDependenciesObject(context)) { yield return(asset); } if (layout.HasRootGameObject) { yield return(context.FetchDependency(RootGameObject, layout.RootGameObjectName)); } foreach (PPtr <Object> asset in context.FetchDependencies(Modification, layout.ModificationName)) { yield return(asset); } yield return(context.FetchDependency(SourcePrefab, layout.SourcePrefabName)); } else { foreach (PPtr <Object> asset in context.FetchDependencies(Objects, layout.ObjectsName)) { yield return(asset); } yield return(context.FetchDependency(Father, layout.FatherName)); foreach (PPtr <Object> asset in base.FetchDependencies(context)) { yield return(asset); } } }
public override IEnumerable <PPtr <Object> > FetchDependencies(DependencyContext context) { foreach (PPtr <Object> asset in base.FetchDependencies(context)) { yield return(asset); } #if UNIVERSAL EditorExtensionLayout layout = context.Layout.EditorExtension; if (layout.HasExtensionPtr) { yield return(context.FetchDependency(ExtensionPtr, layout.ExtensionPtrName)); } if (layout.HasCorrespondingSourceObject) { yield return(context.FetchDependency(CorrespondingSourceObject, layout.CorrespondingSourceObjectInvariantName)); yield return(context.FetchDependency(PrefabInstance, layout.PrefabInstanceInvariantName)); } if (layout.HasPrefabAsset) { yield return(context.FetchDependency(PrefabAsset, layout.PrefabAssetName)); } #endif }
public override IEnumerable <PPtr <Object> > FetchDependencies(DependencyContext context) { foreach (PPtr <Object> asset in base.FetchDependencies(context)) { yield return(asset); } yield return(context.FetchDependency(Scene, SceneName)); foreach (PPtr <Object> asset in context.FetchDependencies(Lightmaps, LightmapsName)) { yield return(asset); } yield return(context.FetchDependency(LightProbes, LightProbesName)); foreach (PPtr <Object> asset in context.FetchDependencies(LightmappedRendererData, LightmappedRendererDataName)) { yield return(asset); } foreach (PPtr <Object> asset in context.FetchDependencies(EnlightenSceneMapping, EnlightenSceneMappingName)) { yield return(asset); } foreach (PPtr <Object> asset in context.FetchDependencies(BakedReflectionProbeCubemaps, BakedReflectionProbeCubemapsName)) { yield return(asset); } }
public override IEnumerable <PPtr <Object> > FetchDependencies(DependencyContext context) { foreach (PPtr <Object> asset in base.FetchDependencies(context)) { yield return(asset); } #if UNIVERSAL if (HasEditorPtrs(context.Flags)) { if (HasCorrespondingSourceObject(context.Version, context.Flags)) { yield return(context.FetchDependency(CorrespondingSourceObject, CorrespondingSourceObjectName)); yield return(context.FetchDependency(PrefabInstance, PrefabInstanceName)); } else { yield return(context.FetchDependency(ExtensionPtr, ExtensionPtrName)); } if (HasPrefabAsset(context.Version, context.Flags)) { yield return(context.FetchDependency(PrefabAsset, PrefabAssetName)); } } #endif }
public IEnumerable <PPtr <Object> > FetchDependencies(DependencyContext context) { PropertyModificationLayout layout = context.Layout.PrefabInstance.PropertyModification; yield return(context.FetchDependency(Target, layout.TargetName)); yield return(context.FetchDependency(ObjectReference, layout.ObjectReferenceName)); }
public IEnumerable <PPtr <Object> > FetchDependencies(DependencyContext context) { yield return(context.FetchDependency(Lightmap, LightmapName)); yield return(context.FetchDependency(DirLightmap, DirLightmapName)); yield return(context.FetchDependency(ShadowMask, ShadowMaskName)); }
public IEnumerable <PPtr <Object> > FetchDependencies(DependencyContext context) { yield return(context.FetchDependency(Mesh, MeshName)); yield return(context.FetchDependency(MeshRenderer, MeshRendererName)); yield return(context.FetchDependency(SkinnedMeshRenderer, SkinnedMeshRendererName)); }
public override IEnumerable <PPtr <Object> > FetchDependencies(DependencyContext context) { foreach (PPtr <Object> asset in base.FetchDependencies(context)) { yield return(asset); } foreach (PPtr <Object> asset in context.FetchDependencies(Deferred, DeferredName)) { yield return(asset); } foreach (PPtr <Object> asset in context.FetchDependencies(DeferredReflections, DeferredReflectionsName)) { yield return(asset); } foreach (PPtr <Object> asset in context.FetchDependencies(ScreenSpaceShadows, ScreenSpaceShadowsName)) { yield return(asset); } foreach (PPtr <Object> asset in context.FetchDependencies(LegacyDeferred, LegacyDeferredName)) { yield return(asset); } foreach (PPtr <Object> asset in context.FetchDependencies(DepthNormals, DepthNormalsName)) { yield return(asset); } foreach (PPtr <Object> asset in context.FetchDependencies(MotionVectors, MotionVectorsName)) { yield return(asset); } foreach (PPtr <Object> asset in context.FetchDependencies(LightHalo, LightHaloName)) { yield return(asset); } foreach (PPtr <Object> asset in context.FetchDependencies(LensFlare, LensFlareName)) { yield return(asset); } if (HasAlwaysIncludedShaders(context.Version)) { foreach (PPtr <Object> asset in context.FetchDependencies(AlwaysIncludedShaders, AlwaysIncludedShadersName)) { yield return(asset); } } if (HasPreloadedShaders(context.Version)) { foreach (PPtr <Object> asset in context.FetchDependencies(PreloadedShaders, PreloadedShadersName)) { yield return(asset); } } yield return(context.FetchDependency(SpritesDefaultMaterial, SpritesDefaultMaterialName)); yield return(context.FetchDependency(CustomRenderPipeline, CustomRenderPipelineName)); }
public IEnumerable <PPtr <Object> > FetchDependencies(DependencyContext context) { yield return(context.FetchDependency(Texture, TextureName)); if (HasNormalMap(context.Version)) { yield return(context.FetchDependency(NormalMap, NormalMapName)); } }
public override IEnumerable <PPtr <Object> > FetchDependencies(DependencyContext context) { foreach (PPtr <Object> asset in base.FetchDependencies(context)) { yield return(asset); } yield return(context.FetchDependency(TerrainData, TerrainDataName)); yield return(context.FetchDependency(MaterialTemplate, MaterialTemplateName)); }
public override IEnumerable <PPtr <Object> > FetchDependencies(DependencyContext context) { foreach (PPtr <Object> asset in base.FetchDependencies(context)) { yield return(asset); } yield return(context.FetchDependency(Start, StartName)); yield return(context.FetchDependency(End, EndName)); }
public override IEnumerable <PPtr <Object> > FetchDependencies(DependencyContext context) { foreach (PPtr <Object> asset in base.FetchDependencies(context)) { yield return(asset); } yield return(context.FetchDependency(OutputAudioMixerGroup, OutputAudioMixerGroupName)); yield return(context.FetchDependency(AudioClip, AudioClipName)); }
public override IEnumerable <PPtr <Object> > FetchDependencies(DependencyContext context) { foreach (PPtr <Object> asset in base.FetchDependencies(context)) { yield return(asset); } yield return(context.FetchDependency(Font, FontName)); yield return(context.FetchDependency(Material, MaterialName)); }
public override IEnumerable <PPtr <Object> > FetchDependencies(DependencyContext context) { foreach (PPtr <Object> asset in base.FetchDependencies(context)) { yield return(asset); } yield return(context.FetchDependency(Avatar, AvatarName)); yield return(context.FetchDependency(Controller, ControllerName)); }
public override IEnumerable <PPtr <Object> > FetchDependencies(DependencyContext context) { foreach (PPtr <Object> asset in base.FetchDependencies(context)) { yield return(asset); } yield return(context.FetchDependency(Cookie, CookieName)); yield return(context.FetchDependency(Flare, FlareName)); }
public override IEnumerable <PPtr <Object> > FetchDependencies(DependencyContext context) { foreach (PPtr <Object> asset in base.FetchDependencies(context)) { yield return(asset); } yield return(context.FetchDependency(SourcePrefab, ParentPrefabName)); yield return(context.FetchDependency(RootGameObject, RootGameObjectName)); }
public override IEnumerable <PPtr <Object> > FetchDependencies(DependencyContext context) { foreach (PPtr <Object> asset in base.FetchDependencies(context)) { yield return(asset); } yield return(context.FetchDependency(DiffuseTexture, DiffuseTextureName)); yield return(context.FetchDependency(NormalMapTexture, NormalMapTextureName)); yield return(context.FetchDependency(MaskMapTexture, MaskMapTextureName)); }
public IEnumerable <PPtr <Object> > FetchDependencies(DependencyContext context) { yield return(context.FetchDependency(Texture, TextureName)); yield return(context.FetchDependency(AlphaTexture, AlphaTextureName)); if (IsReadSecondaryTextures(context.Version)) { foreach (PPtr <Object> asset in context.FetchDependencies(SecondaryTextures, SecondaryTexturesName)) { yield return(asset); } } }
public IEnumerable <PPtr <Object> > FetchDependencies(DependencyContext context) { if (HasAdditiveReferencePoseClip(context.Version)) { yield return(context.FetchDependency(AdditiveReferencePoseClip, AdditiveReferencePoseClipName)); } }
public override IEnumerable <PPtr <Object> > FetchDependencies(DependencyContext context) { foreach (PPtr <Object> asset in base.FetchDependencies(context)) { yield return(asset); } foreach (PPtr <Object> asset in context.FetchDependencies(SplatDatabase, SplatDatabaseName)) { yield return(asset); } foreach (PPtr <Object> asset in context.FetchDependencies(DetailDatabase, DetailDatabaseName)) { yield return(asset); } foreach (PPtr <Object> asset in context.FetchDependencies(Heightmap, HeightmapName)) { yield return(asset); } if (HasLightmap(context.Version)) { yield return(context.FetchDependency(Lightmap, LightmapName)); } if (HasPreloadShaders(context.Version)) { foreach (PPtr <Object> asset in context.FetchDependencies(PreloadShaders, PreloadShadersName)) { yield return(asset); } } }
public IEnumerable <PPtr <Object> > FetchDependencies(DependencyContext context) { if (HasDefaultPhysicMaterial(context.Version)) { yield return(context.FetchDependency(DefaultPhysicMaterial, DefaultPhysicMaterialName)); } }
public override IEnumerable <PPtr <Object> > FetchDependencies(DependencyContext context) { foreach (PPtr <Object> asset in base.FetchDependencies(context)) { yield return(asset); } AnimationLayout layout = context.Layout.Animation; yield return(context.FetchDependency(DefaultAnimation, layout.AnimationName)); if (layout.HasAnimationsPaired) { foreach (PPtr <Object> asset in context.FetchDependencies(AnimationsPaired.Select(t => t.Item2), layout.AnimationsName)) { yield return(asset); } } else { foreach (PPtr <Object> asset in context.FetchDependencies(Animations, layout.AnimationsName)) { yield return(asset); } } }
public IEnumerable <PPtr <Object> > FetchDependencies(DependencyContext context) { foreach (PPtr <Object> asset in context.FetchDependencies(Curve, CurveName)) { yield return(asset); } yield return(context.FetchDependency(Script, ScriptName)); }
public override IEnumerable <PPtr <Object> > FetchDependencies(DependencyContext context) { foreach (PPtr <Object> asset in base.FetchDependencies(context)) { yield return(asset); } foreach (PPtr <Object> asset in context.FetchDependencies(Materials, MaterialsName)) { yield return(asset); } yield return(context.FetchDependency(StaticBatchRoot, StaticBatchRootName)); yield return(context.FetchDependency(ProbeAnchor, ProbeAnchorName)); yield return(context.FetchDependency(LightProbeVolumeOverride, LightProbeVolumeOverrideName)); }
public IEnumerable <PPtr <Object> > FetchDependencies(DependencyContext context) { yield return(context.FetchDependency(Object, ObjectName)); foreach (PPtr <Object> asset in context.FetchDependencies(Dependencies, DependenciesName)) { yield return(asset); } }
public override IEnumerable <PPtr <Object> > FetchDependencies(DependencyContext context) { foreach (PPtr <Object> asset in base.FetchDependencies(context)) { yield return(asset); } yield return(context.FetchDependency(Mesh, MeshName)); if (IsReadMeshes(context.Version)) { yield return(context.FetchDependency(Mesh1, Mesh1Name)); yield return(context.FetchDependency(Mesh2, Mesh2Name)); yield return(context.FetchDependency(Mesh3, Mesh3Name)); } }
public override IEnumerable <PPtr <Object> > FetchDependencies(DependencyContext context) { foreach (PPtr <Object> asset in base.FetchDependencies(context)) { yield return(asset); } yield return(context.FetchDependency(CustomSkybox, CustomSkyboxName)); }
public override IEnumerable <PPtr <Object> > FetchDependencies(DependencyContext context) { foreach (PPtr <Object> asset in base.FetchDependencies(context)) { yield return(asset); } yield return(context.FetchDependency(m_navMeshData, NavMeshDataName)); }