Quantcast
Channel: Latest Questions by Napoleonite
Viewing all articles
Browse latest Browse all 12

Update() is only called once?

$
0
0
public class testa : testb { void Update () { Debug.LogWarning("TestA's update"); } } // This one is attached to an empty gameobject in the scene public class testb : MonoBehaviour { void Update () { Debug.LogWarning("TestB's update"); } } The console only outputs "TestA's update" ONCE. Why and how do I solve this?

Viewing all articles
Browse latest Browse all 12

Trending Articles



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