www.pryy.net > unity sEttriggEr

unity sEttriggEr

Animator有状态机来控制动画帧的播放 比如有setTrigger的方法 建议你看看官方文档 打开animator界面有默认的state,你新建一个空的state,把空state设置为默认state就好了

public class PlayerControl : MonoBehaviour { [HideInInspector] public bool facingRight4 = true; // For determining which way the player is currently facing. //为了确定主角的当前状态(左右) [HideInInspector] public bool jump = ...

网站地图

All rights reserved Powered by www.pryy.net

copyright ©right 2010-2021。
www.pryy.net内容来自网络,如有侵犯请联系客服。zhit325@qq.com