Welcome,
Guest
. Please
login
or
register
.
April 20, 2026, 11:37:07 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Error after upgrading unity to 4.6.1
« previous
next »
Print
Pages: [
1
]
Author
Topic: Error after upgrading unity to 4.6.1 (Read 3080 times)
oskanaan
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 4
Error after upgrading unity to 4.6.1
«
on:
January 05, 2015, 05:47:03 AM »
Hi,
I am using NGUI 3.0.8. After upgrading unity to version 4.6.1 I get the following error:
Can
't add script behaviour UIRect. The script class can'
t be
abstract
!
UnityEngine
.
GameObject
:
AddComponent
(
)
UITweener
:
Begin
(
GameObject, Single
)
(
at Assets
/
Plugins
/
NGUI
/
Tweening
/
UITweener
.
cs
:
385
)
TweenAlpha
:
Begin
(
GameObject, Single, Single
)
(
at Assets
/
Plugins
/
NGUI
/
Tweening
/
TweenAlpha
.
cs
:
60
)
GuiUtils
:
FadeIn
(
GameObject, Vector3, Vector3, Single
)
(
at Assets
/
Internal
/
scripts
/
Utils
/
GuiUtils
.
js
:
7
)
The fadein function is as follows:
static
function FadeIn
(
item
:
GameObject,fromPosition
:
Vector3,toPosition
:
Vector3,alpha
:
float
)
{
MoveIn
(
item,fromPosition,toPosition
)
;
var
tweenAlpha
:
TweenAlpha
=
TweenAlpha
.
Begin
(
item,
.
2,alpha
)
;
tweenAlpha
.
from
=
0
;
}
Any help to fix this is much appreciated.
Thanks!
Logged
oskanaan
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 4
Re: Error after upgrading unity to 4.6.1
«
Reply #1 on:
January 05, 2015, 06:04:42 AM »
Sorry, my bad, after upgrading to the latest NGUI version everything works fine...
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Error after upgrading unity to 4.6.1