Init() public method

public Init ( EmulatorManager remote ) : void
remote EmulatorManager
return void
Esempio n. 1
0
 public void Start()
 {
     socket = gameObject.AddComponent <EmulatorClientSocket>();
     socket.Init(this);
     emulatorUpdate = EndOfFrame();
     StartCoroutine(emulatorUpdate);
 }
Esempio n. 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");
 }
Esempio n. 4
0
 public void Start()
 {
     socket = gameObject.AddComponent<EmulatorClientSocket>();
       socket.Init(this);
       StartCoroutine("EndOfFrame");
 }