Example #1
0
    public override void Act()
    {
        LocalizedText localization = textMessage.GetComponent <LocalizedText>();

        localization.SetNewKey(key);

        nameItem = localization.GetTextKey();

        textMessage.SetActive(true);

        if (player.GetInteractTrigger())
        {
            Acting();
        }
    }