initialize method
Implementation
void initialize(Vector2 size) async {
if (!hasGameRef) return;
directional?.initialize(this, gameRef.camera.viewport);
for (var action in actions) {
action.initialize(this, gameRef.camera.viewport);
}
}
void initialize(Vector2 size) async {
if (!hasGameRef) return;
directional?.initialize(this, gameRef.camera.viewport);
for (var action in actions) {
action.initialize(this, gameRef.camera.viewport);
}
}