l have an if statement with 3 conditions:
if (firstbool == false & Input.GetKeyDown ("space") & secondbool == false) {
doSomething();
}
l want this program to do something only when all 3 conditions are true. But l don't know which operator l should use.
Aucun commentaire:
Enregistrer un commentaire