private void Awake() { _sensorObjPos = GetComponent <Transform>(); _moveGoods = moveGoodsObj.GetComponent <MoveGoods>(); _myPlayerManager = FindObjectOfType <PlayerManager>(); gameObject.SetActive(false); }
//[SerializeField] private RoomObjList roomObjList = default; // Start is called before the first frame update private void Awake() { _showCanPutMerchandise = FindObjectOfType <ShowCanPutMerchandise>(); _menuButtonManager = FindObjectOfType <MenuButtonManager>(); _moveGoods = moveGoodsObj.GetComponent <MoveGoods>(); _menuButtonManager.InActivePutMerchandisePanel(); _instancePrefab = new InstancePrefab(); Debug.Log(" _showCanPutMerchandise: " + _showCanPutMerchandise); gameObject.SetActive(false); }