I get this error " cannot convert from'int' to 'unityengine.object' "

remove the comma after your quotation marks on each Debug.Log line.

for example,

Debug.Log("Lowest is : ", + min);

becomes…

Debug.Log("Lowest is : " + min);

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms