Tanoda
pb_TransformExtension.cs
Go to the documentation of this file.
1using UnityEngine;
2
3namespace GILES
4{
8 public static class pb_TransformExtension
9 {
13 public static void SetTRS(this Transform transform, pb_Transform pbTransform)
14 {
15 transform.position = pbTransform.position;
16 transform.localRotation = pbTransform.rotation;
17 transform.localScale = pbTransform.scale;
18 }
19 }
20}