Exemplo n.º 1
0
 /// <summary>Draws clippling planes related fields on the inspector</summary>
 /// <param name="p"><see cref="ISerializedCamera"/> The serialized camera</param>
 /// <param name="owner"><see cref="Editor"/> The editor owner calling this drawer</param>
 public static void Drawer_FieldClippingPlanes(ISerializedCamera p, Editor owner)
 {
     CoreEditorUtils.DrawMultipleFields(
         Styles.clippingPlaneMultiFieldTitle,
         new[] { p.baseCameraSettings.nearClippingPlane, p.baseCameraSettings.farClippingPlane },
         new[] { Styles.nearPlaneContent, Styles.farPlaneContent });
 }