Added Dohya

This commit is contained in:
2026-08-29 13:34:57 +03:00
parent f6a7547e84
commit 9f87122a34
1478 changed files with 963649 additions and 35753 deletions
@@ -0,0 +1,29 @@
using UnityEngine;
namespace VLB
{
public static class TransformUtils
{
public struct Packed
{
public Vector3 position;
public Quaternion rotation;
public Vector3 lossyScale;
public bool IsSame(Transform transf)
{
return transf.position == position && transf.rotation == rotation && transf.lossyScale == lossyScale;
}
}
public static Packed GetWorldPacked(this Transform self)
{
return new Packed()
{
position = self.position,
rotation = self.rotation,
lossyScale = self.lossyScale,
};
}
}
}