// Curved World // Copyright (c) Amazing Assets using System; using UnityEngine; namespace AmazingAssets.CurvedWorld.Editor.Manual { public class Manual : ScriptableObject { public enum URLType { OpenPage, MailTo } public Texture2D icon; public Section[] sections; [Serializable] public class Section { public string heading, text, linkText, url; public URLType urlType; public Section() { } public Section(string heading, string text, string linkText, string url, URLType urlType = URLType.OpenPage) { this.heading = heading; this.text = text; this.linkText = linkText; this.url = url; this.urlType = urlType; } } } }