I'm stuck with DLC. I want to distribute additional scenarios for a game as a DLC and from the various comments I've seen the best way seems to be to add the scenarios pack to the game through an update and then activate it only for those players who bought the DLC. I am distributing through Steam and I found the following in Steamworks:
static bool IsDlcInstalled( AppId appid )
I would assume that the script that would go into a script that manages the various scenarios would look something like this:
void CheckIfDlcInstalled()
{
if (!SteamManager.Initialized)
{ return; }
if(something something something == true)
DLCScenarios.SetActive(true);
}
I though that the following would go into the if-statement, but whatever I try, I get various error messages.
static bool IsDlcInstalled( AppId appid )
Or am I completely on the wrong path here?
I have also looked at asset bundles - but that doesn't really work because the scenarios include scripts and you can't add those to an asset bundle.
↧