エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
MonoBehaviourを継承していないクラスでStartCoroutineを使う - Qiita
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
MonoBehaviourを継承していないクラスでStartCoroutineを使う - Qiita
using UnityEngine; using System.Collections; /// <summary> /// This class allows us to start Coro... using UnityEngine; using System.Collections; /// <summary> /// This class allows us to start Coroutines from non-Monobehaviour scripts /// Create a GameObject it will use to launch the coroutine on /// </summary> public class CoroutineHandler : MonoBehaviour { static protected CoroutineHandler m_Instance; static public CoroutineHandler instance { get { if(m_Instance == null) { GameObject o = new G