Hello. Could someone help me? It’s a simle thing but I have no idea why it’s getting an error.
I’m trying to check some bool in a If statement and then call a function if these bool are ture but I’m getting a weird error
“error CS0019: Operator &&' cannot be applied to operands of type
method group’ and `bool’”
What does that mean?
This is the code
void ActivatePlayer(){
if (rbPlayer.IsSleeping && canShoot){
SetMyTurnOn ();
}