예제 #1
0
 public void Init()
 {
     WaitingPlate = Resources.Load<WaitingEffect> ("Prefab/Waiting");
     WaitingPlate = GameObject.Instantiate<WaitingEffect>(WaitingPlate);
     WaitingPlate.transform.parent = GameObject.Find("Canvas").transform;
     WaitingPlate.transform.localScale = Vector3.one;
     WaitingPlate.transform.localPosition = Vector3.zero;
 }
예제 #2
0
 public void Init()
 {
     WaitingPlate = Resources.Load <WaitingEffect> ("Prefab/Waiting");
     WaitingPlate = GameObject.Instantiate <WaitingEffect>(WaitingPlate);
     WaitingPlate.transform.parent        = GameObject.Find("Canvas").transform;
     WaitingPlate.transform.localScale    = Vector3.one;
     WaitingPlate.transform.localPosition = Vector3.zero;
 }