Пример #1
0
 private void OnEnable()
 {
     if (secondHand == null)
     {
         secondHand = GetComponentInChildren <SecondHanded>();
     }
 }
Пример #2
0
 void Start()
 {
     if (grabposition != null)
     {
         attachmentFlags = Hand.AttachmentFlags.SnapOnAttach | attachmentFlags;
     }
     if (isDoubleHanded)
     {
         secondHand = GetComponentInChildren <SecondHanded>();
     }
 }