Unity Shared Scripts My own reusable unity C# scripts Requirements Go to Edit -> Project Settings -> Tags and Layers. Create a layer named InteractRaycast. Player GameObject needs to be tagged as Player. Main Camera needs MainCamera the tag.