Quantcast
Viewing all articles
Browse latest Browse all 12

Update() is only called once?

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