For my character I did this script:
function Update()
{
If(Input.GetMouseButtonDown(0));
}
How would I make this work for AI?
For my character I did this script:
function Update()
{
If(Input.GetMouseButtonDown(0));
}
How would I make this work for AI?
I am wondering the same bin looking for this for a wile know i have my AI attack script but wondering if i need to enter a Boolean like for the AI detect script but still not 100% on how to properly work it so if u find out let me know