called when the cube hits the floor void OnCollisionEnter2D(Collision2D col) { Debug.Log("OnCollisionEnter2D"); } }. Example2. This creates the floor.
確定! 回上一頁