Quantcast
Channel: Answers for "iTween-Error :: "Cannot cast from source type to destination type""
Browsing latest articles
Browse All 4 View Live

Answer by Mike 3

It probably needs to be cam.transform for all of those cam references - i haven't used the library but my guess is it takes transforms to move objects

View Article



Answer by pixelplacement

Actually you'll need cam to be a GameObject and the callback needs to be sent as a string: "onComplete": "toggleActive"Hope that helps!

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images