public static ProdBalloon Instantiate(ProdBalloon prefab, Transform parent, UISortieShip.Direction iDirection, MapEventItemModel itemModel) { ProdBalloon prodBalloon = Object.Instantiate <ProdBalloon>(prefab); prodBalloon.get_transform().set_parent(parent); prodBalloon.get_transform().localPositionZero(); prodBalloon.get_transform().localScaleZero(); prodBalloon.InitPortBackEo(iDirection, itemModel); return(prodBalloon); }
public static ProdBalloon Instantiate(ProdBalloon prefab, Transform parent, UISortieShip.Direction iDirection, MapEventAirReconnaissanceModel eventAirRecModel, MapEventItemModel eventItemModel) { ProdBalloon prodBalloon = Object.Instantiate <ProdBalloon>(prefab); prodBalloon.get_transform().set_parent(parent); prodBalloon.get_transform().localPositionZero(); prodBalloon.get_transform().localScaleZero(); prodBalloon.InitAirRec(iDirection, eventAirRecModel, eventItemModel); return(prodBalloon); }
public static ProdBalloon Instantiate(ProdBalloon prefab, Transform parent, UISortieShip.Direction iDirection, enumMapEventType iEventType, enumMapWarType iWarType) { ProdBalloon prodBalloon = Object.Instantiate <ProdBalloon>(prefab); prodBalloon.get_transform().set_parent(parent); prodBalloon.get_transform().localPositionZero(); prodBalloon.get_transform().localScaleZero(); prodBalloon.InitText(iDirection, iEventType, iWarType); return(prodBalloon); }