void PickupSword() { Debug.Log("Picking up a new sword"); var scene = ActorSceneUtility.CreateSceneWithAvatar(pickupSwordScene.gameObject, characterAvatar); scene.endOfSceneNotification += OnPickupSwordSceneEnded; // swordNotifications.PauseTimer(); if (sword != null) { sword.IsPaused(true); } scene.PlayScene(characterAvatar.playerNotifications); }