public override void PathObjectEarned(AdventurePath callSource, Puzzle puzzle) { SegmentCompleted(puzzle); if (callSource.attainedItem) { Debug.Log("Jeremy Path do a thing"); } }
//When Path activated event invoked public void PathActivated(AdventurePath piece) { if (!wasDisplayed) { titleText.text = piece.pathTag + "'s Adventure"; titleHolder.SetActive(true); displayTimer.Run(); } }
//Action when path object aka segment completed public abstract void PathObjectEarned(AdventurePath callSource, Puzzle puzzle);