private void look(float checkPos){
      if(checkPos > transform.position.x){
        characterScale.x = System.Math.Abs(characterScale.x) * (-1);
      }else{
        characterScale.x = System.Math.Abs(characterScale.x);
      }
      transform.localScale = characterScale;
    }


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *