Question on onTriggerExit event.

Hello, I’m new to unity3d and I was trying to make an endless game seeing tutorials, but I got one error.
In the code I’ve used onTriggerExit funtion to print “SpawnTile”. But its not printing anything.
I have attached screen shots here…one is of leftTile and other is of player.
I have added box collider to lefttile and toptile, also have them set to trigger.Then I added tag to player as “Player”.Also I have added TileScript to to both toptile and lefttile.

And this is code in TileScript…

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class TileScript : MonoBehaviour

// Use this for initialization
void Start () { 

// Update is called once per frame
void Update () {

void onTriggerExit(Collider other)
	if (other.tag == "Player")


I request to help me.

You need a capital o in onTriggerExit it’s OnTriggerExit
Welcome to Unity.
Note that Unity3d is just a domain name, Unity is just called Unity.