Asteroid Belts
Sector renderer is now also rendering asteroid belts. All gravity calculations have been moved out of monobehaviors.
This commit is contained in:
parent
d12d7c5c45
commit
a981a46170
76 changed files with 25027 additions and 2016 deletions
|
|
@ -15,6 +15,6 @@ public class WaveScroll : MonoBehaviour
|
|||
}
|
||||
|
||||
void Update () {
|
||||
_material.SetFloat("_Phase", _phase+=Time.deltaTime*Speed);
|
||||
_material.SetFloat("_Phase", _phase=Time.time*Speed);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue