// Use this for initialization void Start() { im = GameObject.Find("InfoManager").GetComponent <InfoManager> (); spc = GameObject.Find("SkillManager").GetComponent <SkillPanelCtrl> (); skillNum = im.skillNum; gr = canvas.GetComponent <GraphicRaycaster> (); ped = new PointerEventData(null); Img = GameObject.FindGameObjectWithTag("DragImg").transform; Img.gameObject.SetActive(false); EmptyImg = Img.GetComponent <Image> (); slot = new int[skillNum]; //warriorSlot_pos = new int[skillNum]; //archerSlot_pos = new int[skillNum]; //magicianSlot_pos = new int[skillNum]; //warriorSkill_LV = new int[skillNum]; //archerSkill_LV = new int[skillNum]; //magicianSkill_LV = new int[skillNum]; }
// Use this for initialization void Start() { im = GameObject.Find("InfoManager").GetComponent <InfoManager> (); sctrl = GameObject.Find("SkillManager").GetComponent <SkillPanelCtrl> (); }