-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit 0787478 Author: Vlad Lavrishko <[email protected]> Date: Sun Oct 29 22:53:47 2023 +0200 Add music commit 514f278 Author: Vlad Lavrishko <[email protected]> Date: Sun Oct 29 22:33:51 2023 +0200 Add sort commit 8379a7a Author: Vlad Lavrishko <[email protected]> Date: Sun Oct 29 22:25:07 2023 +0200 hotfix commit 305ebdb Author: Vlad Lavrishko <[email protected]> Date: Sun Oct 29 22:21:52 2023 +0200 Add slider for brake
- Loading branch information
Showing
36 changed files
with
326 additions
and
273 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
Assets/CodeBase/Services/InteractiveObject/IInteractive.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
using System; | ||
|
||
namespace CodeBase.Services.InteractiveObject | ||
{ | ||
public interface IInteractive : IService | ||
{ | ||
public event Action<bool, float, float> OnBraking; | ||
void EventActionBraking(bool active, float start, float end); | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
Assets/CodeBase/Services/InteractiveObject/IInteractive.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using System; | ||
|
||
namespace CodeBase.Services.InteractiveObject | ||
{ | ||
public class Interactive : IInteractive | ||
{ | ||
public void EventActionBraking(bool active, float start, float end) => | ||
OnBraking?.Invoke(active, start, end); | ||
public event Action<bool, float, float> OnBraking; | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
Assets/CodeBase/Services/InteractiveObject/Interactive.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.