using System; using System.IO; using GaiaCommon1; namespace Gaia { [Serializable] public class ScriptableObjectWrapper { public string m_name; public string m_fileName; public byte[] m_content; public string GetSessionedFileName(string sessionName) { return GaiaCommon1.Utils.FixFileName(sessionName) + "_" + Path.GetFileName(m_fileName); } public static string GetSessionedFileName(string sessionName, string soFileName) { return GaiaCommon1.Utils.FixFileName(sessionName) + "_" + Path.GetFileName(soFileName); } } }