Advertisement
DugganSC

Untitled

Jun 2nd, 2024
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. public class LegsScript : MonoBehaviour
  2. {
  3. private void OnCollisionEnter(Collision collision)
  4. {
  5. Debug.Log("Collision?");
  6. FallingTable table = transform.parent.GetComponent<FallingTable>();
  7. table.Selected = false;
  8. SpawnManager.Instance.SpawnNext();
  9. }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement