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

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