Quantcast
Channel: Questions in topic: "error"
Viewing all articles
Browse latest Browse all 7934

(353,27): error CS1525: Unexpected symbol `(', expecting `)', `,', `;', `[', or `='

$
0
0
I am trying to play animation late . I am getting errors. I am doing coroutines on this network health script . When the gameobject deactivates , the animation doesn't play . The gameobject just disappear when I kill the enemy up close to the player and the move animation continues to play during enemy vanishing. Here is what I got for code . public void Start() { StartCoroutine(Go(5f)); } IEnumerator Go(float wait) { if (m_DeactivateOnDeath) Scheduler.Schedule(m_DeactivateOnDeathDelay, Deactivate); yield return new WaitForSeconds(5f); this.GetComponent().Play("die"); GetComponent().Play(); }

Viewing all articles
Browse latest Browse all 7934

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>