summaryrefslogtreecommitdiff
path: root/Assets/Scripts/Utils/TRS.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-09-28 19:12:34 +0800
committerchai <chaifix@163.com>2021-09-28 19:12:34 +0800
commit16e4a47beaf7786b63404d4a8356e45d70a393b5 (patch)
tree15391f9e57cb8d39705bfc13189956262e9e7fe7 /Assets/Scripts/Utils/TRS.cs
parent10ea61d63a87931a98c3591735f0d70e10939401 (diff)
*unit lens
Diffstat (limited to 'Assets/Scripts/Utils/TRS.cs')
-rw-r--r--Assets/Scripts/Utils/TRS.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/Assets/Scripts/Utils/TRS.cs b/Assets/Scripts/Utils/TRS.cs
new file mode 100644
index 00000000..f5d6f559
--- /dev/null
+++ b/Assets/Scripts/Utils/TRS.cs
@@ -0,0 +1,16 @@
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+
+public struct TRS
+{
+ public Vector3 position;
+ public Quaternion rotation;
+ public Vector3 scale;
+ public TRS(Vector3 pos, Quaternion rot, Vector3 sc)
+ {
+ position = pos;
+ rotation = rot;
+ scale = sc;
+ }
+}