Beispiel #1
0
 public SceneGraphUI(Actor actor, WindowManager windowManager, Scene creatingScene) : base(actor)
 {
     this.windowManager = windowManager;
     this.sceneGraph    = RequireComponent <SceneGraphData>();
     this.hoverable     = RequireComponent <Hoverable>();
     this.creatingScene = creatingScene;
 }
 public SceneGraphRenderer(Actor actor, Scrollbar scrollbar) : base(actor)
 {
     this.sceneGraph   = RequireComponent <SceneGraphData>();
     this.ui           = RequireComponent <SceneGraphUI>();
     this.boundingRect = RequireComponent <BoundingRect>();
     this.scrollbar    = scrollbar;
     this.font         = MachinaClient.Assets.GetSpriteFont("DefaultFontSmall");
 }