Exemple #1
0
 void Start()
 {
     mace   = GameObject.FindGameObjectWithTag("Dusman").GetComponent <macekontrol>();
     fizik1 = GetComponent <Rigidbody2D>();
     fizik1.AddForce(mace.getYon() * 1000);
 }