mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-03-25 11:54:55 -05:00
* MeshUtility を UniGLTF 下に移動 * Assets/VRM10 を追加 * JsonSchemaからのコード生成 UniGLTF/Editor/Generator を追加
13 lines
288 B
C#
13 lines
288 B
C#
using UnityEngine;
|
|
|
|
namespace UniVRM10
|
|
{
|
|
public static class TransformExtensions
|
|
{
|
|
public static Quaternion ParentRotation(this Transform transform)
|
|
{
|
|
return transform.parent == null ? Quaternion.identity : transform.parent.rotation;
|
|
}
|
|
}
|
|
}
|