Unity3dSimpleSample
Unity3dSimpleSample copied to clipboard
Syntax error in EtherTransfer.cs
There is a tiny mistake in this file, line 32:
var ethTransfer = new EthTransferUnityRequest(url, privateKey)
It looks like this, giving the following compilation error:
Gravedad Código Descripción Proyecto Archivo Línea Estado suprimido
Error CS7036 No se ha dado ningún argumento que corresponda al parámetro formal requerido 'account' de 'EthTransferUnityRequest.EthTransferUnityRequest(string, string, string)' Assembly-CSharp C:\Users\Gaming\Downloads\Unity3dSimpleSample-master\Assets\EtherTransfer.cs 32 Activo
Basically meaning that the EthTransferUnityRequest accepts 3 parameters, not 2.
This error is not present in the tutorial of the sample, I guess it is just an oversight.