private void Init() { _nakama = GameObject.Find("nakama").GetComponent <nvpNakamaManager>(); if (_nakama == null) { Debug.LogError("Nakama manager not found"); } _networkPosition = this.transform.position; _timerThreshold = _messageIntervallInMilliseconds / 1000f; }
private void Init() { _nakama = GameObject.Find("nakama").GetComponent <nvpNakamaManager>(); }