コード例 #1
0
    public void Init(MonoGameManager manager)
    {
        _gameManager = manager;
        Instance     = this;

        _finalSound       = gameObject.AddComponent <StudioEventEmitter>();
        _finalSound.Event = "event:/vr_boot";

        itemRegistry = new ItemRegistry();
        foreach (var item in allItemConfig.items)
        {
            itemRegistry.Add(item);
        }

        AllItems.Init(itemRegistry);
    }