void Update() { СheckOutput(); KeyboardController(); if (!camera.IsPlay()) { DestroyPlayer(); } if (transform.parent != null) { camera.SideMove(); } }