The Amazon GameLift Plugin for Unity contains libraries and native UI that makes it easier to access GameLift resources and integrate GameLift into your Unity game. You can use the GameLift Unity Plugin to access GameLift APIs and deploy AWS CloudFormation templates for common gaming scenarios.
Added support to Anywhere and Managed EC2 tab to load in client setting assets from any path in the project instead of only the path that the sample plugin uses.
Additionally,
If you don't have an asset, an error will appear and the apply/launch buttons will be disabled.
If you have more than one asset, a warning will appear that will indicate which asset is being used.
The UI periodically (every 2 seconds) reloads this asset and the UI so if you manually change the asset the UI will update the error message and launch/configure buttons accordingly. Examples:
If you delete your setting, the error will appear.
If you create a new setting when one already existed, the warning will appear.
If you edit your deployment settings in the inspector, the ManagedEC2 UI will re-enable the Configure Client button as the settings are out of sync.
Known issue,
The Sample game still relies on the specific asset it comes with, so if the user deletes this asset, their sample will fail (the sample has references to this asset and will throw a NPE in this case)
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Added support to Anywhere and Managed EC2 tab to load in client setting assets from any path in the project instead of only the path that the sample plugin uses.
Additionally,
Known issue,
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.