If you export your project by using as a Library, to extend the default Tuanjie ability, you create your own custom ability and set it as the application’s entry point. The process to do this is as follows:
TuanjiePlayerAbility
class.ability
as the application’s entry point.After you do this, you can implement custom behavior in your ability to control interactions between Tuanjie and OpenHarmony.
If you export your project by default, not as using as a Library, it is not recommended to create a custom ability.