Inheritance: TraitInfo, Requires
示例#1
0
 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();
 }
示例#2
0
 public ExitsDebugOverlay(Actor self, ExitsDebugOverlayInfo info)
 {
     this.info = info;
     manager   = self.World.WorldActor.TraitOrDefault <ExitsDebugOverlayManager>();
     exits     = self.Info.TraitInfos <ExitInfo>().ToArray();
 }