Beispiel #1
0
    void Update()
    {
        if (Input.GetKeyDown(KeyCode.O))
        {
            SaveManager.SaveGame();
        }
        else if (Input.GetKeyDown(KeyCode.P))
        {
            SaveManager.LoadGame();
        }

        if (Input.GetKeyDown(KeyCode.J))
        {
            Debug.Log(req.CanFulfillRequirements(player));
        }
    }
Beispiel #2
0
 public bool CanFulfillRequirements(GameObject user)
 {
     return(connectingDialogue && requirements.CanFulfillRequirements(user));
 }