Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. sınıf :
- public class karsiya_git : MonoBehaviour
- {
- public bool gameOver=false;
- }
- 2. sınıf :
- public class rastgele_sinif : MonoBehaviour {
- private karsiya_git abc;
- void Update()
- {
- if (abc.gameOver == false)
- {
- Debug.Log("Oldu ??????");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement