Bullet Time Utility

Public Static Methods

Return Type

Name

Signature

Description

Vector3

GetRandomVector

(Vector3, Vector3)

Returns a random vector3 between min & max.

void

SetActualTimescale

(float)

Changes Time.timeScale along with Time.fixedDeltaTime.

void

ResetActualTimescale

()

Resets Time.timeScale & Time.fixedDeltaTime.

void

SetVirtualTimeScale

(float)

Changes the BulletTimeVirtualTimescale in SniperAndBallisticsSystem.cs

void

ResetVirtualTimeScale

(float)

Resets the BulletTimeVirtualTimescale in SniperAndBallisticsSystem.cs

float

GetRandomNegation

()

Returns -1.0f or 1.0f based on random chance.

Last updated