예제 #1
0
    void BeginChase()
    {
        this.totalChaseTime    = BeatManager.TimeForBeat(this.tracker.peekNextEventDelta());
        this.currentTravelTime = 0f;

        float frames = totalChaseTime / Time.fixedDeltaTime;

        velocity   = playerposlookup.lookupPlayerPositionWithDelay() - this.transform.position;
        velocity.y = 0;
        velocity   = velocity / frames;
    }
	void BeginChase() {
		this.totalChaseTime = BeatManager.TimeForBeat (this.tracker.peekNextEventDelta ());
		this.currentTravelTime = 0f;
	}