Example #1
0
    public void Click()
    {
        GameObject mainGameObject = GameObject.FindGameObjectWithTag("GameController");

        if (mainGameObject != null)
        {
            game = mainGameObject.GetComponent <AdventureGame>();
        }

        game.FlipHintMarker();
    }