private static void GetPathFromLocation() { ScriptsPathData data = ToolCacheManager.GetCacheObject <ScriptsPathData>(PathManager.FrameScriptDataPath + m_DataName); m_ViewPath = data.ViewPath; m_MediatorPath = data.MediatorPath; }
private static void GetPathFromLocation() { ScriptsPathData data = ToolCacheManager.GetCacheObject <ScriptsPathData>(PathManager.StrangeIOCDataPath); m_ViewPath = data.ViewPath; m_MediatorPath = data.MediatorPath; }
private void SavePathToLocation() { ScriptsPathData data = new ScriptsPathData(); data.ViewPath = m_ViewPath; data.MediatorPath = m_MediatorPath; ToolCacheManager.SaveCacheObject(PathManager.StrangeIOCDataPath, data); }
private void SavePathToLocation() { Directory.CreateDirectory(PathManager.FrameScriptDataPath); ScriptsPathData data = new ScriptsPathData(); data.ViewPath = m_ViewPath; data.MediatorPath = m_MediatorPath; ToolCacheManager.SaveCacheObject(PathManager.FrameScriptDataPath + m_DataName, data); }