Esempio n. 1
0
 // Start is called before the first frame update
 void Awake()
 {
     Instance = this;
     if (GetComponent <LineRenderer>())
     {
         lr = GetComponent <LineRenderer>();
     }
     //speed = SpeedSlider.minValue;
     GraphManager.PlayAnimationEvent += PlayAnimation;
 }
Esempio n. 2
0
 void OnApplication()
 {
     GraphManager.PlayAnimationEvent -= PlayAnimation;
 }