![]() |
|
#23
|
|||
|
|||
|
Did you check if GamePlay is null before the cast?
Basicly you can do the cast using Code:
maddox.game.GameDef game = (maddox.game.GameDef)GamePlay; or Code:
maddox.game.GameDef game = GamePlay as maddox.game.GameDef; I tried both and both did work. Of course I still get the serialization exception. |
| Thread Tools | |
| Display Modes | |
|
|