void Awake() { //registered serializer/deserializer is called. FastJson.RegisterSerializer(typeof(CipherInt), CipherInt.Serialize); FastJson.RegisterDeserializer(typeof(CipherInt), CipherInt.Deserialize); }