private void Start() { rigidbody = GetComponent <Rigidbody>(); animation = new AntityAnimation(transform); if (animation.moveAnim != null) { animation.moveAnim.SetBool("IsMove", true); } }
private void Start() { animation = new AntityAnimation(transform); }
private void Start() { player_rb = GetComponent <Rigidbody>(); animation = new AntityAnimation(transform); }