Random.InitState

I’m having issues with using the Random.InitState(), keep getting Random does not have a definition for InitState.

I viewed previous comments that had similar messages… My class is scrGameManager and I’m not using a System.Random anywhere

I tried initializing a Random gameRdmNbrs but end up with the same errors so I’m at a loss, the documentation says there is a InitState function…

Any suggestions?

I remember trying fully qualifying, same message, no not using using System because from my understanding that is using the non unity libraries, I was trying to use the Unity version, and from my understanding that uses UnityEngine which I had listed.

I read once upon a time that one might have to explicitedly type in a special command to avoid the system from getting confused/ can’t find out what that was for the life of me, might be imagine things though too.

Do you mean?

UnityEngine.Random.InitState(System.Environment.TickCount);