Exemplo n.º 1
0
 private void ShowDialog(DialogFerma dialogFermaPrefab, FermaLocationPlace place)
 {
     if (dialogFermaShown)
     {
         return;
     }
     dialogFermaShown = true;
     dialogFerma      = Instantiate(dialogFermaPrefab) as DialogFerma;
     dialogFerma.SetFermaLocationPlace(place);
     dialogFerma.singleTransform.localPosition = Vector3.zero;
     dialogFerma.Show();
 }