private static PlayableHandle CreateHandle <T>(PlayableGraph graph, int inputCount)
            where T : struct, IAnimationJob
        {
            IntPtr jobReflectionData = ProcessAnimationJobStruct <T> .GetJobReflectionData();

            PlayableHandle handle = PlayableHandle.Null;

            if (!CreateHandleInternal(graph, ref handle, jobReflectionData))
            {
                return(PlayableHandle.Null);
            }

            handle.SetInputCount(inputCount);

            return(handle);
        }
        private static PlayableHandle CreateHandle <T>(PlayableGraph graph, int inputCount) where T : struct, IAnimationJob
        {
            IntPtr jobReflectionData = ProcessAnimationJobStruct <T> .GetJobReflectionData();

            PlayableHandle @null = PlayableHandle.Null;
            bool           flag  = !AnimationScriptPlayable.CreateHandleInternal(graph, ref @null, jobReflectionData);
            PlayableHandle result;

            if (flag)
            {
                result = PlayableHandle.Null;
            }
            else
            {
                @null.SetInputCount(inputCount);
                result = @null;
            }
            return(result);
        }