void Awake() { _tracks = GetComponentInChildren <grabot_tracks>(); _hand = GetComponentInChildren <grabot_hand>(); _hand.init(this); _hand_zoom_help_cos = Mathf.Cos(hand_zoom_help_deg * Mathf.Deg2Rad); }
// Use this for initialization protected override void Start() { base.Start(); _hand = _joint.transform.parent.GetComponentInChildren <grabot_hand>(); }