Beispiel #1
0
 public void Update()
 {
     if (Input.GetKey(KeyCode.Space))
     {
         sourceDispatcher.Dispatch();
     }
     else
     {
         dispatchcer.Dispatch();
     }
 }
        public void Update()
        {
            if (Input.GetKey(KeyCode.Space))
            {
                sourceDispatcher.Dispatch();
            }
            else
            {
                dispatchcer.Dispatch();
            }

            if (tensionDispatcher != null)
            {
                tensionDispatcher.Dispatch();
            }
        }