Learning C# by Developing Games with Unity: C# Programming for Unity Game Development - 2020 by William Emma & lnc mEm

Learning C# by Developing Games with Unity: C# Programming for Unity Game Development - 2020 by William Emma & lnc mEm

Author:William, Emma & lnc, mEm [William, Emma]
Language: eng
Format: epub
Published: 2020-08-05T16:00:00+00:00


Water tank

Do the same with some changes now with the "bucket_01_empty" model. I want to briefly explain these changes:

- The name of the GameObject is changed to "BucketEmpty" .

- With HoverEffects you assign “water tank ” as toolTipText .

- For InventoryItem, assign “Bucket” as the itemName and “bucket” as the texture .

- Since we need this container for other purposes, we add a rigid body to the GameObject .

- Do not increase the collider size on this object !

stone

And finally, do this with the "stone_01" model. However, there are also some differences that I would like to briefly explain:

- The name is changed to "Stone" .

- Instead of the Box Collider, this time add a Sphere Collider and reduce its radius to 0.08 .

- With HoverEffects you assign toolTipText the text " Throwing stone " .

- With InventoryItem you assign "Stone" as itemName and "stone" as texture .

- You do not need to change the collider size here either .



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.