コード例 #1
0
 /// <summary>
 /// 2017.1 and (Release or Resource)
 /// </summary>
 private static bool IsAlign1(Version version, TransferInstructionFlags flags)
 {
     return(version.IsGreaterEqual(2017) && (flags.IsRelease() || flags.IsBuiltinResources()));
 }
コード例 #2
0
 /// <summary>
 /// Release or Resource
 /// </summary>
 public static bool IsReadLightmaps(TransferInstructionFlags flags)
 {
     return(flags.IsRelease() || flags.IsBuiltinResources());
 }
コード例 #3
0
 /// <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));
 }
コード例 #4
0
 /// <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()));
 }
コード例 #5
0
ファイル: RenderSettings.cs プロジェクト: loveezu/UtinyRipper
 /// <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()));
 }