Пример #1
0
 public void Update()
 {
     if (Input.GetKeyDown(KeyCode.Space))
     {
         Spacebar.ExecuteAction(this.gameObject);
     }
 }