chore(bridge): 删除桥接包的提交记录和Git属性配置 删除了 .codely-bridge-commit 文件中存储的提交哈希值 移除了 .gitattributes 文件中的行结束符配置规则 ```
13 lines
325 B
C#
13 lines
325 B
C#
#if UNITY_EDITOR_WIN || UNITY_EDITOR_OSX
|
|
namespace Cn.Tuanjie.Codely.Editor
|
|
{
|
|
public static class WindowResourcePreservationPolicy
|
|
{
|
|
public static bool ShouldPreserveSharedResources(bool detachMode, int liveWindowCount)
|
|
{
|
|
return detachMode || liveWindowCount > 1;
|
|
}
|
|
}
|
|
}
|
|
#endif
|