using System; using System.Collections; using System.Collections.Generic; using UnityEngine; /// /// Creates build logs that need to be seen at runtime. /// [Serializable] public class PackedPlayModeBuildLogs { /// /// A container for build logs that need to be seen at runtime. /// [Serializable] public struct RuntimeBuildLog { /// /// The type of log being stored. This will determine how the message is portrayed at runtime. /// public LogType Type; /// /// The contents of the build log. /// public string Message; /// /// Create a container for build logs that need to be seen at runtime. /// /// The type of log. /// The message to be logged. public RuntimeBuildLog(LogType type, string message) { Type = type; Message = message; } } [SerializeField] List m_RuntimeBuildLogs = new List(); /// /// List of logs that need to appear in the runtime that was generated by the build. /// public List RuntimeBuildLogs { get { return m_RuntimeBuildLogs; } set { m_RuntimeBuildLogs = value; } } }