A 2D Farming RPG
This is just a simple 2D farming RPG game
Loading...
Searching...
No Matches
ItemDetails.cs
Go to the documentation of this file.
1
using
UnityEngine;
2
6
[System.Serializable]
7
public
class
ItemDetails
8
{
9
public
string
m_ItemDescription
;
10
public
string
m_ItemLongDescription
;
11
12
public
Sprite
m_ItemSprite
;
13
14
public
short
m_ItemUseGridRadius
;
15
public
float
m_ItemUseRadius
;
16
public
int
m_ItemCode
;
17
public
ItemType
m_ItemType
;
18
19
public
bool
m_IsStartingItem
;
20
public
bool
m_CanPickedUp
;
21
public
bool
m_CanBeDropped
;
22
public
bool
m_CanBeEaten
;
23
public
bool
m_CanBeCarried
;
24
}
ItemType
ItemType
Describe the item type
Definition:
Enums.cs:162
ItemDetails
This class holds information of items.
Definition:
ItemDetails.cs:8
ItemDetails.m_IsStartingItem
bool m_IsStartingItem
Definition:
ItemDetails.cs:19
ItemDetails.m_ItemUseGridRadius
short m_ItemUseGridRadius
Definition:
ItemDetails.cs:14
ItemDetails.m_ItemLongDescription
string m_ItemLongDescription
Definition:
ItemDetails.cs:10
ItemDetails.m_CanBeDropped
bool m_CanBeDropped
Definition:
ItemDetails.cs:21
ItemDetails.m_ItemSprite
Sprite m_ItemSprite
Definition:
ItemDetails.cs:12
ItemDetails.m_ItemType
ItemType m_ItemType
Definition:
ItemDetails.cs:17
ItemDetails.m_CanBeCarried
bool m_CanBeCarried
Definition:
ItemDetails.cs:23
ItemDetails.m_CanBeEaten
bool m_CanBeEaten
Definition:
ItemDetails.cs:22
ItemDetails.m_ItemCode
int m_ItemCode
Definition:
ItemDetails.cs:16
ItemDetails.m_ItemDescription
string m_ItemDescription
Definition:
ItemDetails.cs:9
ItemDetails.m_CanPickedUp
bool m_CanPickedUp
Definition:
ItemDetails.cs:20
ItemDetails.m_ItemUseRadius
float m_ItemUseRadius
Definition:
ItemDetails.cs:15
Assets
Scripts
Item
ItemDetails.cs
Generated on Thu Jun 1 2023 20:52:47 for A 2D Farming RPG by
1.9.5