//Set our proptype to noProp and turn off all child objects
 public void Start()
 {
     currentType = XsProp.XsPropType.noProp;
     for (int i = 0; i < transform.childCount; i++)
     {
         transform.GetChild(i).gameObject.SetActive(false);
     }
 }
        //swaps out prop type, allowing us to turn on the correct game object. Called in XsLiveAnimator.
        public void SwapPropType(XsProp.XsPropType type)
        {
            currentType = type;
            for (int i = 0; i < transform.childCount; i++)
            {
                transform.GetChild(i).gameObject.SetActive(false);
            }

            switch (type)
            {
            case XsProp.XsPropType.noProp:
                break;

            case XsProp.XsPropType.gun:
                gun.gameObject.SetActive(true);
                break;

            case XsProp.XsPropType.sword:
                sword.gameObject.SetActive(true);
                break;
            }
        }