Unity Android Game Development by Example Beginner's Guide by 2013

Unity Android Game Development by Example Beginner's Guide by 2013

Author:2013
Language: eng
Format: mobi
Publisher: Packt Publishing


Tip

The blob shadow is created by the Projector component. This component functions in a similar manner to the Camera component. However, it puts an image on the world rather than turning the world into an image and putting it on your screen.

Take a look at the Inspector window. The value we are concerned with right now is that of Ignore Layers. Right now it is set to Nothing.

Click on Nothing and select PlayerTank from the Layers drop-down list. This will make the projector ignore the tank and only make the blob shadow appear underneath it.

The next step is to change the size of the shadow to roughly match the size of the tank. Adjust the value of the Field of View attribute until the size is about right. A value of about 70 seems to be a good place to start from.



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.