Inheritance: UnityEngine.MonoBehaviour
Example #1
0
 public void Start()
 {
     socket = gameObject.AddComponent <EmulatorClientSocket>();
     socket.Init(this);
     emulatorUpdate = EndOfFrame();
     StartCoroutine(emulatorUpdate);
 }
Example #2
0
 public void Awake()
 {
     if (instance == null)
     {
         instance = this;
     }
     if (instance != this)
     {
         Debug.LogWarning("PhoneRemote must be a singleton.");
         enabled = false;
         return;
     }
     socket = gameObject.AddComponent <EmulatorClientSocket>();
     socket.Init(this);
     StartCoroutine("EndOfFrame");
 }
 public void Awake()
 {
     if (instance == null) {
     instance = this;
       }
       if (instance != this) {
     Debug.LogWarning("PhoneRemote must be a singleton.");
     enabled = false;
     return;
       }
       socket = gameObject.AddComponent<EmulatorClientSocket>();
       socket.Init(this);
       StartCoroutine("EndOfFrame");
 }
Example #4
0
 public void Start()
 {
     socket = gameObject.AddComponent<EmulatorClientSocket>();
       socket.Init(this);
       StartCoroutine("EndOfFrame");
 }