- Home /
itween cameraFadeTo not working
Hi its not like i m using itween for thr first time...but
iTween.CameraFadeFrom(1, .3f);
this line is showing following error
iTween Error: You must first add a camera fade object with CameraFadeAdd() before atttempting to use camera fading.
UnityEngine.Debug:LogError(Object)
iTween:CameraFadeFrom(Hashtable) (at Assets/iTween/Plugins/iTween.cs:291)
iTween:CameraFadeFrom(Single, Single) (at Assets/iTween/Plugins/iTween.cs:235)
MenuScreen:Start() (at Assets/Scripts/MenuScreen.cs:25)
what i am supposed to do to make this thing work or is there any other alternative for camera fade effect other then itween in unity
Thanks in advance
Answer by thaiscorpion · Dec 18, 2013 at 04:31 PM
It's been a long time since I used iTween but I remeber having to set that function first like this:
iTween.CameraFadeAdd();
iTween.CameraFadeFrom(1, .3f);
well it is not showing any error....and also not the effect...so I am petty much confused right now...he he :D
Your answer
Follow this Question
Related Questions
Alternatives to iTweenPath for creating path for camera 2 Answers
Camera animation using EasyTouch's swipe and iTween 1 Answer
Switching Between (many) different iTween Paths (C#) 0 Answers
Camera switching with iTween Touch 1 Answer
Get a child object to rotate a parent to the cameras direction -1 Answers