void Awake() { if (!i) { i = this; DontDestroyOnLoad(gameObject); } else { Destroy(gameObject); } }
void Start() { _mainTcp = GetComponentInParent <MainTCPConnection>(); }