加入很多新内容,这波一块交了
This commit is contained in:
@@ -18,6 +18,7 @@ public class uBehaviourRaderController : MonoBehaviour
|
||||
public URadarChartController radarChartController;
|
||||
public UGUIChartBridge chartBridge;
|
||||
public RankConfig rankConfig;
|
||||
public bool hideWhenOverlayVisible = false;
|
||||
|
||||
[Header("Async")]
|
||||
public bool reloadOnEnable = true;
|
||||
@@ -175,10 +176,20 @@ public class uBehaviourRaderController : MonoBehaviour
|
||||
|
||||
child.gameObject.SetActive(child == target);
|
||||
}
|
||||
|
||||
if (!uRaderObj.activeSelf)
|
||||
{
|
||||
uRaderObj.SetActive(true);
|
||||
}
|
||||
}
|
||||
|
||||
private void BindOverlayVisibility()
|
||||
{
|
||||
if (!hideWhenOverlayVisible)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (overlaySubscribed)
|
||||
{
|
||||
return;
|
||||
@@ -218,7 +229,7 @@ public class uBehaviourRaderController : MonoBehaviour
|
||||
return;
|
||||
}
|
||||
|
||||
uRaderObj.SetActive(!overlayVisible);
|
||||
uRaderObj.SetActive(!hideWhenOverlayVisible || !overlayVisible);
|
||||
}
|
||||
|
||||
private void ApplySummary(BehaviourRadarSummary summary)
|
||||
|
||||
Reference in New Issue
Block a user