mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-10-02 07:42:25 -05:00
UnityObject だし
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user