別のアニメーションが終了した後にアニメーションを再生するコードがあります。 は、ここに私のコードです:アニメーションシーケンスコードの2つの問題
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AnimationSequence : MonoBehaviour {
public Animation First;
public Animation Second;
// Use this for initialization
void Start() {
First.GetComponent<Animation>();
Second.GetComponent<Animation>();
}
// Update is called once per frame
void Update() {
if (First.IsPlaying = false){
Second.Play;
}
}
}
そして、私は2つのエラーを取得:変数、プロパティまたはインデクサ
- 代入の左辺を、インクリメント、デクリメントは、待って、新しいオブジェクトの表現は、文
のように宣言する必要がありますか? – jhhoff02
行19,13および20,3 –
と、上記のコードのどの行が表示されていますか? – jhhoff02