0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

FarmRPG Unity Inventory&Item まとめ Part1 ~ Part11

Posted at

参考

Section 7 Inventory & Items

一覧

Part1 1/2  InvnetoryManager ScritableObjectのデータを読み込む

image.png

Part2 2/2 InventoryManager playerがItemに接触したときの処理を実装

ffffffffffffdsafdasnjlkljllkklll.gif

Part3  1/2 インベントリにアイテムを加える インベントリにそのアイテムがない場合

ffffffffffffdsafdasnjlkljllkklllnmn.,mn.gif

Part4  2/2 インベントリにアイテムを加える インベントリにアイテムが既にある場合

ffffffffffffdsafdasnjlklj.gif

Part5 InventoryをuGUIで作成する

image.png

Part6 Inventoryの情報をUIに反映 オブサーバーパターンを使用

0601.gif

Part7 1/2 インベントリのアイテムをドラッグ ドラッグ中アイテムがマウスが追従する

0602.gif

Part8 2/2 ドラッグ終了時の処理を追加

0603.gif

Part9 inventorySlotのアイテムを交換

0604.gif

Part10 InvenotrySlotにカーソルを合わせると説明欄を表示する

0605.gif

Part11  InventorySlotのハイライト線(赤線)を表示

0606.gif

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?