public void Start() { socket = gameObject.AddComponent<EmulatorClientSocket>(); socket.Init(this); emulatorUpdate = EndOfFrame(); StartCoroutine(emulatorUpdate); }