public TextAnimation Push(Transform attach_transform, float text_offset, string text, eTextPushType push_type, float scale, float add_position) { switch (push_type) { case eTextPushType.Critical: case eTextPushType.CriticalDot: text = "CRITICAL\n" + text; break; } TextAnimation new_obj = GetFree(attach_transform); new_obj.Init(attach_transform, text_offset, text, push_type, scale, add_position); AddList(attach_transform, new_obj); return(new_obj); }