Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GameObject go = GameObject.Find(values[1]);
- Undo.RecordObject(go,"setting at rest");
- // Do transforms
- float x = float.Parse(p_values[0]);
- float y = float.Parse(p_values[1]);
- float z = float.Parse(p_values[2]);
- Vector3 p = new Vector3(x,y,z);
- go.transform.position = p;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement