예제 #1
0
파일: Switch.cs 프로젝트: Ferrohound/Phony
 public void Interact(PlayerController pc, int flag)
 {
     if (m_audio != null)
     {
         m_audio.Play();
     }
     if (m_driven != null)
     {
         m_driven.Drive(this, flag);
     }
 }