Created
January 9, 2019 08:11
-
-
Save westside/cd746f1951b4978cc78b718f5ac1d4a9 to your computer and use it in GitHub Desktop.
Send ping
This file contains hidden or 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
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
namespace Bhaptics.Tact.Unity | |
{ | |
public class FunctionTest : MonoBehaviour | |
{ | |
// Use this for initialization | |
void Start() | |
{ | |
InvokeRepeating("test", 4f, 4f); | |
} | |
// Update is called once per frame | |
void Update() | |
{ | |
var item = BhapticsManager.HapticPlayer.IsActive(PositionType.HandL); | |
Debug.Log("IsActive : " + item); | |
} | |
void test() | |
{ | |
BhapticsManager.HapticPlayer.Submit("_______ping________", PositionType.HandL, new List<DotPoint>(), 100); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment