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