public void ResetAll() { SoundManager.soundManager.ResetSounds(); stats.ResetPlayerStats(); stats.GetComponent <DetectPlayerCollision>().ResetDetectCollisions(); cameraFollow.CameraFollowReset(); stats.GetComponent <MovePlayer>().ResetMovePlayer(); Pooling.pooling.ResetPooling(); obstacleManager.ResetObstacleManager(); ResetGameplaymanager(); }