Ejemplo n.º 1
0
    void OnTriggerEnter(Collider other)
    {
        XkPlayerCtrl script = other.GetComponent <XkPlayerCtrl>();

        if (script == null)
        {
            return;
        }
        script.SetXKTriggerPlayerAim(this);
    }