Event flag. Functions with this attribute will listen for collision events only for the instance selected in the arguments (by name and / or tag).
Component name
Component tag.
@Collision("Wolf") void onWolfCollision(Instance wolf) { ... }
See Implementation
Event flag. Functions with this attribute will listen for collision events only for the instance selected in the arguments (by name and / or tag).