Answers for "unity vibrate phone"

C#
0

unity vibrate phone

/****************************************/
/* MAIN FUNCTION DEPENDS ON UNITYENGINE */
/****************************************/

-----------------------
-                     -
- Handheld.Vibrate(); -
-                     -
-----------------------

// Example Class w/ vibrate function

using UnityEngine;

public class ExampleClass : MonoBehaviour {

  public void SomeFunction() {
    
    // Main function
    Handheld.Vibrate();
    
  }

}
Posted by: Guest on February-06-2021

C# Answers by Framework

Browse Popular Code Answers by Language