コード例 #1
0
 internal static HandleRef getCPtr(VisualState obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
        public VisualTransition FindTransition(VisualState from, VisualState to)
        {
            IntPtr cPtr = NoesisGUI_PINVOKE.VisualStateGroup_FindTransition(swigCPtr, VisualState.getCPtr(from), VisualState.getCPtr(to));

    #if UNITY_EDITOR || NOESIS_API
            if (NoesisGUI_PINVOKE.SWIGPendingException.Pending)
            {
                throw NoesisGUI_PINVOKE.SWIGPendingException.Retrieve();
            }
    #endif
            return((VisualTransition)Noesis.Extend.GetProxy(cPtr, false));
        }
コード例 #3
0
        public VisualTransition FindTransition(VisualState from, VisualState to)
        {
            IntPtr cPtr = NoesisGUI_PINVOKE.VisualStateGroup_FindTransition(swigCPtr, VisualState.getCPtr(from), VisualState.getCPtr(to));

            return((VisualTransition)Noesis.Extend.GetProxy(cPtr, false));
        }
     public void SetCurrentState(FrameworkElement fe, VisualState state)
     {
         NoesisGUI_PINVOKE.VisualStateGroup_SetCurrentState(swigCPtr, FrameworkElement.getCPtr(fe), VisualState.getCPtr(state));
 #if UNITY_EDITOR || NOESIS_API
         if (NoesisGUI_PINVOKE.SWIGPendingException.Pending)
         {
             throw NoesisGUI_PINVOKE.SWIGPendingException.Retrieve();
         }
 #endif
     }
コード例 #5
0
 public void SetCurrentState(FrameworkElement fe, VisualState state)
 {
     NoesisGUI_PINVOKE.VisualStateGroup_SetCurrentState(swigCPtr, FrameworkElement.getCPtr(fe), VisualState.getCPtr(state));
 }