public static UITacticalSituation Instantiate(UITacticalSituation prefab, Transform parent, BattleManager manager) { UITacticalSituation uITacticalSituation = Object.Instantiate <UITacticalSituation>(prefab); uITacticalSituation.get_transform().set_parent(parent); uITacticalSituation.get_transform().localScaleOne(); uITacticalSituation.get_transform().localPositionZero(); uITacticalSituation.VirtualCtor(manager); return(uITacticalSituation); }
public static UITacticalSituation Instantiate(UITacticalSituation prefab, Transform parent, BattleManager manager) { UITacticalSituation uITacticalSituation = UnityEngine.Object.Instantiate(prefab); uITacticalSituation.transform.parent = parent; uITacticalSituation.transform.localScaleOne(); uITacticalSituation.transform.localPositionZero(); uITacticalSituation.VirtualCtor(manager); return(uITacticalSituation); }