public Main() { Instance = this; LabelPlacementHandler = new LabelPlacementHandler( _labelHolder, new MeshHandler(_fontHandler)); _labelDrawer = new LabelDrawer(_labelHolder, _fontHandler); }
public override void WorldLoaded() { base.WorldLoaded(); _customRoomLabelManager = UtilityWorldObjectManager.GetUtilityWorldObject <CustomRoomLabelManager>(); LabelPlacementHandler = new LabelPlacementHandler( _labelHolder, new MeshHandler(_fontHandler), new LabelMaker(_customRoomLabelManager), new RoomRoleFinder(_customRoomLabelManager) ); _labelDrawer = new LabelDrawer(_labelHolder, _fontHandler); }