Im stuck

Screenshot 2024-10-14 091919
i cant proceed due to this peoblem can someone help
Screenshot 2024-10-14 092120

Your script should derive from MonoBehaviour. Post the script here so we can look at it. There are errors and until they are fixed, Unity can’t build the script to add to the game object

SerializeField for the zvalue is wrong. It should have a capital F. Once you fix that, the script will build and Unity will allow you to add it to the object. C# is case-sensitive, so Serializefield is not the same thing as SerializeField.

Also - it doesn’t matter at the moment but it will later - start() should be Start() (capital ‘S’). If you don’t change it, Unity will not execute the code you may write in there later

1 Like

Thanks bud its working

1 Like

Privacy & Terms