InventoryDisplay Class

UI-Animation logic - Configure or Disable.

The image below shows code logic in the InventoryDisplay.cs script that animates visibility of the InventoryDisplay when the user presses the Tab key. You'll need to decide to configure the animation or you must delete the associated code, or you will have errors in scenes where you use the InventoryDisplay.

To Disable Animation If you choose not to implement the UI-Animation, then you'll want to disable or remove the code associated with the Animator component otherwise, you will have errors when the the InventoryDisplay is included in a scene.

Delete the Animator declaration line of code in order to identify and disable all code associated with Animator functionality

Animator visibilityAnimator; ////DELETE THIS LINE - To disable animator

Delete or disable code with errors, shown highlighted in image below

updated Apr 11,2020

Last updated

Was this helpful?