备份CatanBuilding瘦身独立工程
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace HeurekaGames.AssetHunterPRO
|
||||
{
|
||||
public static class AH_UIUtilities
|
||||
{
|
||||
public static bool DrawSelectionButton(GUIContent content)
|
||||
{
|
||||
GUIContent btnContent = new GUIContent(content);
|
||||
if (AH_SettingsManager.Instance.HideButtonText)
|
||||
btnContent.text = null;
|
||||
|
||||
return GUILayout.Button(btnContent, GUILayout.MaxHeight(AH_SettingsManager.Instance.HideButtonText ? AH_Window.ButtonMaxHeight * 2f : AH_Window.ButtonMaxHeight));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user