mirror of
https://github.com/tym1116/BH3.git
synced 2026-03-29 03:52:37 +02:00
Fix UI Shader
This commit is contained in:
@@ -283,7 +283,7 @@ namespace MoleMole
|
||||
BaseMonoCanvas sceneCanvas = Singleton<MainUIManager>.Instance.SceneCanvas;
|
||||
if (!(sceneCanvas == null))
|
||||
{
|
||||
Transform transform = sceneCanvas.transform.FindChild(scrollUIPath);
|
||||
Transform transform = sceneCanvas.transform.Find(scrollUIPath);
|
||||
if (!(transform == null) && transform.gameObject.activeInHierarchy && !(transform.GetComponent<ScrollRect>() == null))
|
||||
{
|
||||
MonoGridScroller component = transform.GetComponent<MonoGridScroller>();
|
||||
@@ -466,7 +466,7 @@ namespace MoleMole
|
||||
{
|
||||
return false;
|
||||
}
|
||||
Transform transform = sceneCanvas.transform.FindChild(targetUIPath);
|
||||
Transform transform = sceneCanvas.transform.Find(targetUIPath);
|
||||
if (transform == null)
|
||||
{
|
||||
return false;
|
||||
@@ -821,7 +821,7 @@ namespace MoleMole
|
||||
if (targetUIPath != string.Empty)
|
||||
{
|
||||
BaseMonoCanvas sceneCanvas = Singleton<MainUIManager>.Instance.SceneCanvas;
|
||||
highlightTrans = sceneCanvas.transform.FindChild(targetUIPath);
|
||||
highlightTrans = sceneCanvas.transform.Find(targetUIPath);
|
||||
}
|
||||
bool disableMask = false;
|
||||
if (tutorialStepData.stepType == 2)
|
||||
|
||||
Reference in New Issue
Block a user