#Start() only happens once

1 messages · Page 1 of 1 (latest)

tranquil linden
#

I'm instantiating 8 objects with:

    public void Start(){
        body = GetComponent<Rigidbody2D>();
        Vector2 dir = new Vector2(25*Mathf.Cos(num*45), 20*Mathf.Sin(num*45));
        body.velocity = dir;
        Debug.Log("Cos");
        Debug.Log(Mathf.Cos(num*45));
        Debug.Log("Sin");
        Debug.Log(Mathf.Sin(num*45));
        Debug.Log("Velocity");
        Debug.Log(dir);
    }   ```
but i'm only getting debug logs once, shouldnt each one of the 8 report debug logs?
night birch
#

Post a full screenshot of your Console, you might have Collapse enabled on it