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

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