|
Post by airoll on Aug 11, 2023 4:50:21 GMT
Hi, if I define my class with backing fields (see the example below), will that work with SimpleSQL?
public class Player { public string Name { get { return m_Name; } set { m_Name = value; } }
private string m_Name; }
|
|
|
Post by echo17 on Aug 11, 2023 8:50:15 GMT
Yes, you can do that. I've included an encryption example with the plugin that shows using private backing fields for the reflected properties. I'm attaching the relevant code from the plugin: EncryptedData.cs (3.26 KB)
|
|