So I have my custom classes,
public class Aclass{
public string some;
public int some2;
public float some3;
}
and if I only check [some] and [some2] variables at "Manage Type" to save,
when game loaded, how [some3] variable will be?
Will it be initialized to default value? or will it maintain the value I input when unity editor mode?
Not specified variables?
Re: Not specified variables?
Hi there,
Assuming you're using self-assigning load, it will remain the same as the value set in the Editor.
If you're not using self-assigning load it will be the same value as when an instance of the object is created.
All the best,
Joel
Assuming you're using self-assigning load, it will remain the same as the value set in the Editor.
If you're not using self-assigning load it will be the same value as when an instance of the object is created.
All the best,
Joel