public void ToggleMuteAudio(GameObject sphere) { this.muteAudio = !this.muteAudio; if (sp != null && sp.HasComponent()) { sp.UpdateComponent(this.GetSPEnabled(), this); } if (_clipComponent != null) { UpdateClipComponent(); } }
public void ReadSP(StoryPoint newSP, GameObject sphere) { sp = newSP; if (Gated && !sp.HasComponent()) { sp.SetUpComponent(sphere, this.GetSPEnabled(), this); } }