facebook twitter hatena line email

「Unity/tinyモード」の版間の差分

提供: 初心者エンジニアの簡易メモ
移動: 案内検索
行12: 行12:
 
==インストール後、なぜかエラー==
 
==インストール後、なぜかエラー==
 
Library/PackageCache/com.unity.tiny@0.14.5-preview/Editor/Export/TinyAssetExporter.cs(712,38): error CS1061: 'TMP_FontAsset' does not contain a definition for 'characterDictionary' and no accessible extension method 'characterDictionary' accepting a first argument of type 'TMP_FontAsset' could be found (are you missing a using directive or an assembly reference?)
 
Library/PackageCache/com.unity.tiny@0.14.5-preview/Editor/Export/TinyAssetExporter.cs(712,38): error CS1061: 'TMP_FontAsset' does not contain a definition for 'characterDictionary' and no accessible extension method 'characterDictionary' accepting a first argument of type 'TMP_FontAsset' could be found (are you missing a using directive or an assembly reference?)
 +
 +
参考:https://forum.unity.com/threads/i-have-a-problem-with-tiny-unity.665527/
 +
 +
の一番下にあるように書き換えるとうまくいった。

2019年7月23日 (火) 18:22時点における版

tinyモードインストール

Unity 2018.3.0.b12以上らしい。

2019.1.6f1にはあった。

  1. unityメニュー/window/PackageManager
  2. 上のadvancedタブを選択し、showPreviewPackages選択
  3. TinyModeがあるのでinstallする

2019/7/23時点だとversionは0.14.5でした。

インストール後、なぜかエラー

Library/PackageCache/com.unity.tiny@0.14.5-preview/Editor/Export/TinyAssetExporter.cs(712,38): error CS1061: 'TMP_FontAsset' does not contain a definition for 'characterDictionary' and no accessible extension method 'characterDictionary' accepting a first argument of type 'TMP_FontAsset' could be found (are you missing a using directive or an assembly reference?)

参考:https://forum.unity.com/threads/i-have-a-problem-with-tiny-unity.665527/

の一番下にあるように書き換えるとうまくいった。