This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using ICities; | |
using System.Collections.Generic; | |
using UnityEngine; | |
namespace CatenaryReplacer | |
{ | |
public class CatenaryReplacerMod : LoadingExtensionBase, IUserMod | |
{ | |
private string[] styles = new string[] { "No Catenary", "Dutch A", "Dutch B", "German A", "PRR A" }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void GetTextureName() | |
{ | |
foreach (KeyValuePair<string, Texture2D> entry in currentPrefabProperties) | |
{ | |
Texture2D texture2D = entry.Value; | |
if(texture2D == null) continue; // null-Werte skippen | |
var filename = ModLoader.currentTexturesPath_default + texture2D.name + ".dds"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* ========================= | |
* defaultTemplateByParentTv | |
* ========================= | |
* | |
* Plugin for modX Revolution | |
* Set default template for children of a ressource | |
* | |
* Author: |