UI换了很多,spine主视觉停用
This commit is contained in:
@@ -160,10 +160,10 @@ public static class SkillTriggerFeedUI
|
||||
{
|
||||
if (HasBoundText()) return;
|
||||
|
||||
GameObject skillRoot = GameObject.Find("score/Skill");
|
||||
GameObject skillRoot = SceneObjectLookupCache.Find("score/Skill");
|
||||
if (skillRoot == null)
|
||||
{
|
||||
var score = GameObject.Find("score");
|
||||
var score = SceneObjectLookupCache.Find("score");
|
||||
if (score == null)
|
||||
{
|
||||
if (!s_warnedMissingScore)
|
||||
@@ -271,7 +271,7 @@ public static class SkillTriggerFeedUI
|
||||
|
||||
private static void TryHideLegacyFeedRoot()
|
||||
{
|
||||
GameObject feed = GameObject.Find("score/Skill");
|
||||
GameObject feed = SceneObjectLookupCache.Find("score/Skill");
|
||||
if (feed != null && feed.activeSelf)
|
||||
feed.SetActive(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user