ant+和http组件bug修复
This commit is contained in:
1 parent
f7b33bf491
commit
48c5b161b1
29 files changed
+3526
-2755
No files matched your search
@@ -10,6 +10,7 @@ using System.Collections.Generic;
|
||||
using UnityEngine.EventSystems;
|
||||
using UnityEngine.SceneManagement;
|
||||
using System.Collections;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Assets.Scenes.Ride.Scripts
|
||||
{
|
||||
@@ -175,10 +176,10 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
void StartRide(BaseEventData baseEvent)
|
||||
{
|
||||
var checkAnt = cyclingController.CheckAnt();
|
||||
//#if UNITY_EDITOR
|
||||
// checkAnt = true;
|
||||
//#endif
|
||||
if (!checkAnt)
|
||||
#if UNITY_EDITOR
|
||||
checkAnt = true;
|
||||
#endif
|
||||
if (!checkAnt)
|
||||
{
|
||||
var alert = (GameObject)Instantiate(Resources.Load("UI/Prefab/Ride/Alert"), panel.transform);
|
||||
alert.SetActive(true);
|
||||
@@ -186,6 +187,7 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
else
|
||||
{
|
||||
cyclingController.ReSetUIManager();
|
||||
cyclingController.GoContinueRide();
|
||||
//启用ridenow
|
||||
canvasGroup.blocksRaycasts = false;
|
||||
depressFlag = true;
|
||||
|
||||
Reference in new issue
Block a user