Converted GameObject to struct, and updated all references.