예제 #1
0
 private void Update()
 {
     this.gameObject.transform.localPosition = this.LocationHandler.GetLocation(AudioPlayer.Instance.TrueAudioTime);
     if (this.LocationHandler.AtCenter())
     {
         HitObjectHandler.OnHit(this);
     }
 }
예제 #2
0
파일: Arrow.cs 프로젝트: Redageddon/Inflex
        public void OnTriggerEnter2D(Collider2D other)
        {
            HitObject hitObject = other.GetComponent <HitObject>();

            HitObjectHandler.OnHit(hitObject);
        }