Playground by Górka Mateusz
Goo.Tools.UnityHelpers.RaycastHitHelper Class Reference

Static Public Member Functions

static T GetComponent< T > (this RaycastHit hit)
 

Member Function Documentation

◆ GetComponent< T >()

static T Goo.Tools.UnityHelpers.RaycastHitHelper.GetComponent< T > ( this RaycastHit  hit)
inlinestatic
8 {
9 return hit.collider.gameObject.GetComponent<T>();
10 }

The documentation for this class was generated from the following file: