- Home /
how to assign a variable to Debug.Log() ?
var money : float;
//this is what i have so far
Debug.Log(myData._iUser.Money == money);
i want to be able to assign the value from myData._iUser.Money to money how would i do this?
please help thanx :)
Comment
Best Answer
Answer by Eric5h5 · Sep 21, 2010 at 10:52 PM
You don't assign variables to Debug.Log. Debug.Log is for printing out variables that already exist.