/* Returns data not stored in prefab for this Actor */ public Data GetData() { Data dat = new Data(); dat.displayName = displayName; dat.prefabName = prefabName; dat.x = transform.position.x; dat.y = transform.position.y; dat.z = transform.position.z; Vector3 rot = head.transform.rotation.eulerAngles; dat.xr = rot.x; dat.yr = rot.y; dat.zr = rot.z; dat.stack = 1; dat.stackSize = 1; dat.ints.Add(id); arms.Save(); dat.equipSlot = arms; dat.doll = doll; dat.inventoryRecord = inventory.GetData(); dat.lastPos = lastPos; dat.strings.Add(speechTreeFile); dat.speechTree = speechTree; return dat; }