最近在研究unity游戏,在研究到粒子的时候,为了让粒子能按照规定路线移动,所以网上下载了一个iTweenPath的插件,
(为了方便后面有人需要,放入链接:http://www.pixelplacement.com/site/2010/12/03/visual-editor-for-itween-motion-paths/)
后来导入到unity后发现iTweenPath.cs脚本报错:
(错误提示:Assets/Pixelplacement/iTweenPath/iTweenPath.cs(50,5): error CS0103: The name `iTween’ does not exist in the current context
错误CS0103:当前上下文中不存在“iTween”名称);
后来琢磨一下发现是没有导入iTween包,于是从官方Asset Stroe中下载一个包(选择如下图),将下载的iTween包也导入unity中即可。
(链接直传:https://assetstore.unity.com/packages/tools/animation/itween-84)