Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Show me the error:
NullReferenceException: Object reference not set to an instance of an object
Comportamiento_Barco.MovimientoRio () (at Assets/Scripts/Comportamiento_Barco.cs:35)
Comportamiento_Barco.Update () (at Assets/Scripts/Comportamiento_Barco.cs:28)
But I can't notice anything wrong with my code