Beispiel #1
0
 // Use this for initialization
 void Start()
 {
     StageScene  = "StageScene";
     Win         = 0;
     Person1SR   = Person1.GetComponent <SpriteRenderer>();
     DumpSR      = Dump.GetComponent <SpriteRenderer>();
     Person2SR   = Person2.GetComponent <SpriteRenderer>();
     ImmigrantSR = Immigrant.GetComponent <SpriteRenderer>();
     Clicked     = Immigrant.GetComponent <ChooseSuccess>().click;
     T           = PlayerPrefs.GetFloat("PTime");
     Curtain.GetComponent <UpFlag>().enabled = true;
 }