Skip to content

Commit

Permalink
fix: exception if the snap zone drawer is not initialized (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustavo Quiroz committed May 3, 2021
1 parent 0c02bd2 commit dcfcd99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Runtime/Interaction/Interactors/SnapZonePreviewDrawer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class SnapZonePreviewDrawer : MonoBehaviour, IExcludeFromHighlightMesh
private MeshFilter filter;
private MeshRenderer meshRenderer;

private void Start()
private void OnEnable()
{
if (Application.isPlaying)
{
Expand Down

0 comments on commit dcfcd99

Please sign in to comment.