Exemplo n.º 1
0
    // Update is called once per frame
    void Update()
    {
        KeyCode key = KeyDetecion.KeysDown().Any() ? KeyDetecion.KeysDown().First() : KeyCode.AltGr;

        if (movecircle == null)
        {
            Awake();
        }
        this.movecircle.MoveCircle(key, speed, Time.deltaTime, targetCircleObject);
    }
Exemplo n.º 2
0
    // Update is called once per frame
    void Update()
    {
        KeyCode key = KeyDetecion.KeysDown().Any() ? KeyDetecion.KeysDown().First() : KeyCode.AltGr;

        moveGate(topGate, key, Time.fixedDeltaTime);
    }