/// <summary> /// Less than 5.5.0 or Release /// </summary> public static bool IsReadStaticRenderers(Version version, TransferInstructionFlags flags) { if (version.IsLess(5, 5)) { return(true); } else { return(flags.IsSerializeGameRelease()); } }
/// <summary> /// (3.5.0 to 5.5.0 exclusive) or (5.0.0 and greater and Release) /// </summary> public static bool IsReadPortals(Version version, TransferInstructionFlags flags) { if (version.IsGreaterEqual(3, 5, 0)) { if (version.IsLess(5, 5)) { return(true); } return(flags.IsSerializeGameRelease()); } return(false); }
/// <summary> /// Not Release /// </summary> public static bool IsReadStaticRenderers(TransferInstructionFlags flags) { return(!flags.IsSerializeGameRelease()); }
/// <summary> /// Not Release /// </summary> public static bool IsReadGeometryHash(TransferInstructionFlags flags) { return(!flags.IsSerializeGameRelease()); }
public static bool IsReadHideFlag(TransferInstructionFlags flags) { return(!flags.IsSerializeGameRelease() && !flags.IsSerializeForPrefabSystem()); }
/// <summary> /// Not Release /// </summary> public static bool IsReadLightingDataAsset(Version version, TransferInstructionFlags flags) { #warning unknown version (random) return(version.IsGreaterEqual(2017) && !flags.IsSerializeGameRelease()); }
/// <summary> /// 3.0.0 and greater and Release /// </summary> public static bool IsReadLightmapsMode(Version version, TransferInstructionFlags flags) { return(version.IsGreaterEqual(3) && flags.IsSerializeGameRelease()); }
/// <summary> /// Release or Resource /// </summary> public static bool IsReadLightmaps(TransferInstructionFlags flags) { return(flags.IsSerializeGameRelease() || flags.IsBuiltinResourcesFile()); }
/// <summary> /// 3.0.0 and greater and Not Release /// </summary> public static bool IsReadOcclusionBakeSettings(Version version, TransferInstructionFlags flags) { return(version.IsGreaterEqual(3) && !flags.IsSerializeGameRelease()); }
/// <summary> /// 5.0.0 and greater and Not Release /// </summary> public static bool IsReadGIWorkflowMode(Version version, TransferInstructionFlags flags) { return(version.IsGreaterEqual(5) && !flags.IsSerializeGameRelease()); }
/// <summary> /// (5.0.0 and greater) and Release /// </summary> public static bool IsReadEnlightenSceneMapping(Version version, TransferInstructionFlags flags) { return(version.IsGreaterEqual(5) && flags.IsSerializeGameRelease()); }
/// <summary> /// 2017.1 and (Release or Resource) /// </summary> private static bool IsAlign1(Version version, TransferInstructionFlags flags) { return(version.IsGreaterEqual(2017) && (flags.IsSerializeGameRelease() || flags.IsBuiltinResourcesFile())); }
/// <summary> /// 5.0.0 and (Release or ResourcesFile) /// </summary> public static bool IsReadGeneratedSkyboxReflection(Version version, TransferInstructionFlags flags) { return(version.IsGreaterEqual(5) && (flags.IsSerializeGameRelease() || flags.IsBuiltinResourcesFile())); }
/// <summary> /// 5.0.0f1 to 5.3.0 exclusive and Release /// </summary> public static bool IsReadAmbientProbeInGamma(Version version, TransferInstructionFlags flags) { return(version.IsGreaterEqual(5, 0, 0, VersionType.Final) && version.IsLess(5, 3) && flags.IsSerializeGameRelease()); }
/// <summary> /// 5.0.0 and Release /// </summary> public static bool IsReadAmbientProbe(Version version, TransferInstructionFlags flags) { return(version.IsGreaterEqual(5) && flags.IsSerializeGameRelease()); }
/// <summary> /// Not Release /// </summary> public static bool IsReadBuildSettings(TransferInstructionFlags flags) { return(!flags.IsSerializeGameRelease()); }
/// <summary> /// 3.5.0 and greater and (Release or Resource) /// </summary> public static bool IsReadLightProbes(Version version, TransferInstructionFlags flags) { return(version.IsGreaterEqual(3, 5) && (flags.IsSerializeGameRelease() || flags.IsBuiltinResourcesFile())); }