Пример #1
0
 public void PreviewMinion(string objType)
 {
     preview = characterGraphicController.GetPreviewCharacter(objType);
     preview.transform.SetParent(this.transform, true);
     //grab the script that is sitting on the preview
     previewController = preview.GetComponent <PreviewController>();
     previewController.isPreviewing = true;
     isPreviewing = true;
 }