Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if( wykryto_kolizje(...) && other.tag == "Przeciwnik" ) // nie wiem jak wykrywasz kolizje, other to obiekt z którym kolidujesz
- {
- gracz.velocity = 0;
- gracz.hp -= 10;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement