コード例 #1
0
ファイル: ScreenWrapper.cs プロジェクト: ssa112112/Asteroids
 void Update()
 {
     //Screen wrapping
     transform.position = ScreenUtils.CheсkBorders(transform.position, colliderWidth, colliderHight, withCoagulation: withCoagulation);
 }