/// <summary> /// 2017.1 and (Release or Resource) /// </summary> private static bool IsAlign1(Version version, TransferInstructionFlags flags) { return(version.IsGreaterEqual(2017) && (flags.IsRelease() || flags.IsBuiltinResources())); }
/// <summary> /// Release or Resource /// </summary> public static bool IsReadLightmaps(TransferInstructionFlags flags) { return(flags.IsRelease() || flags.IsBuiltinResources()); }
/// <summary> /// 4.5.0 and greater and Not Release and Not Buildin /// </summary> public static bool HasCompileInfo(Version version, TransferInstructionFlags flags) { return(!flags.IsRelease() && !flags.IsBuiltinResources() && version.IsGreaterEqual(4, 5)); }
/// <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.IsRelease() || flags.IsBuiltinResources())); }
/// <summary> /// 5.0.0 and (Release or ResourcesFile) /// </summary> public static bool IsReadGeneratedSkyboxReflection(Version version, TransferInstructionFlags flags) { return(version.IsGreaterEqual(5) && (flags.IsRelease() || flags.IsBuiltinResources())); }