private void DrawHaptics() { HapticFeedback hf = new HapticFeedback(); GUI.color = Color.black; GUILayout.Label("HAPTICS"); GUI.color = Color.white; GUILayout.Space(20); GUILayout.BeginHorizontal(); if (GUILayout.Button("= LIGHT =")) { hf.LightStyle(); } if (GUILayout.Button("= MEDIUM =")) { hf.MediumStyle(); } if (GUILayout.Button("= HEAVY =")) { hf.HeavyStyle(); } GUILayout.EndHorizontal(); GUILayout.Space(20); if (GUILayout.Button("IMPACT")) { hf.ImpactOccurred(); } GUILayout.Space(10); if (GUILayout.Button("SELECTION")) { hf.SelectionOccurred(); } GUILayout.Space(10); if (GUILayout.Button("SUCCESS")) { hf.SelectionOccurred(); } GUILayout.Space(10); if (GUILayout.Button("WARNING")) { hf.SelectionOccurred(); } GUILayout.Space(10); if (GUILayout.Button("ERROR")) { hf.SelectionOccurred(); } }