2d-extras 5.0.0で、AutoTileがSpriteのランダム表示できるようになりました。
なお、2d-extras 5.0.0はUnity 6.2以降に対応しています。
リリースノートはこちら。
[AutoTile] Add Random property. AutoTile randomly picks a Sprite if multiple Sprites share the same mask. Otherwise, uses the first Sprite set with the mask.
次のスクリーンショットのように、2d-extras 5.0.0ではAutoTileのインスペクターに「Randomチェックボックス」が追加されています。
2d-extras 4.3.0(Unity 6.1) | 2d-extras 5.0.0(Unity 6.2) |
---|---|
![]() |
![]() |
このRandomチェックボックスを有効にすると、複数のSpriteに同一ルールを設定した際、Spriteをランダムに表示できるようになります。
関連