修改细节
This commit is contained in:
1 parent
79849bd537
commit
e87429d528
13 files changed
+1308
-1234
No files matched your search
@@ -196,7 +196,10 @@ public class MapItem : MonoBehaviour, IPointerExitHandler, IPointerEnterHandler,
|
||||
//SetActive4Button(false);
|
||||
SetColor(false);
|
||||
#else
|
||||
transform.Find("Shadow").GetComponent<Image>().DOFade(0, 0.3f);
|
||||
if (!isModal)
|
||||
{
|
||||
transform.Find("Shadow").GetComponent<Image>().DOFade(0, 0.3f);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
public void OnPointerEnter(PointerEventData eventData)
|
||||
@@ -213,7 +216,10 @@ public class MapItem : MonoBehaviour, IPointerExitHandler, IPointerEnterHandler,
|
||||
//SetActive4Button(true);
|
||||
SetColor(true);
|
||||
#else
|
||||
transform.Find("Shadow").GetComponent<Image>().DOFade(1, 0.3f);
|
||||
if (!isModal)
|
||||
{
|
||||
transform.Find("Shadow").GetComponent<Image>().DOFade(1, 0.3f);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
void SetActive4Button(bool b)
|
||||
|
||||
Reference in new issue
Block a user