コード例 #1
0
    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);
    }