Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
tetra-tower
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Oenos
tetra-tower
Commits
4458bd87
Commit
4458bd87
authored
Feb 22, 2019
by
18류지석
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
이제 인벤토리 캔버스 꺼놔도 됨 ㅎㅎ
parent
a7668b1f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
InventoryManager.prefab
...Prefabs/UI/In-Game UI/InventoryUI/InventoryManager.prefab
+1
-0
InventoryManager.cs
Assets/Scripts/Item/InventoryManager.cs
+2
-3
No files found.
Assets/Prefabs/UI/In-Game UI/InventoryUI/InventoryManager.prefab
View file @
4458bd87
...
@@ -51,6 +51,7 @@ MonoBehaviour:
...
@@ -51,6 +51,7 @@ MonoBehaviour:
m_Script
:
{
fileID
:
11500000
,
guid
:
674793b622d7c184882dfeb8784bbf92
,
type
:
3
}
m_Script
:
{
fileID
:
11500000
,
guid
:
674793b622d7c184882dfeb8784bbf92
,
type
:
3
}
m_Name
:
m_Name
:
m_EditorClassIdentifier
:
m_EditorClassIdentifier
:
ui
:
{
fileID
:
0
}
droppedPrefab
:
{
fileID
:
1610049888013262
,
guid
:
ee63f05b79e18ce4bad2c226aa70a28e
,
droppedPrefab
:
{
fileID
:
1610049888013262
,
guid
:
ee63f05b79e18ce4bad2c226aa70a28e
,
type
:
2
}
type
:
2
}
popoutStrengthMultiplier
:
9
popoutStrengthMultiplier
:
9
...
...
Assets/Scripts/Item/InventoryManager.cs
View file @
4458bd87
...
@@ -6,7 +6,7 @@ public class InventoryManager : Singleton<InventoryManager> {
...
@@ -6,7 +6,7 @@ public class InventoryManager : Singleton<InventoryManager> {
public
List
<
Item
>
itemList
=
new
List
<
Item
>();
public
List
<
Item
>
itemList
=
new
List
<
Item
>();
public
List
<
Addon
>
addonList
=
new
List
<
Addon
>();
public
List
<
Addon
>
addonList
=
new
List
<
Addon
>();
InventoryUI
ui
;
public
InventoryUI
ui
;
public
List
<
string
>[]
itemPool
=
new
List
<
string
>[
4
];
public
List
<
string
>[]
itemPool
=
new
List
<
string
>[
4
];
public
List
<
string
>[]
addonPool
=
new
List
<
string
>[
4
];
public
List
<
string
>[]
addonPool
=
new
List
<
string
>[
4
];
public
GameObject
droppedPrefab
;
public
GameObject
droppedPrefab
;
...
@@ -16,8 +16,7 @@ public class InventoryManager : Singleton<InventoryManager> {
...
@@ -16,8 +16,7 @@ public class InventoryManager : Singleton<InventoryManager> {
private
void
Start
()
private
void
Start
()
{
{
ui
=
GameObject
.
Find
(
"InventoryCanvas"
).
GetComponent
<
InventoryUI
>();
ui
.
gameObject
.
SetActive
(
false
);
GameObject
.
Find
(
"InventoryCanvas"
).
SetActive
(
false
);
player
=
GameObject
.
Find
(
"Player"
);
player
=
GameObject
.
Find
(
"Player"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment