private void AddHeroToMapReal(HeroCard _heroCard, int _pos) { MapUnit mapUnit = mapUnitDic [_pos]; _heroCard.SetFrameVisible(false); _heroCard.transform.SetParent(heroContainer, false); _heroCard.transform.localPosition = mapUnit.transform.localPosition; // _heroCard.transform.localPosition = Vector3.zero; _heroCard.transform.localScale = new Vector3(heroScale, heroScale, heroScale); _heroCard.SetMouseEnable(false); }