Created
August 26, 2017 19:37
-
-
Save ronyx69/d8e017bdf61c7a194c5d0e31b7021d62 to your computer and use it in GitHub Desktop.
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
//scripts to use with the Realtime mod, filename must match file prefix in import folder | |
var type="building"; | |
var filename="thing"; var assetname="thing"; | |
Type.GetType("Realtime.RealtimeMod").GetMethod(type).Invoke(null, new object[] { filename, assetname }); | |
var type="prop"; | |
var filename="snow1"; var assetname="snow1"; | |
Type.GetType("Realtime.RealtimeMod").GetMethod(type).Invoke(null, new object[] { filename, assetname }); | |
var type="vehicle"; | |
var filename="tbus"; var assetname="tbus"; | |
Type.GetType("Realtime.RealtimeMod").GetMethod(type).Invoke(null, new object[] { filename, assetname }); | |
var type="tree"; | |
var filename="plant1"; var assetname="plant1"; | |
Type.GetType("Realtime.RealtimeMod").GetMethod(type).Invoke(null, new object[] { filename, assetname }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment