class MyGUO extends GraphUpdateObject { var offset : Vector3 = Vector3.up; function Apply(node : GraphNode) { //Keep the base functionality super.Apply(node); //The position of a node is an Int3, so we need to cast the offset node.position += offset; //This is the line I can't figure out. } }
How can I convert the offset to a Int3?
Using this code I get this:
Cannot convert 'String' to 'Pathfinding.Int3'.