public async ValueTask Attack(string style = "Attack")
        {
            var module      = await moduleTask.Value;
            var spriteModel = await AnimationSpritesData.GetSpriteData(style);

            module.InvokeVoid("attack", spriteModel);
        }
        public async ValueTask Run()
        {
            var module      = await moduleTask.Value;
            var spriteModel = await AnimationSpritesData.GetSpriteData("Run");

            var attackModel = await AnimationSpritesData.GetSpriteData("Attack");

            var jumpAttack = await AnimationSpritesData.GetSpriteData("JumpAttack");

            module.InvokeVoid("initRun", spriteModel, attackModel, jumpAttack);
        }
        public async ValueTask Init()
        {
            //objectReference = DotNetObjectReference.Create(this);
            var module = await moduleTask.Value;
            Dictionary <string, SpriteDataModel> sprites = new Dictionary <string, SpriteDataModel>
            {
                ["Run"]        = await AnimationSpritesData.GetSpriteData("Run"),
                ["Attack"]     = await AnimationSpritesData.GetSpriteData("Attack"),
                ["JumpAttack"] = await AnimationSpritesData.GetSpriteData("JumpAttack"),
                ["Idle"]       = await AnimationSpritesData.GetSpriteData("Idle"),
                ["Dead"]       = await AnimationSpritesData.GetSpriteData("Dead"),
                ["Bomb"]       = await AnimationSpritesData.GetSpriteData("Bomb")
            };

            module.InvokeVoid("initAnimation", sprites);
        }