private void Awake()
 {
     _instance = this;
     if (followPoint == null)
     {
         Debug.LogError("No follow point was set as Main Hand Interactor!");
     }
 }
Example #2
0
    private void Start()
    {
        var handInteractorFollowPoint = HandInteractorFollowPoint.Get();

        if (handInteractorFollowPoint)
        {
            _followPoint = handInteractorFollowPoint.followPoint;
        }
        else
        {
            _doNotFollow = true;
        }
    }