public static GUIMonsterIcon MakeQuestionPrefab(Vector3 vScl, Vector3 vPos, int depth, Transform parent) { GameObject gameObject = GUIManager.LoadCommonGUI("ListParts/ListPartsThumbnail", null); gameObject.SetActive(true); GUIMonsterIcon component = gameObject.GetComponent <GUIMonsterIcon>(); component.transform.parent = parent; component.transform.localScale = vScl; component.transform.localPosition = vPos; DepthController.SetWidgetDepth_Static(component.transform, depth); component.SetQuestionIcon(); return(component); }