private void Start()
 {
     if (m_Profile != null)
     {
         m_ActiveProfile = Instantiate(m_Profile);
         Initialize();
     }
 }
 public void SetActiveProfile(FiniteStateMachineProfile profile)
 {
     m_ActiveProfile = profile;
     Initialize();
 }