title: How to apply transform in Unity
body: <p>Is possible to apply a Transform via script in Unity?</p>
  
  <p>What I mean with "applying" is setting the current position/rotation/scale of an object AS their default ones:
  if a game object is rotated by 30° on the x axis, the x rotation value on the Inspector will display 30 of course. By applying the rotation the Inspector will now display 0 and the object will keep its rotation. 30° is now the default rotation of that object.</p>
  
  <p>I know you can do this, for example, in <a href="https://youtu.be/cZ2zY2ux-pA" rel="nofollow noreferrer">Blender</a>, but I don't know if it's possible to do it in Unity as well.</p>