mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-04-25 07:28:51 -05:00
UnityObject だし
This commit is contained in:
parent
4533a7f0bf
commit
f4120c7722
|
|
@ -47,7 +47,11 @@ namespace UniVRM10
|
|||
|
||||
public override void OnToolGUI(EditorWindow window)
|
||||
{
|
||||
var root = Selection.activeTransform?.GetComponent<Vrm10Instance>();
|
||||
if (Selection.activeTransform == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
var root = Selection.activeTransform.GetComponent<Vrm10Instance>();
|
||||
if (root == null)
|
||||
{
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user