private void OnReset() { if (nativeGUIWidget != null) nativeGUIWidget.Destroy(); nativeGUIWidget = new NativeGUIWidget(); // Restore saved values after reset nativeGUIWidget.Skin = serializableData.skin; nativeGUIWidget.Camera = serializableData.camera; }
private void OnReset() { if (nativeGUIWidget != null) { nativeGUIWidget.Destroy(); } nativeGUIWidget = new NativeGUIWidget(); // Restore saved values after reset nativeGUIWidget.Skin = serializableData.skin; nativeGUIWidget.Camera = serializableData.camera; }
private static extern void Internal_Create(NativeGUIWidget instance);