Welcome,
Guest
. Please
login
or
register
.
April 22, 2026, 01:01:13 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Problem with UnityScript
« previous
next »
Print
Pages: [
1
]
Author
Topic: Problem with UnityScript (Read 3646 times)
Scellow
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 3
Problem with UnityScript
«
on:
January 20, 2014, 11:13:17 AM »
Hi,
I followed the F.A.Q. to make NGUI to work with US but i still get an error
--
NGUI
-----
Examples
-----
Plugins
--------
NGUI
-----------
Interaction
-----------
Internal
-----------
Tweening
-----------
UI
-----
Ressources
-----
Scripts
--------
Editor
Assets
/
Test
/
Scripts
/
Gui
/
NGUI_List_Save_Button
.
js
(
37
,
21
)
:
BCE0005
:
Unknown identifier
:
'NGUITools'
.
#pragma strict
var
slotButton
:
GameObject
;
var
playerManager
:
PlayerManager
;
function Awake
(
)
{
playerManager
=
GetComponent
(
PlayerManager
)
;
}
function Start
(
)
{
CreateButton
(
)
;
}
function Update
(
)
{
}
function CreateButton
(
)
{
for
(
var
i
=
0
;
i
<
playerManager
.
saveHolder
.
Count
;
i
++
)
{
var
parent
:
GameObject
;
var
child
:
GameObject
;
parent
=
GameObject
.
Find
(
"Panel_Button"
)
;
child
=
NGUITools
.
AddChild
(
parent,slotButton
)
;
child
.
transform
.
localPosition
=
new
Vector3
(
0
+
i
*
60
,
0
)
;
}
}
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Problem with UnityScript
«
Reply #1 on:
January 21, 2014, 02:00:26 AM »
The "Plugins" folder should be outside the "NGUI" folder.
Logged
Scellow
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 3
Re: Problem with UnityScript
«
Reply #2 on:
January 21, 2014, 07:57:06 AM »
Quote from: ArenMook on January 21, 2014, 02:00:26 AM
The "Plugins" folder should be outside the "NGUI" folder.
Oh thanks a lot! I don't know why i missed this lol
Thanks a lot for NGUI the best Unity plugin!
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Problem with UnityScript