Example #1
0
    public void Interact(WorldSpaceCallout callout, int characterSaveSlot)
    {
        string test = (m_End ? "to the next level!" : "back to hub world!");

        Debug.LogFormat("Teleport {0}", test);

        Unhighlight(callout);
    }
Example #2
0
 public void Highlight(WorldSpaceCallout callout)
 {
     if (!m_Used)
     {
         callout.Setup(m_CalloutSprite, m_CalloutText);
         callout.Show(true);
     }
 }
Example #3
0
    public void Interact(WorldSpaceCallout callout, int characterSaveSlot)
    {
        if (!m_Used)
        {
            VSEventManager.Instance.TriggerEvent(new GameEvents.DoorSwitchPressedEvent(m_DoorRoomID));
            m_Used = true;

            Unhighlight(callout);
        }
    }
Example #4
0
 public void Unhighlight(WorldSpaceCallout callout)
 {
     callout.Show(false);
 }
Example #5
0
    public void Interact(WorldSpaceCallout callout, int characterSaveSlot)
    {
        VSEventManager.Instance.TriggerEvent(new GameEvents.UpdateInventoryEvent(m_Item, 1, characterSaveSlot, AddedItemResult));

        Unhighlight(callout);
    }