Exemplo n.º 1
0
 public void OnStart()
 {
     m_hud.SetObjectiveLabel("Catch a fish thiiiiis big");
     m_storyHud.m_storyText.text      = m_storyText;
     m_storyHud.m_toNotifyOnDismissal = gameObject;
     m_storyHud.m_method = "DoneWithStory";
     m_storyHud.Show();
 }
 public void OnStart()
 {
     m_hud.SetObjectiveLabel("Turn this mother out");
     m_storyHud.m_storyText.text      = m_storyText;
     m_storyHud.m_toNotifyOnDismissal = gameObject;
     m_storyHud.m_method = "DoneWithStory";
     m_storyHud.Show();
 }
 public void ShowReportStory(GameObject caller)
 {
     laptop                      = caller.GetComponent <UseTrigger>();
     laptop.m_usable             = false;
     m_hud.m_storyText.text      = m_storyText;
     m_hud.m_toNotifyOnDismissal = gameObject;
     m_hud.m_method              = "OnStoryClose";
     m_hud.Show();
 }
Exemplo n.º 4
0
 public void OnStart()
 {
     StopMotherAttacking(true);
     StopDeathCodAttacking(true);
     m_hud.SetObjectiveLabel("Become the bait");
     m_storyHud.m_storyText.text      = m_storyText;
     m_storyHud.m_toNotifyOnDismissal = gameObject;
     m_storyHud.m_method = "DoneWithStory";
     m_storyHud.Show();
 }
Exemplo n.º 5
0
    public void ShowStory(GameObject caller)
    {
        var player = GameObject.FindGameObjectWithTag("Player").GetComponent <Player>();

        player.m_pauseInput = true;
        laptop                      = caller.GetComponent <UseTrigger>();
        laptop.m_usable             = false;
        m_hud.m_storyText.text      = m_storyText;
        m_hud.m_toNotifyOnDismissal = gameObject;
        m_hud.m_method              = "OnStoryClose";
        m_hud.Show();
    }
Exemplo n.º 6
0
 void Start()
 {
     m_time    = 0.0f;
     m_barrels = new List <Barrel>();
     m_fish    = new List <GameObject>();
     SpawnCountInAreas(m_numBarrels, m_spawns);
     m_storyHUD.Show();
     if (!PlayerPrefs.HasKey("y-axis-invert"))
     {
         PlayerPrefs.SetInt("y-axis-invert", 1);
         PlayerPrefs.Save();
     }
 }