コード例 #1
0
        public void ToggleMuteAudio(GameObject sphere)
        {
            this.muteAudio = !this.muteAudio;
            if (sp != null && sp.HasComponent())
            {
                sp.UpdateComponent(this.GetSPEnabled(), this);
            }

            if (_clipComponent != null)
            {
                UpdateClipComponent();
            }
        }
コード例 #2
0
        public void ReadSP(StoryPoint newSP, GameObject sphere)
        {
            sp = newSP;

            if (Gated && !sp.HasComponent())
            {
                sp.SetUpComponent(sphere, this.GetSPEnabled(), this);
            }
        }