用途別リファレンス

Chara1
x=100;
y=100;
while(true){
    update();
}

function onUpdate(){ x++; }

onUpdate()はupdateupdateExが呼び出されたときにしたい処理をユーザが定義するメソッド。