natanel...@gmail.com
unread,Apr 6, 2018, 8:42:29 AM4/6/18Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Developer Support
hi,
i have been trying to make use of this tool in my project, but have been getting errors as i try to use it on objects which are not of MonoBehaviour.
i keep getting this error:
“ArgumentException: constructorArguments
Parameter name: No constructor found for randomstaff matching method signature [System.String]. ”
was wondering if this is cause i wasnt using MonoBehaviour, or from my coding. here is the code for the class i made to try the tool:
[System.Serializable]
public class randomstaff {
[SerializeField, Candlelight.PropertyBackingField(typeof(randomstaff),
“TSTR”)]
private string tstr = “”;
public string TSTR { get { return tstr; } set { if (value != tstr) tstr =
value; } }
[SerializeField, Candlelight.PropertyBackingField(typeof(randomstaff),
“TINT”)]
private int tint = 0;
public int TINT { get { return tint; } set { if (value != tint) tint =
value; } }
public randomstaff() {
tstr = “”;
tint = 0;
}
}
would really appropriate your help on that and really helpful tool
Natanel