Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class LegsScript : MonoBehaviour
- {
- private void OnCollisionEnter(Collision collision)
- {
- Debug.Log("Collision?");
- FallingTable table = transform.parent.GetComponent<FallingTable>();
- table.Selected = false;
- SpawnManager.Instance.SpawnNext();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement