Hello! good am/pm, i am new at unity and i have a bit some problem, I'm getting this error (CS1955) "cannot be used like method" and i do not know what to do, Is there anyway it to be fix? or is there anyway to solve the error problem? It would be kindly if somebody answer or response. Thank you! :)
{
Animator m_animator;
// Start is called before the first frame update
void Start()
{
m_animator = GetComponent();
}
// Update is called once per frame
void Update()
{
bool isWalkingPressed = Input.GetKey("right");
m_animator.SetBool("isWalking", isWalkingPressed);
bool isJumpingPressed = Input.GetKeyDown("space");
m_animator("isJumping", isJumpingPressed);
}
}
↧