Exemple #1
0
    void OnTriggerEnter(Collider other)
    {
        var characterName = other.name;

        if (characterName == "IdleLuz" || characterName == "Gears" || characterName == "SatBot" || characterName == "Pump" || characterName == "Brute")
        {
            levelcomplete_script.SendMessage("addPlayerReady");
        }
    }