How can i make boo play nicely with my UnityScripts? Mainly, the use of AddComponent/GetComponent and transferring of values.
Drag.js
public var size:float;
//Lots of other code
Foo.boo
//This is where i need to add/store my Drag script
drag=other.gameObject.AddComponent("Drag")
//Here is where the error gets thrown
//since size is not a member of UnityEngine.Component
drag.size=size
I know its a casting problem, but im not sure how to cast as type Drag or if thats even possible from Boo to UnityScript / UnityScript to Boo. Any help is appreciated, just started typing boo.