private void MoveText()
 {
     _isBusy = true;
     LeanTween.move(gameObject,
                    LookingDirectionHelpers.CalculatePositionDeadAhead(), _moveTime).
     setEaseInOutSine().setOnComplete(() => _isBusy = false);
 }
Exemplo n.º 2
0
 // Update is called once per frame
 void Update()
 {
     if (!isGridCreated)
     {
         CreateGrid(LookingDirectionHelpers.CalculatePositionDeadAhead(2.0f));
         isGridCreated = true;
     }
 }