Making a shortcut for checking null component in unity - C#