Log in or register to post comments

Error in script

November 12, 2014 - 6:20am #1

Hi, new poster/develper here. I'm using unity and vuforia for AR applications for my thesis...So, I am working on simple project with multiple virtual buttons. Please any help is appreciated!

 

The error that i get is as follows:

Assets/NewBehaviourScript.cs(4,14): error CS0738: `NewBehaviourScript' does not implement interface member `IVirtualButtonEventHandler.OnButtonReleased(VirtualButtonAbstractBehaviour)' and the best implementing candidate `NewBehaviourScript.OnButtonPressed(VirtualButtonAbstractBehaviour)' return type `void' does not match interface member return type `void'
 
and the script is attached...
 
Thanks in advance!
 
 
 
 
AttachmentSize
Binary Data bytes

Error in script

November 19, 2014 - 3:25pm #2

You have a typo in your method name:

public void OnButtonReleashed(VirtualButtonAbstractBehaviour vb) { }

 

Log in or register to post comments