Beispiel #1
0
 private void Awake()
 {
     _sensorObjPos    = GetComponent <Transform>();
     _moveGoods       = moveGoodsObj.GetComponent <MoveGoods>();
     _myPlayerManager = FindObjectOfType <PlayerManager>();
     gameObject.SetActive(false);
 }
Beispiel #2
0
 //[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);
 }