Skip to content

Commit f45c673

Browse files
committed
Fixup
1 parent e837415 commit f45c673

File tree

5 files changed

+1
-122
lines changed

5 files changed

+1
-122
lines changed

Assets/Ignorance/Demo/PongChamp/Scripts/AtariPongBall.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ void OnCollisionEnter2D(Collision2D col)
4646
// col.collider is the racket's collider
4747

4848
// did we hit a racket? then we need to calculate the hit factor
49-
if (col.transform.GetComponent<Player>())
49+
if (col.transform.GetComponent<AtariPongBall>())
5050
{
5151
// Calculate y direction via hit Factor
5252
float y = HitFactor(transform.position,

Assets/Ignorance/Demo/PongChamp/Scripts/Ball.cs

-69
This file was deleted.

Assets/Ignorance/Demo/PongChamp/Scripts/Ball.cs.meta

-12
This file was deleted.

Assets/Ignorance/Demo/PongChamp/Scripts/Player.cs

-28
This file was deleted.

Assets/Ignorance/Demo/PongChamp/Scripts/Player.cs.meta

-12
This file was deleted.

0 commit comments

Comments
 (0)