コード例 #1
0
 /// <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());
     }
 }
コード例 #2
0
 /// <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);
 }
コード例 #3
0
 /// <summary>
 /// Not Release
 /// </summary>
 public static bool IsReadStaticRenderers(TransferInstructionFlags flags)
 {
     return(!flags.IsSerializeGameRelease());
 }
コード例 #4
0
 /// <summary>
 /// Not Release
 /// </summary>
 public static bool IsReadGeometryHash(TransferInstructionFlags flags)
 {
     return(!flags.IsSerializeGameRelease());
 }
コード例 #5
0
ファイル: Object.cs プロジェクト: frankkyoshiliu/UtinyRipper
 public static bool IsReadHideFlag(TransferInstructionFlags flags)
 {
     return(!flags.IsSerializeGameRelease() && !flags.IsSerializeForPrefabSystem());
 }
コード例 #6
0
        /// <summary>
        /// Not Release
        /// </summary>
        public static bool IsReadLightingDataAsset(Version version, TransferInstructionFlags flags)
        {
#warning unknown version (random)
            return(version.IsGreaterEqual(2017) && !flags.IsSerializeGameRelease());
        }
コード例 #7
0
 /// <summary>
 /// 3.0.0 and greater and Release
 /// </summary>
 public static bool IsReadLightmapsMode(Version version, TransferInstructionFlags flags)
 {
     return(version.IsGreaterEqual(3) && flags.IsSerializeGameRelease());
 }
コード例 #8
0
 /// <summary>
 /// Release or Resource
 /// </summary>
 public static bool IsReadLightmaps(TransferInstructionFlags flags)
 {
     return(flags.IsSerializeGameRelease() || flags.IsBuiltinResourcesFile());
 }
コード例 #9
0
 /// <summary>
 /// 3.0.0 and greater and Not Release
 /// </summary>
 public static bool IsReadOcclusionBakeSettings(Version version, TransferInstructionFlags flags)
 {
     return(version.IsGreaterEqual(3) && !flags.IsSerializeGameRelease());
 }
コード例 #10
0
 /// <summary>
 /// 5.0.0 and greater and Not Release
 /// </summary>
 public static bool IsReadGIWorkflowMode(Version version, TransferInstructionFlags flags)
 {
     return(version.IsGreaterEqual(5) && !flags.IsSerializeGameRelease());
 }
コード例 #11
0
 /// <summary>
 /// (5.0.0 and greater) and Release
 /// </summary>
 public static bool IsReadEnlightenSceneMapping(Version version, TransferInstructionFlags flags)
 {
     return(version.IsGreaterEqual(5) && flags.IsSerializeGameRelease());
 }
コード例 #12
0
 /// <summary>
 /// 2017.1 and (Release or Resource)
 /// </summary>
 private static bool IsAlign1(Version version, TransferInstructionFlags flags)
 {
     return(version.IsGreaterEqual(2017) && (flags.IsSerializeGameRelease() || flags.IsBuiltinResourcesFile()));
 }
コード例 #13
0
 /// <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()));
 }
コード例 #14
0
 /// <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());
 }
コード例 #15
0
 /// <summary>
 /// 5.0.0 and Release
 /// </summary>
 public static bool IsReadAmbientProbe(Version version, TransferInstructionFlags flags)
 {
     return(version.IsGreaterEqual(5) && flags.IsSerializeGameRelease());
 }
コード例 #16
0
 /// <summary>
 /// Not Release
 /// </summary>
 public static bool IsReadBuildSettings(TransferInstructionFlags flags)
 {
     return(!flags.IsSerializeGameRelease());
 }
コード例 #17
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.IsSerializeGameRelease() || flags.IsBuiltinResourcesFile()));
 }