public static LW_Collider Create(ColliderType colliderType = ColliderType.Polygon) { LW_Collider instance = CreateInstance <LW_Collider>(); instance.Set(colliderType); return(instance); }
internal override void CopyPropertiesFrom(LW_Element element) { LW_Collider collider = element as LW_Collider; if (collider != null) { m_ColliderType = collider.m_ColliderType; } base.CopyPropertiesFrom(element); }