Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public Vector3 pos;
- public Quaternion rot;
- public void Start(){
- pos = transform.position;
- rot = transform.rotation;
- }
- public void OnMouseExit(){
- transform.position = pos;
- transform.rotation = rot;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement