Beispiel #1
0
    public void Activate()
    {
        recieving = true;

        if (aiTrigger)
        {
            GameObject ai = GameObject.FindGameObjectWithTag("AI");
            ai.GetComponent <AICharacterControl>().NextTarget();
            aiTrigger = false;
        }

        if (laserController != null)
        {
            laserController.ActivateLaser(true);
        }
    }