コード例 #1
0
 //Start is nothing
 void Start()
 {
     origami3Script = origami3.GetComponent<Origami3>();
 }
コード例 #2
0
    // Use this for initialization
    void Start()
    {
        TextureSetting();

        origami3Script = origami3.GetComponent<Origami3>();
        notePhotoMaterial1 = paperPhoto1.GetComponent<Renderer>().material;
        notePhotoMaterial2 = paperPhoto2.GetComponent<Renderer>().material;
        notePhotoMaterial3 = paperPhoto3.GetComponent<Renderer>().material;
        notePhotoMaterial4 = paperPhoto4.GetComponent<Renderer>().material;

        fallPhotoMaterial = fallPhoto.GetComponent<Renderer>().material;
        japonicaNoteFirstPosition = japonicaNote.transform.position;
    }