```
feat(Materials): 更新CoreBattleGround材质贴图和缩放参数
更换了CoreBattleGround材质的主纹理,将纹理GUID从73e4d6cf089824c0cadfcefa5b15d306
更新为c6af6f473739fb546ac7775e5c957da1,并调整纹理缩放参数从{x: 3, y: 4}修改为
{x: 1, y: 1},同时移除了多余的_MetallicGlossMap配置项。
```
This commit is contained in:
1 parent
9658decd6c
commit
c09e15dd0e
369 files changed
+129868
-792
No files matched your search
+24
@@ -0,0 +1,24 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user