Is there a way I can Trigger an Animation by Not Colliding with anything?

Hi Everyone it's me again, I'm getting pretty Attached to Unity lately But I've Come across a dud, Lately I've been trying to Make it that my Player would Trigger an Animation whenever It Has No Collision happening, So Basically what I'm saying is like a Mid-air Deployement for the Animation, But I'm stopped here I've thought up until now On ways for this.Nothing yet, I completely am Stuck on this, By Far I Could Use a script to help me and Fix that, So If anyone can Find a way for that (other than already knowing), Please Inform of it to me.

Thanks In Consideration -Leon

I would set up a collider counter on the object that you want to animate when not colliding. When the object gets collider/trigger animations, increment the counter. When an object ends collision/exits the trigger, decrement the counter. When the counter is at zero and is added to, stop the animations. When the counter decrements back to 0, start the animation again.

Here's some pseudo-code to show what I mean (C#):

using System;
using UnityEngine;

public class AnimateNoTriggers : MonoBehaviour  {

private int collisionCounter = 0;

public Animation myAnimation;

void Start(){
    myAnimation.Play("NotCollidingAnimation");  
}

void OnTriggerEnter(Collider c){
    if(collisionCounter == 0){
        animation.Stop();   
    }
    collisionCounter++;
}

void OnTriggerExit(Collider c){
    collisionCounter--;
    if(collisionCounter == 0){
        myAnimation.Play("NotCollidingAnimation");
    }
}
}