this guy changed like a singular line of code
This commit is contained in:
parent
980deb5d09
commit
fc1d1dee00
6 changed files with 1250 additions and 1262 deletions
|
|
@ -11,7 +11,10 @@ public class FloatingAbilityInfo : MonoBehaviour
|
|||
[SerializeField] private TextMeshProUGUI projectileCountStat;
|
||||
private void Update()
|
||||
{
|
||||
transform.position = Input.mousePosition - offset;
|
||||
if (!Input.GetKey(KeyCode.LeftShift))
|
||||
{
|
||||
transform.position = Input.mousePosition - offset;
|
||||
}
|
||||
}
|
||||
|
||||
public void ShowInfo(PlayerAbility ability)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue