These are chat archives for Nethereum/Nethereum

23rd
Jun 2018
Juan Blanco
@juanfranblanco
Jun 23 2018 10:11
@tmyngu11 the main sample
flappyeth does that
re events no there isn't
but it will be the same
on update, every so often get logs
tmyngu11
@tmyngu11
Jun 23 2018 18:46
@juanfranblanco is there anything specific i need to do to get it working with metamask? I included the web3plugin.jslib and called GetAccount(), but when i build and launch on localhost, it doesnt detect my metamask address
I also tried with "Strip Engine Code" off and it still doesnt work. I'm not sure what else to do
tmyngu11
@tmyngu11
Jun 23 2018 19:54
nvm found the issue. for some reason it was detecting as UNITY_EDITOR in the

if !UNITY_EDITOR

public bool ExternalProvider = true;
[DllImport ("__Internal")]
private static extern string GetAccount ();
[DllImport ("__Internal")]
private static extern string SendTransaction (string to, string data);

else

public bool ExternalProvider = false;
private static string GetAccount() { return ""; }
private static string SendTransaction(string to, string data) { return null; }

endif

Juan Blanco
@juanfranblanco
Jun 23 2018 19:57
nice you got sorted and rather strange the unity editor
tmyngu11
@tmyngu11
Jun 23 2018 19:58
thanks again for the help! Could you explain what you mean by get logs though?
same as this.. but using the Unity request
ones
tmyngu11
@tmyngu11
Jun 23 2018 20:01
thanks your help is much appreciated :)