public void ExtractPlayerRuntimeInitializeOnLoadMethods(string jsonPath) { m_DirectoryIO.CreateDirectory(jsonPath); var path = Path.Combine(BuildPlayerDataGenerator.OutputPath, "Player"); var sourceRuntimeInitializeOnLoads = Path.Combine(path, "RuntimeInitializeOnLoads.json"); if (!m_DirectoryIO.Exists(path) || !m_FileIO.Exists(sourceRuntimeInitializeOnLoads)) { return; } m_FileIO.Copy(sourceRuntimeInitializeOnLoads, Path.Combine(jsonPath, "RuntimeInitializeOnLoads.json"), true); }