Update ClickCheckByTag.cs

Example script showing how to use raycast to click on an object and do something based on the object's tag. Modified from an example posted on Unity Answers with code comments added by me