Files
Continentis/Assets/OtherPlugins/I2/Localization/Examples/Common/Scripts/GlobalParametersExample.cs
SoulliesOfficial 9b1b5ca93f initial
2025-10-03 00:02:43 -04:00

18 lines
441 B
C#

namespace I2.Loc
{
public class GlobalParametersExample : RegisterGlobalParameters
{
public override string GetParameterValue( string ParamName )
{
if (ParamName == "WINNER")
return "Javier"; // For your game, get this value from your Game Manager
if (ParamName == "NUM PLAYERS")
return 5.ToString();
return null;
}
}
}