private void OnLineTouched() { this.SafeStopCoroutine(_rotationCoroutine); this.SafeStopCoroutine(_scaleChangeCoroutine); LineTouched.SafeInvoke(); }
private void OnTriggerEnter(Collider otherCollider) { var line = otherCollider.GetComponent <Line>(); if (line != null) { LineTouched.SafeInvoke(); } }
private void OnPathLineTouched() { Dispose(); AddForceToPieces(); LineTouched.SafeInvoke(); }