Example #1
0
 // Use this for initialization
 void Start()
 {
     view = gameObject.GetComponent <PlotView>();
     view.Init();
     Init();
     //view.image_Movie.rectTransform.sizeDelta = new Vector2(Screen.width, Screen.height);
     //view.image_BackGround.rectTransform.sizeDelta = new Vector2(Screen.width, Screen.height);
     isPlaying       = false;
     movTexture.loop = false;
     addEvent();
     addUIEventListener();
 }