public void UpdateNodeObject(Node curNode, Node_ObjectSaveable Saveable) { posX = Saveable.posX; posZ = Saveable.posZ; textueid = Saveable.textureId; ChangeMaterial(curNode); }
public Node_ObjectSaveable GetSaveable() { Node_ObjectSaveable saveable = new Node_ObjectSaveable(); saveable.posX = this.posX; saveable.posZ = this.posZ; saveable.textureId = this.textueid; return(saveable); }