示例#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
文件: Reset.cs 项目: Zorthax/Wordpool
 // 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>();
    }