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