private void OnReset()
        {
            if (nativeGUIWidget != null)
                nativeGUIWidget.Destroy();

            nativeGUIWidget = new NativeGUIWidget();

            // Restore saved values after reset
            nativeGUIWidget.Skin = serializableData.skin;
            nativeGUIWidget.Camera = serializableData.camera;
        }
Exemple #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;
        }
Exemple #3
0
 private static extern void Internal_Create(NativeGUIWidget instance);