unity: Generate partial class