IsInitialized
Last updated
Check if the Traffic System is initialized.
Supports multiple declarations based on the needs.
public static bool IsInitialized()bool - true if Mobile Traffic System is initialized.
using Gley.TrafficSystem;
using UnityEngine;
public class Test : MonoBehaviour
{
void Update()
{
if (API.IsInitialized())
{
//do something
SetPath();
}
}
}Last updated