public ExitsDebugOverlay(Actor self, ExitsDebugOverlayInfo info) { this.info = info; manager = self.World.WorldActor.TraitOrDefault <ExitsDebugOverlayManager>(); rgbaRenderer = Game.Renderer.WorldRgbaColorRenderer; exits = self.Info.TraitInfos <ExitInfo>().ToArray(); }
public ExitsDebugOverlay(Actor self, ExitsDebugOverlayInfo info) { this.info = info; manager = self.World.WorldActor.TraitOrDefault <ExitsDebugOverlayManager>(); exits = self.Info.TraitInfos <ExitInfo>().ToArray(); }