Changelog
All notable changes to Surfer will be documented in this page.
[2.18] December 2022
Surfer 2.18 is out!
Added
DebugLog reaction
Priority order to choose in which order events (with their reactions) must be triggered
Changed
Fixed
- UIToolkit inspector serialization for IF conditions
Removed
[2.17] October 2022
Surfer 2.17 is out!
Added
Changed
Fixed
- PlayMaker and Rewired integrations errors
Removed
[2.16] September 2022
Surfer 2.16 is out!
Added
- OnDragStateProgress event added to track progress of a Drag_State element
Changed
Fixed
- Various null ref exceptions
Removed
[2.15] July 2022
Surfer 2.15 is out!
Added
- Input Icons Manager !
Changed
Fixed
- Surfer gameObject keeps adding the component SUSafeAreaManager to itself in the Editor if you select it.
- ThemeManager not updating the name of every item-data in the Editor
Removed
[2.14] June 2022
Surfer 2.14 is out!
Added
Changed
- SafeArea resizer auto-handling
Fixed
- SafeArea resizer do not updating itself when adding or resetting the component
Removed
[2.13] April 2022
Surfer 2.13 is out!
Added
- Safe Area Manager ! (Both Runtime and Editor , compatible with Device Simulator)
Changed
Fixed
Removed
- Cleaned unused variables and hardcoded vars
[2.12] March 2022
Surfer 2.12 is out!
Added
- Theme Manager !
- Hover Selection , to easily select a UI canvas object on mouse over instead of using the entire SUElement component !
Changed
Fixed
Removed
- Cleaned unused variables and hardcoded vars
[2.11] February 2022
Surfer 2.11 is out!
Added
- Added Runtime UIState Management setup and creation!
- Added “On Orientation Changed” VisualScripting Event Unit!
Changed
Fixed
- Visual Scripting define symbols error for Unity 2021.2 or newer
Removed
[2.10] January 2022
Surfer 2.10 is out!
UIToolkit support has come ! (only from Unity 2021.2 or newer and currently with less feature than Canvas counterpart)
Added
UIToolkit
support for :UI States Management
Scenes Management
Custom Reactions
Custom Conditions
Custom Events
Orientation Events
Toggle Events
Slider Events
TextField Events
ScrollView Events
Dropdown Events
UIGenerics Events
Inspector Animations for : Color, Position, Scale ,Size, Rotation
Tooltip_State element type
Loading_Text element type
Visual Scripting
built-in 2021.1 support with custom units :Open State
Close State
Toggle State
On State Enter Event
On State Exit Event
Load Scene
Load Scene Async
On Scene Loaded Event
Unload Scene Async
On Scene Unloaded Event
Set Active Scene
Changed
- Orientation, Input ,States, Scene, Toggle, Slider, TextField, ScrollView, Dropdown logics are now separated data (HandlerData) classes usable from code too.
- Tooltip no more flips when reaching the ends of the screen. It just clamps
Fixed
[2.9] December 2021
Surfer 2.9 is out!
Added
Added 6 new events :
MonoBehaviour_OnApplicationPaused,
MonoBehaviour_OnApplicationUnpaused,
MonoBehaviour_OnApplicationGainFocus,
MonoBehaviour_OnApplicationLoseFocus,
Input_OldInput_OnAnyKeyDown,
Input_NewInput_OnAnyButtonPressed
Changed
- Old Input System, New Input System and Rewired callbacks are now interfaces
Fixed
DisableClickConstraint reaction not properly adjusting parent CanvasGroup
GenerateConstants null ref when input string is empty
[2.8] November 2021
Surfer 2.8 is out!
Added
Unscaled Time for DoTween Animations Reactions, in order to let animations run event on TimeScale equal to 0 (i.e. for Pause Menus )
Events data now accessible on custom Reactions and Conditions , even for Custom Surfer Events
Changed
Now Surfer inspector is 50% faster than before
DefaultPlayerID, AllVersions and other global variables are now constants
Fixed
LoadSceneAsync not working with AutoActivation set to false
UnityEditor APIs errors during build
Dropdown OnOptionSelected event not firing when selected index is 0
Removed
Version and Studio info from Surfer Settings Window
Unused variables
[2.7] October 2021
Surfer 2.7 is out!
Added
New Event : Transform_OnChildAdded
New Event : Transform_OnChildRemoved
New Event : Transform_OnChildrenCountChanged
New Event : Transform_OnParentChanged
New Event : Transform_OnParentLost
New Event : Orientation_ToLandscapeLeft
New Event : Orientation_ToLandscapeRight
New Event : Orientation_ToPortrait
New Event : Orientation_ToPortraitUpsideDown
New Fast Reaction : Transform_JustMoveIn
New Fast Reaction : Transform_JustMoveOut
Added two new Object entries as Custom Fields (Object_4 and Object_5)
Added new component SUElementCanvas , a better version of SUElement that will be the standard Canvas component of Surfer starting from v3 (SUElement will be deprecated then)
Added Default Custom Conditions (for SUElementCanvas)
Added Default Custom Reactions (for SUElementCanvas)
Added possibility to add custom SerializedFields for SUReactionData and SUConditionData
Changed
Now in the inspector you can see the name of your CustomEvent (or multiple ones) when the event behavior has a CustomEvent in the “WHEN!” Section
Now in the inspector you can see the number of the reactions or conditions directly on the “Foldout” label of their relative section (of SUElement)
Now, during play mode, the inspector is visible but not editable
Now GroupStates add SUElementCanvas component to their relatives children states
Fixed
StopShake reaction fixed id
GroupStates playerID assignment
GetObjectStateName when state is part of a group state
[2.6] September 2021
Surfer 2.6 is out!
Added
Custom inspector fields for custom conditions and reactions!
SUElement events can now be sent to Bolt as Custom Events!
Group Buttons !
Changed
- Group States logic is now part of a SUElement type!
- Bolt integration is now part of Surfer Settings in Unity preferences !
Fixed
- SUIndicatorsManager hidden inherited members “_targetPos” and “_mustClean”
- OnClick event triggered twice
[2.5] August 2021
Surfer 2.5 is out!
Added
- On/Off Screen Indicators !
- HealthBars !
- Notification Popup when Surfer Installation/Upgrade has completed
- FocusOnObject method of SUEventSystem has now an overload with a PlayerID param
- Demo Scenes for HealthBars and On/Off Screen Indicators
Changed
- Follow method of SUEventSystem is now private
- Demo folder is now a .unitypackage that should be unpacked in order to use it
Fixed
- Custom Reactions called two times
- Rare null ref of SUIndicatorDataDrawer
- Rare null ref of SUStatesDataDrawer
- CharTweener animation not counted in customEditor total animations count
[2.4] July 2021
Surfer 2.4 is out!
Added
Selection_Indicator
element type to "indicate" the current selected UI object with some custom animations!
Changed
- History Focus logic and behavior
Fixed
- Loading/Unloading scene events null ref
- Rarely, the custom reactions / custom conditions inspector was not saving the list immediately
[2.3] June 2021
Surfer 2.3 is out!
Added
8 New Fast Reactions :
PlayerPrefs_SetInt,
PlayerPrefs_SetFloat,
PlayerPrefs_SetString,
PlayerPrefs_DeleteKey,
PlayerPrefs_DeleteAll,
Animator_PlayState,
Animator_Stop,
Animations_StopCharTweener
8 New Fast Conditions :
PlayerPrefs_IsIntEqualTo,
PlayerPrefs_IsIntLowerThan,
PlayerPrefs_IsIntGreaterThan,
PlayerPrefs_IsFloatEqualTo,
PlayerPrefs_IsFloatLowerThan,
PlayerPrefs_IsFloatGreaterThan,
PlayerPrefs_IsStringEqualTo,
PlayerPrefs_StringContains,
PlayerPrefs_HasKey,
Slider_OverallVolume
element type to easily manage the overall game audio with a Slider!BuildVersion_Text
element type to easily show the version of the build/game on a text !Delete Slider Volume Key
button in Surfer Settings : to use only if the overall game audio volume is first managed by Surfer and then should be managed by another plugin (erase Surfer responsibility)CharTweener
integration : easily animated your TextMeshPro text with this package (only found on GitHub) with these 11 animations :SplitIn,
SplitOut,
Wave,
WaveLoop,
Shaking,
JumpIn,
JumpOut,
JumpInFull,
JumpOutFull,
LeftToRight,
RightToLeft
Fixed
- Surfer Scriptable Object access at runtime ( especially used for Elements types like
Loading_Image
andLoading_Text
)
[2.2] June 2021
Fixed
- Editor API Error when building
[2.2] May 2021
Surfer 2.2 is out !
Added
New Online Manual and API !
"If Conditions False" Inspector Tab to run reactions when conditions fail!
5 New Fast Conditions :
DateTime_IsDay,
DateTime_IsMonth,
DateTime_IsYear,
DateTime_IsChristmas,
DateTime_IsHalloween
9 New Fast Reactions :
Application_OpenURL,
Cursor_SetIcon,
Cursor_SetIconCentered,
Cursor_SetDefaultIcon,
Transform_SetSizeDelta,
Canvas_BringToFront,
Canvas_SendToBack,
UIGenerics_EnableClickConstraint,
UIGenerics_DisableClickConstraint
Tooltip_State type to create Tooltip with 1 click!
DragLeft_State,DragRight_State, DragUp_State, DragDown_State types to create Draggable SideMenus with 1 click!
AnchoredPosition
inspector animation!Custom Events
to let SUElement handle events of custom developer logic!Custom Reactions
to run custom programmer reactions!IsStackable
value to stack opening calls of a state!PlayerID
value to support Local Multiplayer games with multiple independent players UIs!Loading_Text
element type to easily show loading progress of a scene in a TextMeshPro!Loading_Image
element type to easily show loading progress of a scene in a Filled Image!
Changed
- History Focus logic and behavior
[2.1] May 2021
Surfer 2.1 is out !
Added
11 Inspector Events :
ScrollRect_OnReachedTop,
ScrollRect_OnReachedBottom,
ScrollRect_OnReachedLeft,
ScrollRect_OnReachedRight,
ScrollRect_OnNotReachedAnySide,
Dropdown_OnOptionSelected,
Dropdown_OnFirstOptionSelected,
Slider_OnGreaterThan,
Slider_OnLowerThan,
Slider_OnMax,
Slider_OnMin
13 Inspector Conditions :
Application_IsLanguage,
Application_IsNotLanguage,
Application_IsPlatform,
Application_IsNotPlatform,
Application_IsMobileDevice,
Application_IsNotMobileDevice,
Application_IsConsolePlatform,
Application_IsNotConsolePlatform,
Slider_IsMin,
Slider_IsMax,
Slider_IsGreaterThan,
Slider_IsLowerThan,
Dropdown_IsSelected,
3 Inspector Reactions :
Image_SetSprite,
Dropdown_SelectOption,
Slider_SetValue
[2.0] April 2021
Surfer 2.0 is out!
Surfer becomes easier and faster!
Added
SUElement
component to manage every ui object.- 20+ inspector events added
- 20+ easy inspector conditions added
- 20+ easy inspector reactions added