消息点问题
This commit is contained in:
parent
c5fb7b93a3
commit
68071a95f6
@ -107,6 +107,10 @@ public class MainNav : MonoBehaviour
|
|||||||
// Update is called once per frame
|
// Update is called once per frame
|
||||||
void Update()
|
void Update()
|
||||||
{
|
{
|
||||||
|
if (App.hasNotRead != transform.Find("Mail/Dot").gameObject.activeInHierarchy)
|
||||||
|
{
|
||||||
|
ShowMailDot(App.hasNotRead, null);
|
||||||
|
}
|
||||||
#if UNITY_ANDROID || UNITY_IOS
|
#if UNITY_ANDROID || UNITY_IOS
|
||||||
if (delayTime < 0)
|
if (delayTime < 0)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -277,6 +277,10 @@ public class NewMainNav : MonoBehaviour
|
|||||||
// Update is called once per frame
|
// Update is called once per frame
|
||||||
void Update()
|
void Update()
|
||||||
{
|
{
|
||||||
|
if (App.hasNotRead != transform.Find("Mail/Dot").gameObject.activeInHierarchy)
|
||||||
|
{
|
||||||
|
ShowMailDot(App.hasNotRead, null);
|
||||||
|
}
|
||||||
if (Input.touchCount > 0)
|
if (Input.touchCount > 0)
|
||||||
{
|
{
|
||||||
isTouch = true;
|
isTouch = true;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user