Skip to content
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.

Releases: scillgame/scill-unity

Package version

22 Apr 10:06
Compare
Choose a tag to compare

Fixed

  • Fixed an issue with the package version.

Set User Info and backwards compatibility

11 Apr 14:42
Compare
Choose a tag to compare

Fixed

  • Fixed an issue with callback function being called twice on success when using SCILLManager.Instance.SetUserInfoAsync(callback, name, avatar)
  • Restored backwards compatibility to C# version used in 2019.4.33f1

Improved leaderboard support

31 Mar 15:06
Compare
Choose a tag to compare

Added

  • Added wrapper function to allow easier access for supplying optional parameters like startDate, endDate and sorting method when interacting with the leaderboard api. Can now supply LeaderboardApiOptionalParameters using e.g. SCILLManager.Instance.SCILLClient.GetLeaderboardAsync(string leaderboardId, int? currentPage = null, int? pageSize = null, string language = null, int? currentPosition = null, LeaderboardApiOptionalParameters optionalParameters = null);

WebGL and Leaderboard fixes

30 Mar 17:23
Compare
Choose a tag to compare

Fixed

  • Solved an issue with WebGL builds when using Unity Version 2021.X or higher
  • Fixed an issue with user ranking being hidden, even though the user is present in the leaderboard

Updated SCILLManager SendEvent methods

01 Dec 11:00
Compare
Choose a tag to compare

Added

  • SCILLManager.SendEventAsync and SCILLManager.SendEventForUserIdAsync now support sending the optional teamId

Adjustment to Debug Logs

03 Nov 13:31
Compare
Choose a tag to compare

Changed

  • Removed unnecessary Debug Logs

Leaderboards Api v2

25 Oct 09:26
Compare
Choose a tag to compare

Added the capability to access SCILL Api v2 endpoints for leaderboards. Leaderboard can be set to v2 on
creation in the 4Players Admin Panel. Leaderboards created for the Api v2 can only be accessed using Api v2
requests. Leaderboards created for the Api v1 can only be accessed using Api v1 requests.

Important: the SDK will automatically try to
access the v2 endpoints. If you're still using leaderboards created for the v1 endpoints, you will have to do the following:

  • Create a file called: SCILLConfig.json in a Resources folder under your Assets directory.
  • Set the file's content to: { "ApiVersion": "v1" }

The SDK will then use the v1 endpoints of the SCILL Api.

Added

  • Can now call ResetLeaderboardRankings to reset all ranking data of a leaderboard, using the SCILLBackend. This request is not available on Client Side Code.
  • Can now add a SCILLConfig.json file in a Resources folder under the Assets directory to adjust SCILL-SDK settings, i.e. the api version, the Api Domain and the domain prefixes for the Authentication, Events, Challenges, BattlePasses and Leaderboards Apis. The default configuration is set to:
{
  "ApiVersion": "v2",
  "Domain" : "scill.4players.io",
  "DomainPrefixAuthentication" : "us",
  "DomainPrefixEvents" : "ep",
  "DomainPrefixChallenges" : "pcs",
  "DomainPrefixBattlePasses" : "es",
  "DomainPrefixLeaderboards" : "ls"
  }

Changed

  • The Leaderboard Api requests GetLeaderboardAsync, GetLeaderboardsAsync, GetLeaderboardRankingAsync and GetLeaderboardRankingsAsync now provide additional, optional parameters. These parameters can only be used for requests sent using Api Version v2.

Challenge Category name display

10 Sep 10:10
Compare
Choose a tag to compare

Fixed

  • Fixed an issue with Personal Challenge Category names not being displayed correctly.

Feedback Examples

08 Sep 17:27
Compare
Choose a tag to compare

We've added visual and audio feedback effects to the samples - they will play for certain triggers like "Personal Challenge Completed" or "Battle Pass Level Changed".

The SCILLAudio prefab can simply be dropped into your scene and will automatically connect to all relevant systems. Using a new SCILLAudioSettings Scriptable Object or adjusting the default you can switch out our sample clips with your own files. Samples of how to play particle effects or fire off UI animations can be seen in the sample scenes.

Added

  • Added Scripts for playing audio clips on certain triggers, e.g. Personal Challenge Completed or Battle Pass Level Changed
  • Audio feedback clips can be changed using the new SCILLAudioSettings Scriptable Object
  • Added sample particle systems and audio clips for visual and audio feedback
  • Added UnityEvents to Challenge items

Changed

  • Improved update behavior of SCILLChallengeItem and SCILLBattlePassChallengeItem

Fixed

  • Fixed issue with Battle Pass Level not being updated correctly under some conditions

Added C# SDK project to repository

19 Jul 06:45
Compare
Choose a tag to compare

We've added the Unity specific C# SDK project to the repository for easy access to the source code. The DLL produced by this project will only work with Unity, it will not work when trying to use it in a standalone C# project. For standalone C# projects, please use the standalone SCILL C# SDK.

Added

  • The C# SDK project is now part of this repository

Changed

  • Leaderboard Ranking Item: relative resource path for loading avatar images can now be adjusted in the editor

Fixed

  • Fixed issues with personal challenges not displaying progress bar correctly in some cases
  • Fixed issues with the battlepass UI not displaying in cases where a reward with a display prefab was loaded, but no photobox was selected in the RewardPreview