How do I make a flood script with Vector3.up and transform.position?
If what you mean by ‘flood script’, is an object (like a water source) that rises, you can try this piece of code:
transform.position += Vector3.up * force * Time.deltaTime
How do I make a flood script with Vector3.up and transform.position?
If what you mean by ‘flood script’, is an object (like a water source) that rises, you can try this piece of code:
transform.position += Vector3.up * force * Time.deltaTime