UI HUGE UPDATE
This commit is contained in:
@@ -230,7 +230,26 @@ public class uBehaviourRaderController : MonoBehaviour
|
||||
return;
|
||||
}
|
||||
|
||||
uRaderObj.SetActive(!hideWhenOverlayVisible || !overlayVisible);
|
||||
bool shouldShow = !hideWhenOverlayVisible || !overlayVisible;
|
||||
bool wasActive = uRaderObj.activeSelf;
|
||||
uRaderObj.SetActive(shouldShow);
|
||||
|
||||
if (shouldShow && !wasActive)
|
||||
{
|
||||
ForceRefreshChartBridge();
|
||||
}
|
||||
}
|
||||
|
||||
private void ForceRefreshChartBridge()
|
||||
{
|
||||
if (chartBridge == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
chartBridge.enabled = false;
|
||||
chartBridge.enabled = true;
|
||||
chartBridge.Refresh();
|
||||
}
|
||||
|
||||
private void ApplySummary(BehaviourRadarSummary summary)
|
||||
|
||||
Reference in New Issue
Block a user