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); }
public void Highlight(WorldSpaceCallout callout) { if (!m_Used) { callout.Setup(m_CalloutSprite, m_CalloutText); callout.Show(true); } }
public void Interact(WorldSpaceCallout callout, int characterSaveSlot) { if (!m_Used) { VSEventManager.Instance.TriggerEvent(new GameEvents.DoorSwitchPressedEvent(m_DoorRoomID)); m_Used = true; Unhighlight(callout); } }
public void Unhighlight(WorldSpaceCallout callout) { callout.Show(false); }
public void Interact(WorldSpaceCallout callout, int characterSaveSlot) { VSEventManager.Instance.TriggerEvent(new GameEvents.UpdateInventoryEvent(m_Item, 1, characterSaveSlot, AddedItemResult)); Unhighlight(callout); }