Example #1
0
    private void Start()
    {
        testObject = GetComponentInChildren <TestObject>();

        tutorialArea = GetComponentInParent <TutorialArea>();
        pointer      = FindObjectOfType <TutorialPointer>();

        InitButtons();
    }
Example #2
0
    public void MoveArrow()
    {
        TutorialArea nextArea = playerCurrentlyInArea.NextArea;

        if (nextArea != null)
        {
            ArrowVisible(true);
            transform.position = nextArea.transform.position;
            arrowInArea        = nextArea;
            Debug.Log("Moving arrow to area: " + nextArea.AreaName);
        }
    }
Example #3
0
    // please write what it does

    public static void ActivateQuestCompletionAction(string id)
    {
        switch (id)
        {
        case "Slay the Gators":
        {
            UIEventHandler.MoneyAdded(100);
            PlayerLevel.ExpAdded(50);
            TutorialArea.questComplete = true; TutorialArea.OpenHometownWarp(); break;
        }         // finsh tutorial quest to open up hometown portal
        }
    }
Example #4
0
 public void PlayerInArea(TutorialArea area)
 {
     Debug.Log("Report from area: " + area);
     playerCurrentlyInArea = area;
     MoveArrow();
 }
Example #5
0
 protected virtual void Awake()
 {
     tutorialArea = GetComponentInParent <TutorialArea>();
 }