Skip to content

Commit

Permalink
Merge pull request #5 from o-tr/master
Browse files Browse the repository at this point in the history
v0.2.3をリリース
  • Loading branch information
o-tr authored Nov 10, 2024
2 parents 56c7676 + 8af6e37 commit f942b82
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
Binary file modified Assets/Textures/SplashScreen/ImageSlide.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Assets/Textures/SplashScreen/ImageSlideViewer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 10 additions & 2 deletions Runtime/jp.ootr.ImageSlide/Scripts/22_LogicQueue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,16 @@ private void RemoveSource(DataToken data)

if (currentIndex >= slideCount && Networking.IsOwner(gameObject))
{
ConsoleDebug($"seek to last index: {slideCount - 1}", _logicQueuePrefix);
SeekTo(slideCount - 1);
if (slideCount == 0)
{
ConsoleDebug("seek to 0 due to no slide", _logicQueuePrefix);
SeekTo(0);
}
else
{
ConsoleDebug($"seek to last index: {slideCount - 1}", _logicQueuePrefix);
SeekTo(slideCount - 1);
}
}

UrlsUpdated();
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jp.ootr.image-slide",
"displayName": "ImageSlide",
"version": "0.2.2",
"version": "0.2.3",
"license": "MIT",
"unity": "2022.3",
"description": "Slide gimmick for VRChat using ImageDeviceController",
Expand Down

0 comments on commit f942b82

Please sign in to comment.