This repository has been archived by the owner on Jul 16, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #77 from mixer/new-control-infrastructure
New control infrastructure
- Loading branch information
Showing
17 changed files
with
1,101 additions
and
373 deletions.
There are no files selected for viewing
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
35 changes: 35 additions & 0 deletions
35
...ctiveSDK/Assets/MixerInteractive/Source/Scripts/InteractiveCoordinatesChangedEventArgs.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,35 @@ | ||
using UnityEngine; | ||
|
||
namespace Microsoft.Mixer | ||
{ | ||
public class InteractiveCoordinatesChangedEventArgs : InteractiveEventArgs | ||
{ | ||
public string ControlID | ||
{ | ||
get; | ||
private set; | ||
} | ||
|
||
public InteractiveParticipant Participant | ||
{ | ||
get; | ||
private set; | ||
} | ||
|
||
public Vector3 Position | ||
{ | ||
get; | ||
private set; | ||
} | ||
|
||
internal InteractiveCoordinatesChangedEventArgs( | ||
string id, | ||
InteractiveParticipant participant, | ||
Vector3 position) : base(InteractiveEventType.Coordinates) | ||
{ | ||
ControlID = id; | ||
Participant = participant; | ||
Position = position; | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...SDK/Assets/MixerInteractive/Source/Scripts/InteractiveCoordinatesChangedEventArgs.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.