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