Example #1
0
    // Start is called before the first frame update
    void Start()
    {
        crosshair = GameObject.Find("CrosshairFar");
        EndPoint  = crosshair.transform.position;

        StartCoroutine(CheckDeathLoop());

        SceneMan = GameObject.Find("SceneManager").GetComponent <levelBounds>();
    }
Example #2
0
    // Start is called before the first frame update
    void Start()
    {
        SceneMan = GameObject.Find("SceneManager").GetComponent <levelBounds>();

        player = GameObject.Find("Ship");
    }