void Awake()
        {
            Instance        = this;
            playerBodyLayer = CharacterSettings.instance.PlayerBodyLayer;

            releasingCondition = (item, slotIndex) => player.TrySpendMoney((int)(item.price * 1.5f * discountModifier));
        }
Esempio n. 2
0
        void Start()
        {
            //Reference
            player = PlayerController.Instance;

            landingInterface  = GreetingsInterfaceController.Instance;
            dialogueInterface = DialogueInterfaceController.Instance;
            shopInterface     = Inventory_Shop.Instance;
            questInterface    = QuestInterfaceController.Instance;
        }