Comment on page
When you need it on-demand
The Steamworks Creator exists to selectivly create a Steamworks Behaviour object for you based on the current state of Steam API initalziation. This componenet can be used in every scene and will test for Steam intialization and if required will create a new Steamworks Behaviour object as required, optionally marking it as Do Not Destroy on Load.
Simply add a Steamworks Creator to a game object in any or even all scenes. The object can be configured to test on start or on demand and can be configured to mark the resulting Steamworks Behaviour object as Do Not Destroy.
If this is not set to true you would need to call the Create If Missing method to perform the check and create on demand.
If you wish to create on-demand you can do so without the aid of the Steamworks Creator. SteamSettings has a static CreateBehaviour method that can be called to perform the same action.
This configuration option if set true will cause the creator to mark the resulting GameObject as DoNotDestroyOnLoad. This is only applicable if the creator creates a new Steamworks Beahviour and is not used otherwise.
If not set then the created GameObject will reside in the currently active scene and will be destroyed when that scene is unloaded.
If you do not mark as do not destroy then you must insure that the resulting GameObject is never destroyed.