Skip to content

Commit

Permalink
Fix for creating interactables at runtime
Browse files Browse the repository at this point in the history
Thanks for the pull request @tapiralec
  • Loading branch information
zite committed Feb 9, 2023
1 parent af187f2 commit 3d7cfc0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public class Interactable : MonoBehaviour
protected SkinnedMeshRenderer[] existingSkinnedRenderers;
protected static Material highlightMat;
[Tooltip("An array of child gameObjects to not render a highlight for. Things like transparent parts, vfx, etc.")]
public GameObject[] hideHighlight;
public GameObject[] hideHighlight = new GameObject[] { };

[Tooltip("Higher is better")]
public int hoverPriority = 0;
Expand Down

0 comments on commit 3d7cfc0

Please sign in to comment.