feat(Materials): 更新CoreBattleGround材质贴图和缩放参数
更换了CoreBattleGround材质的主纹理,将纹理GUID从73e4d6cf089824c0cadfcefa5b15d306
更新为c6af6f473739fb546ac7775e5c957da1,并调整纹理缩放参数从{x: 3, y: 4}修改为
{x: 1, y: 1},同时移除了多余的_MetallicGlossMap配置项。
```
25 lines
841 B
C#
25 lines
841 B
C#
using System.IO;
|
|
using UnityEngine;
|
|
|
|
namespace UnityTcp.Editor.Helpers
|
|
{
|
|
// Resolves the handshake file path. Content (unity_port, heartbeat, reason,
|
|
// ...) is owned entirely by the native heartbeat writer — see
|
|
// NativeUnityTcpBridgeHost.StartOrAttach.
|
|
public static class PortManager
|
|
{
|
|
private const string RegistryFileName = ".com-unity-codely.json";
|
|
|
|
private static string GetRegistryDirectory()
|
|
{
|
|
string projectRoot = Directory.GetParent(Application.dataPath)?.FullName ?? Application.dataPath;
|
|
string tempDir = Path.Combine(projectRoot, "Temp");
|
|
Directory.CreateDirectory(tempDir);
|
|
return tempDir;
|
|
}
|
|
|
|
public static string GetRegistryFilePath() =>
|
|
Path.Combine(GetRegistryDirectory(), RegistryFileName);
|
|
}
|
|
}
|