2013年8月12日月曜日

Unity Tips #34 エディタのPlayモード状態を検知

前回に引き続いて Unify Community からエディタのPlayモード状態を検知に関する Tips の翻訳を紹介する:



http://wiki.unity3d.com/index.php/Tip_of_the_day

Oct 2012

エディタのPlayモード状態を検知

Tip #34 - Detect when editor changes play mode state

UnityエディタがPlayモード状態の変更タイミングを知る必要がある場合は、EditorApplication.playmodeStateChanged コールバックをフックすれば良い。
--------

おっ!これは使えるかも。Unityプログラミングそのものをデモに出来そうだなぁ!

0 件のコメント:

コメントを投稿