demo for cpp java unity