Added basic light controls to the game and added more content spawnpoints. Adjusted values a bit.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using Godot;
|
||||
using System.Collections.Generic;
|
||||
|
||||
public class LightHandler
|
||||
{
|
||||
public static List<OmniLight3D> lights = new ();
|
||||
|
||||
public static void RedrawLights(Color color)
|
||||
{
|
||||
foreach(OmniLight3D light in lights)
|
||||
{
|
||||
light.LightColor = color;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user