Skip to main content
deleted 9 characters in body
Source Link

You are referring to a Block game object not the object being hit by the array. To change the object the raycast hits the refers touse the hit variable. This stores all info about the object including its material and colour.

You are referring to a Block game object not the object being hit by the array. To change the object the raycast hits the refers to the hit variable. This stores all info about the object including its material and colour

You are referring to a Block game object not the object being hit by the array. To change the object the raycast hits use the hit variable. This stores all info about the object including its material and colour.

Source Link

You are referring to a Block game object not the object being hit by the array. To change the object the raycast hits the refers to the hit variable. This stores all info about the object including its material and colour