|
|
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
-
- public class YeetHandle : MonoBehaviour
- {
- private BoxCollider m_handleArea;
-
- public bool held { get; set; }
-
- public GameObject lastHeld { get; set; }
-
- // Start is called before the first frame update
- void Start()
- {
- m_handleArea = gameObject.AddComponent<BoxCollider>();
-
- m_handleArea.isTrigger = true;
- m_handleArea.size = new Vector3(2, 2, 2);
- }
-
- // Update is called once per frame
- void Update()
- {
-
- }
-
- }
|