// // Copyright (c) 2017 Anthony Marmont. All rights reserved. // Licensed for use under the Unity Asset Store EULA. See https://unity3d.com/legal/as_terms for full license information. // #pragma warning disable namespace AssetIcons { /// /// An enum that represents camera projections when rendering Prefabs. /// /// /// The accepts an for styling. /// accepts a "color" for styling. /// Below is an example of the being to force graphics to stretch across the icon area. /// /// using AssetIcons; /// using UnityEngine; /// /// [CreateAssetMenu(menuName = "Item")] /// public class Item : ScriptableObject /// { /// [AssetIcon(projection: IconProjection.Orthographic)] /// public GameObject ItemIcon { get; } /// } /// /// /// /// public enum IconProjection { /// /// Represents a perspective camera projection. /// /// /// This is the default value for the styling of . /// /// Perspective, /// /// Represents an orthographic camera projection. /// /// Orthographic } } #pragma warning restore