Exemplo n.º 1
0
 void Update()
 {
     //Screen wrapping
     transform.position = ScreenUtils.CheсkBorders(transform.position, colliderWidth, colliderHight, withCoagulation: withCoagulation);
 }