Skip to content

Instantly share code, notes, and snippets.

@triacontane
Last active December 5, 2017 15:46
Show Gist options
  • Save triacontane/6f7b2f4c164f5696fb797fe35bfc799c to your computer and use it in GitHub Desktop.
Save triacontane/6f7b2f4c164f5696fb797fe35bfc799c to your computer and use it in GitHub Desktop.
指定したイベントのアニメーションパターン(0, 1, 2)をスクリプトで更新します。
var eventId = 10;
var character = this.character(eventId);
var pattern = 0;
character._originalPattern = pattern;
character._pattern = pattern;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment