loading60%问题,只要加载到第一个瓦片的高度就可以直接骑行
This commit is contained in:
parent
6a0bd67a6e
commit
ed9dc53093
@ -210,13 +210,9 @@ namespace Assets.Scenes.Ride.Scripts
|
|||||||
protected void _map_OnInitialized()
|
protected void _map_OnInitialized()
|
||||||
{
|
{
|
||||||
var visualizer = _map.MapVisualizer;
|
var visualizer = _map.MapVisualizer;
|
||||||
visualizer.OnMapVisualizerStateChanged += (s) =>
|
visualizer.OnTileHeightProcessingFinished += (s) =>
|
||||||
{
|
{
|
||||||
if (s == ModuleState.Finished)
|
AddProcess(40);
|
||||||
{
|
|
||||||
AddProcess(40);
|
|
||||||
Debug.Log($"add 40");
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -12,7 +12,7 @@ namespace Assets.Scripts.UI.Control
|
|||||||
public class PFUIText : PFUIComponentBase
|
public class PFUIText : PFUIComponentBase
|
||||||
{
|
{
|
||||||
public string key;
|
public string key;
|
||||||
private Text text;
|
protected Text text;
|
||||||
|
|
||||||
public string Text
|
public string Text
|
||||||
{
|
{
|
||||||
|
|||||||
@ -7,7 +7,6 @@ using Assets.Scripts;
|
|||||||
|
|
||||||
public class MultiTips:PFUIText
|
public class MultiTips:PFUIText
|
||||||
{
|
{
|
||||||
private Text text;
|
|
||||||
private Button button;
|
private Button button;
|
||||||
private string[] tips { get; set; }
|
private string[] tips { get; set; }
|
||||||
private int currentIndex = 0;
|
private int currentIndex = 0;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user