Wesley13· 1408 阅读 ·2021-10-11 # 框架工具# position# 相机# backgroundsunity2D背景移动补偿从而获得3d错觉效果 2d平台跳跃游戏当相机移动的时候背景跟随进行微调移动,从而使得玩家获得3d的错觉usingSystem.Collections;usingSystem.Collections.Generic;usingUnityEngine;publicclassBackGroundParallax:MonoBehaviour{pub