Esempio n. 1
0
    public void Notify(GameObject go)
    {
        if (go.CompareTag("Shield"))
        {
            UpdateHud.GetInstance().UpdateScore(10);
        }

        projectileActive = false;
    }
Esempio n. 2
0
    private void Update()
    {
        bool isPressed = OVRInput.Get(OVRInput.Button.PrimaryHandTrigger, OVRInput.Controller.LTouch);

        UpdateHud.GetInstance().Show(isPressed);
    }