public static T_Type createObject <T_Type>(T_Type inObject, Transform inTransform) where T_Type : Component { T_Type theObject = createObject <T_Type>(inObject); XMath.assignTransform(theObject.transform, inTransform); return(theObject); }