- Home /
How do I get 'Behave' (from AngryAnt.com)to work with Unity 2.6?
Dear Unity Guru...
I followed the instructions from the website. I am unfamiliar with Mono, but I downloaded and installed the "mono-2.6.1-gtksharp-2.12.9-win32-1.exe" file from their site. ( perhaps thats the wrong version?)
When I install the package into a new Unity project (or even when I open the included Demo Project from AngryAnt), I get this error in the console...
Assets/Editor/BehaveMenu.cs(85,31): error CS0117: UnityEditor.EditorUtility' does not contain a definition for
FocusProjectView'
this is the line of code indicated... likne 85
EditorUtility.FocusProjectView();
Can anyone help me? Emil ... are you out there?
Sincerely,
Grateful Noob ;)
Answer by Ricardo · Dec 19, 2009 at 03:13 PM
Crazy suggestion: try commenting out that line. It won't bite. :-) Alternatively, you could look into the EditorUtility documentation - as you can see there's no longer a FocusProjectView but a FocusProjectWindow.
O$$anonymous$$G ... thanks Ricardo. I am pretty new to this, and I appreciate the direction. I am trying to make it habit to comb the Script Reference... it was late ... I must have missed it. Thanks again man!! :)
Answer by Arno · Mar 22, 2010 at 07:17 AM
Im a newbie only know the program for about a week.
I have constructed a scene and i want to add some moving people.
I came across angryant, wanted to install and got the same error message as stated above.
I don't know anything about scripting...so the i even don't undertsand the crazy suggestion.
(o.s. windows vista)
please give us some more info on how to get it to work
Just search the code for EditorUtility.FocusProjectView(); and replace it with EditorUtility.FocusProjectWindow();
Answer by Arno · Mar 25, 2010 at 08:25 AM
Thanks for your help and quick reply, this worked....
one more problem
I get this: http://screencast.com/t/NmYwOGU0Y
and i need this: http://screencast.com/t/YzlhNmFmOTYt
please explane it to my in sesemestreet language...
Answer by silvaraptor · Jun 29, 2011 at 10:52 AM
I'm having problems to make behave works on Unity. I've installed the package correctly (just like in the videotutorial) but when i try to create my first tree the program launches many IndexOutOfRangeException and i have to shut it down.
What could be the problem? Im using Unity 3.3 and Behave 1.3. Looks like this version of behave is made for Unity 3.2 and maybe im having issues for that reason.
Any help? Thanks.
Please do not post comments/questions as Answers. if you have the same problem please leave a comment in the original Question.