Option to hide waypoints and spawnpoints in editor, fixed cam "twitching" in multiplayer, additional light sprites for lightcomponents, wire bugfixes, fixed excessive camera shake when firing the railgun
This commit is contained in:
@@ -8,7 +8,16 @@ namespace Barotrauma.Lights
|
||||
class LightManager
|
||||
{
|
||||
//public static Vector2 ViewPos;
|
||||
public static Entity ViewTarget;
|
||||
private static Entity viewTarget;
|
||||
|
||||
public static Entity ViewTarget
|
||||
{
|
||||
get { return viewTarget; }
|
||||
set {
|
||||
if (viewTarget == value) return;
|
||||
viewTarget = value;
|
||||
}
|
||||
}
|
||||
|
||||
public Color AmbientLight;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user