public override void RestoreStateFromSave(SerializableSaveObject savedObject) { S save = savedObject as S; save?.LoadSave(this as T); }
public virtual void RestoreStateFromSave(SerializableSaveObject savedObject) { }
public void RestoreStateFromSave(SerializableSaveObject savedObject) { (savedObject as DynamicObjectSave)?.LoadSave(this); }