public void Awake() { ToolsModifierControl.toolController.AddExtraToolToController <RoadSegmentTool>(); ToolsModifierControl.toolController.AddExtraToolToController <BuildingEditorTool>(); ToolsModifierControl.toolController.AddExtraToolToController <VehicleEditorTool>(); ToolsModifierControl.toolController.AddExtraToolToController <SegmentEditorPickerTool>(); ReloadAbbreviationFiles(); FontServer.Ensure(); AtlasesLibrary = gameObject.AddComponent <WTSAtlasesLibrary>(); BuildingPropsSingleton = gameObject.AddComponent <WTSBuildingPropsSingleton>(); RoadPropsSingleton = gameObject.AddComponent <WTSRoadPropsSingleton>(); VehicleTextsSingleton = gameObject.AddComponent <WTSVehicleTextsSingleton>(); OnNetPropsSingleton = gameObject.AddComponent <WTSOnNetPropsSingleton>(); HighwayShieldsSingleton = gameObject.AddComponent <WTSHighwayShieldsSingleton>(); HighwayShieldsAtlasLibrary = gameObject.AddComponent <WTSHighwayShieldsAtlasLibrary>(); ConnectorTLM = PluginUtils.GetImplementationTypeForMod <BridgeTLMFallback, IBridgeTLM>(gameObject, "TransportLinesManager", "14.0.0.0", "Klyte.WriteTheSigns.ModShared.BridgeTLM"); ConnectorADR = PluginUtils.GetImplementationTypeForMod <BridgeADRFallback, IBridgeADR>(gameObject, "KlyteAddresses", "3.1.1.0", "Klyte.WriteTheSigns.ModShared.BridgeADR"); }
protected void Awake() { ClassesCache.LoadCache(); ConnectorADR = PluginUtils.GetImplementationTypeForMod <BridgeADR, BridgeADRFallback, IBridgeADR>(gameObject, "KlyteAddresses", "3.0.0.3"); }