summaryrefslogtreecommitdiff
path: root/ActiveRagdoll/Assets/TABG/Scripts/Data/AnimationHandler.cs
blob: 6591e45b860ba89070d2430a1b32f978c7c790c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace Rigging.Data
{

    using System;

    [Serializable]
    public class IntString
    {
        public int theInt;

        public string theString;
    }


    public class AnimationHandler : RiggingDataBase
    {
        /*
        0 Stand
        1 Sprint 
        2 Run
        3 Jump
         */
        public IntString[] animationStates;

        public int animationState; // 当前角色的动作

        public void ChangeAnimationState(byte newState)
        {
            animationState = newState;
        }

    }

}