コード例 #1
0
 public void PlaceItem(BasicItem item)
 {
     //item.transform.position = ItemPos.position;
     //item.transform.rotation = ItemPos.rotation;
     //item.transform.localScale = ItemPos.localScale;
     //item.gameObject.SetActive(true);
     item.PlacedAtPedestal();
     Destroy(item);
     Destroy(transform.parent.gameObject);
 }
コード例 #2
0
 public void PlaceItem(BasicItem item)
 {
     placedItem = item;
     item.transform.position = itemCenter.position;
     item.PlacedAtPedestal();
 }