feat:场景视图添加属性编辑,添加轮廓显示
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user