From 16e4a47beaf7786b63404d4a8356e45d70a393b5 Mon Sep 17 00:00:00 2001 From: chai Date: Tue, 28 Sep 2021 19:12:34 +0800 Subject: *unit lens --- Assets/Scripts/Utils/TRS.cs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Assets/Scripts/Utils/TRS.cs (limited to 'Assets/Scripts/Utils/TRS.cs') 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; + } +} -- cgit v1.1-26-g67d0