- Home /
 
               Question by 
               caedes1991_unity · Oct 19, 2018 at 01:08 PM · 
                lighthitspotlightdetectspot light  
              
 
              Which spotlight hit gameobject?
Is there any posible way to get information, about which and how many spotlights hit gameobject?
               Comment
              
 
               
              Answer by Subhanshu · Oct 19, 2018 at 04:06 PM
You could consider using Raycast or Linecast. Kindly follow the URLs to get more information:-
- This is the scripting reference - https://docs.unity3d.com/ScriptReference/Physics.Raycast.html 
- This is the Video Tutorial on Raycasting - https://unity3d.com/learn/tutorials/topics/physics/raycasting 
Thank You!
Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                