Example #1
0
 public static Hands GetHands(this IInteractionSource source)
 {
     return(source.GetComponentInTree <Hands>());
 }
Example #2
0
        public static RangeLimit GetRange(this IInteractionSource source)
        {
            IInteractionRangeLimit limit = source.GetComponentInTree <IInteractionRangeLimit>();

            return(limit?.GetInteractionRange() ?? RangeLimit.Max);
        }