private void Start() { if (_gameCamera == null) { Debug.LogError("Где камера, Лебовски?"); _isNotFoundComponent = true; return; } if (_anchor == null) { Debug.LogError("Где якорь, Лебовски?"); _isNotFoundComponent = true; return; } if (_startPlanet == null) { Debug.LogError("Где стартовая планета, Лебовски?"); _isNotFoundComponent = true; return; } if (_spear == null) { Debug.LogError("Где копье, Лебовски?"); _isNotFoundComponent = true; return; } _playerMovement = new PlayerMovement(); _playerMovement.InitialInitialization(transform, _anchor, _startPlanet); _gun = new Gun(_spear, transform); }