コード例 #1
0
ファイル: SwfAsset.cs プロジェクト: Hydrocas/ShaanMa
 void Reset()
 {
     Data       = new byte[0];
     Hash       = string.Empty;
     Atlas      = null;
     Settings   = SwfSettingsData.identity;
     Overridden = SwfSettingsData.identity;
 }
コード例 #2
0
 public bool CheckEquals(SwfSettingsData other)
 {
     return
         (MaxAtlasSize == other.MaxAtlasSize &&
          AtlasPadding == other.AtlasPadding &&
          Mathf.Approximately(PixelsPerUnit, other.PixelsPerUnit) &&
          GenerateMipMaps == other.GenerateMipMaps &&
          AtlasPowerOfTwo == other.AtlasPowerOfTwo &&
          AtlasForceSquare == other.AtlasForceSquare &&
          AtlasTextureFilter == other.AtlasTextureFilter &&
          AtlasTextureFormat == other.AtlasTextureFormat);
 }
コード例 #3
0
 void Reset()
 {
     Settings = SwfSettingsData.identity;
 }