Search found 2 matches

by nghugh
Tue Nov 30, 2021 9:49 pm
Forum: General Discussion
Topic: silent failure saving Dictionary with bad value type
Replies: 2
Views: 640

Re: silent failure saving Dictionary with bad value type

makes sense, thanks for the detailed reply, Joel (:
by nghugh
Tue Nov 30, 2021 4:36 pm
Forum: General Discussion
Topic: silent failure saving Dictionary with bad value type
Replies: 2
Views: 640

silent failure saving Dictionary with bad value type

hello, please see the following code: public class Person { public string Name; public int Age; // providing two parameter constructor deletes implicit zero parameter constructor public Person(string name, int age) { Name = name; Age = age; } } public class MyTestBehaviour: MonoBehaviour { public Di...