忍者AdMaxがUnityに対応

サムライファクトリーのSSP(Supply Side Platform)がUnityにも対応しました。

Unity製アプリに最速で広告を実装
忍者AdMaxを始める (adf.shinobi.jp)

Unityでのアプリ広告掲載フローは以下の通りです。

  1. 忍者ツールズに新規ユーザー登録後、忍者AdMaxのサービスを追加
  2. AdMaxSDK Unity Pluginをインポートして、Prefabを追加

AdMaxSDK.unitypackageは以下のページからダウンロード可能です。

GitHub – ninjatools/admax-unity-plugin: AdMaxSDKをUnityで簡単に使えるようにしたプラグインです。
https://github.com/ninjatools/admax-unity-plugin (配布終了しました → 関連記事

Unityアプリだけでなく、ブログやホームページでの広告にも対応しています。

GoogleのAdMob/AdSenseと比べても手続きが簡単なので、とりあえず登録&試してみてもいいかなと思います。


忍者AdMaxでアプリのマネタイズ

UnityのMaterialのTilingやOffsetの値をスクリプトから変更する方法

SetTextureOffsetSetTextureScaleを使うことで、MaterialのTilingやOffsetの値を変更できるようです。

使い方は次のような感じです。

Renderer renderer = GetComponent<Renderer> ();

Vector2 offset = new Vector2(...);
Vector2 scale = new Vector2(...);

renderer.material.SetTextureOffset("_MainTex", offset);
renderer.material.SetTextureScale("_MainTex", scale);
renderer.material.SetTextureOffset("_BumpMap", offset);
renderer.material.SetTextureScale("_BumpMap", scale);

リンク

How to change Tiling / Offset of all generated Textures by script?
https://forum.allegorithmic.com/index.php?topic=3077.0

Unity 2017.3

Unity 2017.3がリリースされました。

Unity – What’s new in Unity 2017.3
https://unity3d.com/unity/whats-new/unity-2017.3.0

VR/AR関連、Graphics関連、Particles関連等の機能追加や実装改善が行われているとのこと。

ブログでも内容が紹介されています。

Unity 2017.3がリリースされました! – Unity Blog
https://blogs.unity3d.com/jp/2017/12/19/unity-2017-3-is-here/