socketscounter - eisclimber/ExPresS-XR GitHub Wiki
Class in ExPresSXR.Minigames.Common
Inherits from UnityEngine.MonoBehaviour
Counts the number of sockets selecting objects.
public class SocketsCounter : MonoBehaviour| Name | Description |
|---|---|
| OnAllSocketsEmptied | Emitted when the all socket were emptied. |
| OnAllSocketsFilled | Emitted when the all socket were filled. |
| OnCountChanged | Emitted when the count changes providing the new count. |
| OnFirstSocketFilled | Emitted when the first socket was filled. |
| OnSocketsDeselect | Forwards the SelectExitEventArgs of one of the sockets. |
| OnSocketsSelect | Forwards the SelectEnterEventArgs of one of the sockets. |
| Name | Description |
|---|---|
| Capacity | Number of sockets regarded. |
| Count | Current count in the socket. |