public void SetParam(AnimationSettingDataType type, float param)
 {
     if (m_param != null)
     {
         m_param[(int)type] = param;
     }
 }
 public float GetParam(AnimationSettingDataType type)
 {
     if (m_param == null)
     {
         return(0.0f);
     }
     return(m_param[(int)type]);
 }
        // Initialize
        public bool Initialize(AnimationSettingData settingData)
        {
            if (m_param == null)
            {
                m_param = new float[(int)AnimationSettingDataType.Count];
                if (m_param == null)
                {
                    return(false);
                }
            }
            for (AnimationSettingDataType type = AnimationSettingDataType.LineCount; type < AnimationSettingDataType.Count; type++)
            {
                m_param[(int)type] = settingData.GetParam(type);
            }

            return(true);
        }