示例#1
0
 public void Awake()
 {
     /* Since the coaster is destroyed onLoad, always update the instance */
     Instance      = this;
     animator      = GetComponent <Animator>();
     startPosition = this.transform.position;
 }
 private void Start()
 {
     coaster = CoasterManager.Instance;
 }