how can I check if an object is not null. For example, I want to access a component on a game object. Get Component gives me the result.
But how do I check for null?
In my test case, there is a SpawnAnimation script attached to my game object which also holds the FlowScript. I’ve added “SpawnAnimation” to the types and I call GetComponent on self. I want to check the result against null.