Beginning of dialog window. Escape will cancel and close the window.
End of dialog window.
using UnityEngine;
using System.Collections;
publicclassBasicSyntax : MonoBehaviour
{
voidStart(){
//this line is there to tell me the x position of my object/*Hi there!
* this is two lines!
* */
Debug.Log(transform.position.x);
if(transform.position.y <= 5f)
{
Debug.Log ("I'm about to hit the ground!");
}
}
}