Skip to content
This repository has been archived by the owner on Jan 22, 2023. It is now read-only.

Commit

Permalink
アバター側でテクスチャ圧縮形式のバリデーションを行っていなかったバグを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
esperecyan committed Oct 1, 2022
1 parent e56abfe commit 5f7e6b9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 8 additions & 0 deletions Assets/VitDeck/Validator/Rules/JQuestaBaseRuleSet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using System.Linq;
using System.Text.RegularExpressions;
using UnityEngine;
using UnityEditor;
using VitDeck.Language;

namespace VitDeck.Validator
Expand Down Expand Up @@ -81,6 +82,13 @@ public virtual IRule[] GetRules()

// ビルドサイズの確認をAndroidプラットフォームで行う
new UnityPlatformRule("Unityプラットフォーム", UnityPlatformRule.Platform.Android),

new TextureImporterFormatRule("テクスチャ圧縮形式", "Android", new[]
{
TextureImporterFormat.ASTC_6x6,
TextureImporterFormat.ASTC_8x8,
TextureImporterFormat.ASTC_10x10,
}),

////////////////////////////////////////////////////////////////
//// シーン ////
Expand Down
8 changes: 0 additions & 8 deletions Assets/VitDeck/Validator/Rules/JQuestaEventBoothRuleSet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using System.Text.RegularExpressions;
using UnityEngine;
using UnityEngine.Rendering;
using UnityEditor;
using VitDeck.Language;
using VRC.SDKBase;

Expand Down Expand Up @@ -35,13 +34,6 @@ public override IRule[] GetRules()
lightmapCountLimit: 1,
lightmapResolutionLimit: 256),

new TextureImporterFormatRule("テクスチャ圧縮形式", "Android", new[]
{
TextureImporterFormat.ASTC_6x6,
TextureImporterFormat.ASTC_8x8,
TextureImporterFormat.ASTC_10x10,
}),

////////////////////////////////////////////////////////////////
//// コンポーネント ////
////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit 5f7e6b9

Please sign in to comment.