feat:场景视图添加属性编辑,添加轮廓显示

This commit is contained in:
m0_75251201
2025-11-13 16:24:49 +08:00
parent 9b91218973
commit 8fcbdc5649
95 changed files with 2836 additions and 445 deletions

View File

@@ -45,11 +45,26 @@ namespace UIFrame
/// 设置标题图片游戏中的启动界面Logo
/// </summary>
/// <param name="sprite">贴图</param>
/// <returns>返回false表示函数调用时设置失败之后会自动再次尝试设置</returns>
/// <returns></returns>
public static bool SetGameTitle(Sprite sprite)
{
return _apiComponent&&_apiComponent.SetTitleImage(sprite);
}
public static bool SetGameTitlePosition(Vector3 position)
{
return _apiComponent && _apiComponent.SetTitlePosition(position);
}
public static bool SetGameTitleText(string text)
{
return _apiComponent && _apiComponent.SetTitleText(text);
}
public static bool SetGameTitleTextPosition(Vector3 position)
{
return _apiComponent&&_apiComponent.SetTitleTextPosition(position);
}
/// <summary>
/// 加载图片文件为Texture2D
@@ -97,4 +112,6 @@ namespace UIFrame
}
}
}