Closed thautwarm closed 2 years ago
https://github.com/thautwarm/Traffy.UnityPython/blob/d39a8c6437c26763edf0901aa3d8ae8c6e46e0e7/UnityPython.BackEnd/src/Traffy.Objects/Class.cs#L450
use Class[key.ToIntern()] = value instead, which automatically resolves if the value is a method/property/staticmethod/classmethod/classfield.
Class[key.ToIntern()] = value
https://github.com/thautwarm/Traffy.UnityPython/blob/d39a8c6437c26763edf0901aa3d8ae8c6e46e0e7/UnityPython.BackEnd/src/Traffy.Objects/Class.cs#L450
use
Class[key.ToIntern()] = value
instead, which automatically resolves if the value is a method/property/staticmethod/classmethod/classfield.