예제 #1
0
    static void Eye_Blink_Anim_Command(string[] param)
    {
        string animation_name = param[0];

        string[] sprite_names = new string[param.Length - 1];
        int      j            = 1;

        for (int i = 0; i < sprite_names.Length; i++)
        {
            sprite_names[i] = param[j];
            j++;
        }
        CharacterAnimations.CreateEyeAnimation(animation_name);
        CharacterAnimations.AssignEyeAnimation(animation_name, sprite_names);
    }