protected virtual void OnInit() { if ((_trigger = FindTrigger(this)) == null) { RegisterWithParentZone(); } hash = (int)Synthesizer.GetNextHandle(); inited = true; }
public static uint CueIn(AudioEmitter e, int i) { var c = new Cue { emitter = e, index = i, cueHandle = Synthesizer.GetNextHandle() }; if (!c.KeyOn()) { return(0); } activeCues0.Add(c); return(c.cueHandle); }