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