コード例 #1
0
 internal override bool Upgrade()
 {
     TI.VersionCtorAttribute attr = base.VersionCtorAttributeUsed;
     if (attr.Major == 1)
     {
         switch (attr.Minor)
         {
         case 32:
             // TODO: do this
             break;
         }
     }
     return(true);
 }
コード例 #2
0
 internal override bool Upgrade()
 {
     TI.VersionCtorAttribute attr = base.VersionCtorAttributeUsed;
     if (attr.Major == 1)
     {
         switch (attr.Minor)
         {
         case 108:
             this.Add(LightmapFoliageScale);
             break;
         }
     }
     return(true);
 }
コード例 #3
0
 internal override bool Upgrade()
 {
     TI.VersionCtorAttribute attr = base.VersionCtorAttributeUsed;
     if (attr.Major == 1)
     {
         switch (attr.Minor)
         {
         case 144:
             this.Add(PostprocessDefinition);
             break;
         }
     }
     return(true);
 }
コード例 #4
0
        internal override bool Upgrade()
        {
            TI.VersionCtorAttribute attr = base.VersionCtorAttributeUsed;
            //if(attr.Major == 1)
            {
                switch (attr.Minor)
                {
                case 120:
                    if (attr.Major == 0)
                    {
                        this.Add(PostprocessProperties);
                    }

                    this.Add(AddedDepthBiasOffset);
                    this.Add(AddedDepthBiasSlopeScale);
                    break;
                }
            }
            return(true);
        }