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
/** | |
* @name VoiceModeAnnounce | |
* @author Froghut | |
* @description Will audio announce whenever the vioce mode changes. | |
* @version 1.0.0 | |
* @source https://gist.github.com/rauenzi/9df812b986f8264536a6e6900ef93d06 | |
*/ | |
var ptt = "data:audio/mpeg;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjQ1LjEwMAAAAAAAAAAAAAAA//NgxAAea9XgAUUYAQADjCYfA4fD5yN/85znOiJ//8RELcIAAAAAAAhBAGLdz/R3P/0d3d3dwMAAAAAEIiI7u7u7uAACJ1/3d3f////0RC0R3d3P//d3dwAAREL/iJ133f//Qvd3934gQQmiIiIm4AACC/9E/93REREL//67iEAABwYAADoC0EBYxk9pBwPR1Ggg4Pc5cLhoDaYX//NixBUjjBZsAZKIANxcHMy+4HaFvY5noIIG4CjFxjiC4P+ghDAYyYWRh85E/5gyZcNGciYr4uNAgZEyIf/rdSCCajImCokTBFDxp//f/bkMNEUJEy/J8n1GZN//+6H63/TWbpou5ogonGY4XEP///+2+3+YIIG6mM00jczWmUS+mZl9BZvVqQQAQgQWRlqAYILep2zZehatMMBdl//zYsQWJWNWoZWPaADkPcdLLNFkRzEpHFl01HaCWNECRL50cYtxGB7C4JyYIsUCgiZmBHHEYG5ko+ZqqLxxVEzJkumTui6mUy0kDh7MWNjFbzNLazUTGtT9VA6pA+fUbzB0UKbUVt+6WynRpdzqnRejRZmuig116rN6lK36rX//0EDqjQiDfxlC1N2+peIJ2awO8vw6ZeKctOiEXwf/82LEECAyBpTX2lgA9VnMCBSvtzsojF77kw+k7qalerChgBI1E1AUeCQCGT2wxiznIsRO0nDrplV8v/t9w9KH |
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
#if ODIN_INSPECTOR | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using Sirenix.OdinInspector.Editor; | |
using Sirenix.Utilities; | |
using Sirenix.Utilities.Editor; | |
using UnityEditor; | |
using UnityEngine; | |
using Object = UnityEngine.Object; |