/// <summary>
 /// Creates a <see cref="VolumeProfile"/> Asset and saves it in a folder next to the Scene.
 /// </summary>
 /// <param name="scene">The Scene to save the Profile next to.</param>
 /// <param name="targetName">A name to use for the Asset filename.</param>
 /// <returns>The newly created <see cref="VolumeProfile"/>.</returns>
 public static VolumeProfile CreateVolumeProfile(Scene scene, string targetName)
 {
     return(CoreEditorUtils.CreateAssetAt <VolumeProfile>(scene, targetName));
 }
Example #2
0
 internal static LensFlareDataSRP CreateLensFlareDataSRPAsset(Scene scene, string targetName)
 {
     return(CoreEditorUtils.CreateAssetAt <LensFlareDataSRP>(scene, targetName));
 }