Ejemplo n.º 1
0
    public void AddArtifact(Artifact artifact)
    {
        team.AddNewArtifact(artifact);
        artifactReward = false;

        PlayerPrefs.SetInt("continued", 1);
        PlayerPrefs.Save();

        gc.EndGame(); // smooth transition here
    }
Ejemplo n.º 2
0
    public void AddArtifactToTeam(Artifact art)
    {
        Team team = FindObjectOfType <Team>();

        team.AddNewArtifact(art);
    }