private void Awake() { if (Instance != null) { return; } Instance = this; }
void Start() { anim = GetComponent <Animator> (); snapScrolling = SnapScrolling.Instance; }