Upgrade to Pro — share decks privately, control downloads, hide ads and more …

広告ネイティブプラグインの辛かった話しよっか

 広告ネイティブプラグインの辛かった話しよっか

2015/12/05(土)【年末だよ】 Unity お・と・なのLT大会【ポロリしてもいいのよ】

の発表資料です。
ほぼ、そのままですが、関連資料のリンクを追加しました。

RyotaMurohoshi

December 05, 2015
Tweet

More Decks by RyotaMurohoshi

Other Decks in Technology

Transcript

  1. Unity͕ͭ͘Δyourgame.packagename.RΫϥε package your_game.package_name; public final class R { /*தུ*/ public

    static final class layout { public static final int activity_plugin_x=0x7f030000; } /*தུ*/ } ωΠςΟϒϓϥάΠϯͷϨΠΞ΢τXMLϑΝΠϧͷIDؚ͕·ΕΔɻ஋͸ɺ0x7f030000
  2. Unity͕ͭ͘Δyourgame.packagename.RΫϥε package your_game.package_name; public final class R { /*தུ*/ public

    static final class layout { public static final int activity_plugin_x=0x7f030000; public static final int activity_plugin_y=0x7f030001; } /*தུ*/ } ac#vity_plugin_x͸0x7f030000ɺac#vity_plugin_x͸0x7f030001
  3. μϝͳωΠςΟϒϓϥάΠϯͷjarͷதͷAc&vityͷྫ(Java) package com.mrstar.pluginy; /*தུ*/ public class PluginYActivity extends Activity {

    @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_plugin_y); // ͕͜͜΍͹͍ʂʂʂ /*தུ*/ } }
  4. Unity͕ͭ͘Δyourgame.packagename.RΫϥε(࠶ܝ) package your_game.package_name; public final class R { /*தུ*/ public

    static final class layout { public static final int activity_plugin_x=0x7f030000; public static final int activity_plugin_y=0x7f030001; } /*தུ*/ } ac#vity_plugin_x͸0x7f030000ɺac#vity_plugin_x͸0x7f030001