Exemplo n.º 1
0
    public void LightALightWithDelay()
    {
        DoorLight light = FindUnqueuedToBeLitLight();

        if (light != null)
        {
            light.SetLitWithDelay(ParticleSystemSpawner.GetInstance().GetPrototype().GetParticleLifeTime() - m_lightPreLightupTime);
        }
    }
Exemplo n.º 2
0
 public void AddLight(DoorLight light)
 {
     m_lights.Add(light);
 }