Usage: Lets Players set values which were exposed by you (similar to NRaas retuner) Does NOT require the C# Utility to be referenced (so it is optional)
To expose your mod to the auto menu you need to take the following steps:
0. name your assemblyname so it includes "_b_" in the name somewhere (example testmod could become _b_testmod or testmod_b_)
1. name the values you want to expose like in step 0 Note: The values need to be static !
The user can then change the values with an Terrain Interaction path Battery... -> Mod Auto Menu
Change the Assembly Name Sharp Develop:
Change the Assembly Name Visual Studio:
Example:
Code:
public class Someclass
{
public static MyExposedString_b_ = "Hello";
}
Note: If you expose a static field that holds an class instance you can change all the cointained settings
Code:
public class ContainerClass
{
public int number;
public float floatingpointnumber;
}
public class Someclass
{
public static ContainerClass_b_ = new ContainerClass(); // Users will be able to set number AND floatingpointnumber
}