Ejemplo n.º 1
0
    private void OnTriggerEnter(Collider other)
    {
        PlayerController playerController = other.gameObject.GetComponent <PlayerController>();

        if (playerController != null)
        {
            CustomEvents.ChageColorScheme(wallColor);
        }
    }