Skip to content

Commit

Permalink
同上
Browse files Browse the repository at this point in the history
  • Loading branch information
linoal committed Jan 5, 2023
1 parent e9375f6 commit c1c50c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Editor/Components/ViewRegulationGui.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public void Draw(ViewRegulation target)
EditorGUILayout.LabelField("<size=12>視点場</size>", style);

var vpGroupComponent = Object.FindObjectOfType<LandscapeViewPointGroup>();
if (vpGroupComponent == null || vpgroup.transform.childCount == 0)
if (vpGroupComponent == null || vpGroupComponent.transform.childCount == 0)
{
EditorGUILayout.HelpBox("視点場を作成してください", MessageType.Error);
return;
Expand Down

0 comments on commit c1c50c4

Please sign in to comment.