/* КОД СТАРЫЙ using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class OWUse : MonoBehaviour { GameObject Player; public int Distance; Button use; public Button.ButtonClickedEvent Event; private MOW mOW; bool b = true; public bool Show = true; // Start is called before the first frame update void Start() { Player = GameObject.Find("Player"); use = GameObject.Find("use").GetComponent