Global Game Jam 2021
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
517 B

  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public class YeetHandle : MonoBehaviour
  5. {
  6. private BoxCollider m_handleArea;
  7. public bool held { get; set; }
  8. // Start is called before the first frame update
  9. void Start()
  10. {
  11. m_handleArea = gameObject.AddComponent<BoxCollider>();
  12. m_handleArea.isTrigger = true;
  13. m_handleArea.size = new Vector3(2, 2, 2);
  14. }
  15. // Update is called once per frame
  16. void Update()
  17. {
  18. }
  19. }