Inheritance: MonoBehaviour, IBulletTimeManager
Exemplo n.º 1
0
    void Start()
    {
        if (instance != null)
        {
            Debug.LogError("Error: Cannot have two BulletTimeManagers");
        }

        instance = this;

        projectiles = new List <Collider>();
    }
Exemplo n.º 2
0
 void OnApplicationQuit()
 {
     instance = null;
 }