Skip to main content
7 events
when toggle format what by license comment
Jan 14 at 3:00 comment added DMGregory I'm not able to reproduce that error. Placing [System.Serializable] directly above public class FaultModules compiles correctly in my sample project. Did you potentially try to place the attribute somewhere else, or misread the error message? Try to share a Minimal Complete Verifiable Example, with the full text of the error message.
Jan 14 at 2:45 history edited DMGregory CC BY-SA 4.0
Typo
Jan 14 at 1:43 comment added rpatton583 When I marked it as [System.Serializable] I got a compiler error saying something to the effect of "Duplicate of [System.Serializable]" - other than putting in its own script, is there a way to fix that?
Jan 14 at 0:18 comment added DMGregory The FaultModules type is not marked as [System.Serializable]
Jan 13 at 22:19 vote accept rpatton583
Jan 13 at 22:08 comment added rpatton583 That did it, thanks! Still doesn't explain why faultList isn't showing up in the Inspector, but I guess that's a separate mystery...
Jan 13 at 22:03 history answered LudoProf CC BY-SA 4.0