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