Ejemplo n.º 1
0
        private void OnReset()
        {
            if (nativeGUIWidget != null)
                nativeGUIWidget.Destroy();

            nativeGUIWidget = new NativeGUIWidget();

            // Restore saved values after reset
            nativeGUIWidget.Skin = serializableData.skin;
            nativeGUIWidget.Camera = serializableData.camera;
        }
Ejemplo n.º 2
0
        private void OnReset()
        {
            if (nativeGUIWidget != null)
            {
                nativeGUIWidget.Destroy();
            }

            nativeGUIWidget = new NativeGUIWidget();

            // Restore saved values after reset
            nativeGUIWidget.Skin   = serializableData.skin;
            nativeGUIWidget.Camera = serializableData.camera;
        }
Ejemplo n.º 3
0
 private static extern void Internal_Create(NativeGUIWidget instance);