Ejemplo n.º 1
0
 void OnMouseExit()
 {
     if (mainScript.hotspotsActive)
     {
         //Debug.Log("Exit hostpot " + gameObject.name);
         mainScript.SetCursorInactive();
     }
 }
 void disableInteaction()
 {
     mainScript.hotspotsActive = false;
     mainScript.SetCursorInactive();
 }