// Use this for initialization void Start() { //Gets the active player object in scene - Use ActivePlayer instead of Player ActivePlayer = GameObject.Find("Low Poly Warrior"); ActiveInventory = (Inventoryold)FindObjectOfType(typeof(Inventoryold)); //mAnimator = GetComponent<Animator>(); }