Steamworks Creator
When you need it on-demand
Last updated
When you need it on-demand
Last updated
Support us as a and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude. These articles are made possible by our ... become a sponsor today!
The Steamworks Creator exists to selectivly create a 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 object as required, optionally marking it as Do Not Destroy on Load.
This component is an alternative for users that cannot or do not wish to use a bootstrap scene or otherwise insure that is initalized once and only once by design.
This tool performs a check on start and will if required create a new object. This is not as performant or as stable as adjusting your design such that there is one and only one object in your app but it does afford a degree of flexability.
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 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 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.
This configuration option if set true will cause the creator to check for Steam initalization at startup, if found it will do nothing if not it will create a new game object complete with the componenet and will apply the indicated Steam Settings object.
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 and is not used otherwise.
You must not allow a object to be destroyed. Doing so will cause unperdictable errors with your Steam Integration.
This is the settings object that will be applied to the resulting , this MUST be set.