Пример #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>();
    }
Пример #2
0
    // Start is called before the first frame update
    void Start()
    {
        SceneMan = GameObject.Find("SceneManager").GetComponent <levelBounds>();

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