- Home /
Question by
unity_cllFgoBY6ESZMg · Nov 30, 2017 at 02:52 PM ·
unity 5programmingnot working
How to control the movements of an object in Unity with Neurosky?
Hello! I am working with Neurosky and Unity. Neurosky has a README, however, I have a few questions with this: void Start() {
controller = GameObject.Find("NeuroSkyTGCController").GetComponent<TGCConnectionController>();
controller.UpdatePoorSignalEvent += OnUpdatePoorSignal;
controller.UpdateAttentionEvent += OnUpdateAttention;
controller.UpdateMeditationEvent += OnUpdateMeditation;
controller.UpdateDeltaEvent += OnUpdateDelta;
}
Is controller any variable? Where I can get it? After that I have to implement this. How can I do that?
2.Implement every function above 3.Call Connect() function of TGCConnectionController to connect 4.Call disconnect() function of TGCConnectionController to disconnect
Note:Check the Api Compatibility Level is .NET2.0,not .NET2.0 Subset.
Can you all help me? Thanks a lot :)
Comment
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Unity Won't Build Android 0 Answers
Need help in typing project 0 Answers
Problem with "Using Unity Standard Assets" in script C# 1 Answer
Need help in Stone throwing mechanic with aim in unity 3d C# 0 Answers