So i have had this issue before, and it has been dealt with in a different scenario, however i can’t come to a solution for this one. when i call a function in another script it tells me that it needs to be set to an instance of an object, and im assuming its refering the the “this.transform” part. What’s a work around for this?
You should also give your script/class name a name starting with a upper case, it is a C# convention. Here you should have “Terrain” instead of terrain.