Hey guys trying to make a simple trigger to turn on the animator component.
error CS0119: Expression denotes a method group', where a variable’, value' or type’ was expected
Your inner code is incorrect, syntactically speaking. You are calling the method GetComponent<>() as if it were a field. In the second line, you should remove the second plus sign. In C#, positive values don’t need to be specified, only negatives. It should be the following: