So i have bean battling this problem for so long my head really hurts.
I don`t know why but C# can not find EnableGestures for some reason.
PLS help.
Error:
error CS1061: Type Leap.Controller' does not contain a definition for
EnableGesture' and no extension method EnableGesture' of type
Leap.Controller' could be found (are you missing a using directive or an assembly reference?)
using UnityEngine;
using System.Collections;
using Leap;
public class NewBehaviourScript : MonoBehaviour {
Controller handController;
void Start () {
GestureConfig();
}
private void GestureConfig()
{
handController = new Controller();
handController.EnableGesture(Gesture.GestureType.TYPE_SWIPE);
}
}