



- import water from Unity Standard Asset
- Water is just an object concrete






- add UI – RawImage
- The Raw Image control displays a non-interactive image to the user
- Since the Raw Image does not require a sprite texture, you can use it to display any texture available to the Unity player

- the white line means our monitor’s screen


- PosX & PosY means the RawImage is apart from the anchor(Top-Left) by 75




- Since ViewHearts are Child Object of Heart, their position is based on the Heart’s


- Create Variables
- to use in another script make heartValue as Static
- internalHeart is to be used as a path to heartValue
- to use Heart, Create GameObject as a vessel
- in Update() method,
- create if statement, making Heart Active, whenever Player collects one




- in Start() method
- set the initial value of heartValue as 1

“when Unity says, “There are 2 audio lister”, remove main camera if you are using FPS Character”









































