Example #1
0
        public static PropertyStreamHandle BindStreamProperty(this Animator animator, Transform transform, Type type, string property)
        {
            PropertyStreamHandle propertyStreamHandle = new PropertyStreamHandle();

            InternalBindStreamProperty(animator, transform, type, property, out propertyStreamHandle);
            return(propertyStreamHandle);
        }
        public static PropertyStreamHandle BindStreamProperty(this Animator animator, Transform transform, Type type, string property, [DefaultValue("false")] bool isObjectReference)
        {
            PropertyStreamHandle propertyStreamHandle = new PropertyStreamHandle();

            InternalBindStreamProperty(animator, transform, type, property, isObjectReference, out propertyStreamHandle);
            return(propertyStreamHandle);
        }
        public static PropertyStreamHandle BindCustomStreamProperty(this Animator animator, string property, CustomStreamPropertyType type)
        {
            PropertyStreamHandle propertyStreamHandle = new PropertyStreamHandle();

            InternalBindCustomStreamProperty(animator, property, type, out propertyStreamHandle);
            return(propertyStreamHandle);
        }
Example #4
0
 static public int constructor(IntPtr l)
 {
     try {
         UnityEngine.Experimental.Animations.PropertyStreamHandle o;
         o = new UnityEngine.Experimental.Animations.PropertyStreamHandle();
         pushValue(l, true);
         pushValue(l, o);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Example #5
0
 extern private static void InternalBindStreamProperty([NotNull] Animator animator, [NotNull] Transform transform, [NotNull] Type type, [NotNull] string property, out PropertyStreamHandle propertyStreamHandle);
 extern private static void InternalBindCustomStreamProperty([NotNull] Animator animator, [NotNull] string property, CustomStreamPropertyType propertyType, out PropertyStreamHandle propertyStreamHandle);