/// <summary> /// Create the specified start and end. /// </summary> /// <param name="start">Start.</param> /// <param name="end">End.</param> public static LW_Line Create(Vector2 start = default(Vector2), Vector2 end = default(Vector2)) { LW_Line instance = CreateInstance <LW_Line>(); instance.Set(start, end); return(instance); }
internal override void CopyPropertiesFrom(LW_Element element) { LW_Line line = element as LW_Line; if (line != null) { m_Start = line.m_Start; m_End = line.m_End; } base.CopyPropertiesFrom(element); }