Пример #1
0
 // Use this for initialization
 void Start()
 {
     player = GameObject.FindGameObjectWithTag("Player");
     note = GameObject.FindGameObjectWithTag("Player").GetComponent<NotepadScript>();
     SaveSystem save = FindObjectOfType<SaveSystem>();
     save.SetScreenshotCamera(screenshotCamera);
 }
Пример #2
0
 // Use this for initialization
 void Start()
 {
     note = GameObject.FindGameObjectWithTag("Player").GetComponent<NotepadScript>();
 }
Пример #3
0
    //Thisisatest
    // Use this for initialization
    void Start()
    {
        roseWord = GameObject.FindGameObjectWithTag("roseword");
        clockWord = GameObject.FindGameObjectWithTag("clockword");
        faceWord = GameObject.FindGameObjectWithTag("faceword");
        butterWord = GameObject.FindGameObjectWithTag("butterword");
        player = GameObject.FindGameObjectWithTag("Player");

        note = GameObject.FindGameObjectWithTag("Player").GetComponent<NotepadScript>();
    }