I don't really use `boo`, but if it's much like C# or js, then you should be able to take out the cast and then it will probably be okay.
class scriptEnemy(MonoBehaviour):
public tr as Transform = null
def Update():
if tr:
Instantiate(tr, transform.position, transform.rotation)
Right now the compiler is trying to figure out why you want to treat it as a `Transform` if you aren't actually going to do anything with it.
↧