Island Demo Help

First off, hi. I’m new to Unity and I would like to use it to create a game for my final year project. I just downloaded the island demo and this error message keeps popping up : Assets/Scripts/UnderwaterEffects.js(23,46): BCE0022: Cannot convert ‘UnityEngine.GameObject’ to ‘float’.

Was wandering if there’s anyone out there who could offer me some assistance on this. Thanks in advance.

Check out this answer : compiler error. - Questions & Answers - Unity Discussions

or : Island Demo Trees - Questions & Answers - Unity Discussions

The error means that in line 23 in the UnderwaterEffects script, you (or UT in this case) are trying to assign (or equate) a GameObject to a float. A GameObject is a built in class. Everything in your hierarchy panel is a GameObject. A float is any real number.

I believe the Island demo is outdated, which is why there would be any errors in it. But its still good to know how to solve this error, as it will be quite a common one when coding in unity.