religion/Assets/Fungus/Scripts/Editor/SolutionFileFixer.cs
Roman aa6e1ebe90 任务:创建项目,引入部分将会用到的插件和包
1.引入URP
2.引入InputSystem
3.引入Fungus
4.引入DoTween
5.引入CinemaMachine
6.引入BehaviorTree
7.引入BehaviorTree动作包
8.配置了渲染管线资源

🥵🥵🥵🥵🥵
2021-11-21 15:14:51 +08:00

17 lines
628 B
C#

using UnityEditor;
#if UNITY_2019_3_12
namespace Fungus.EditorUtils
{
//fix for a bug introduced in unity 2019.3.12 that prevents cross asmdef references from showing
// doco and code hinting correctly in vs2019
// https://forum.unity.com/threads/2019-3-12f1-build-errors.880312/
public class SolutionFileFixer : AssetPostprocessor
{
private static string OnGeneratedCSProject(string path, string content)
{
return content.Replace("<ReferenceOutputAssembly>false</ReferenceOutputAssembly>", "<ReferenceOutputAssembly>true</ReferenceOutputAssembly>");
}
}
}
#endif