Esempio n. 1
0
 void OnMouseDown()
 {
     if (SensesGameManager.GetInstance().gameStarted)
     {
         SensesGameManager.GetInstance().CheckSense(this.gameObject);
     }
 }
Esempio n. 2
0
//	public AudioClip waterTip;

    void Awake()
    {
        if (instance == null)
        {
            instance = this;
        }
        else if (instance != this)
        {
            Destroy(gameObject);
        }

        difficultyLevel = GameManager.GetInstance().GetLevel("MonsterSenses");

        sensesSetup = new Dictionary <int, int>()
        {
            { 1, 2 },
            { 2, 3 },
            { 3, 4 },
            { 4, 4 },
            { 5, 4 }
        };
    }