Unity Play Logo
Showcases
How to
Notifications

30
Pause (V)
Stop (B)
LW
30 Oct 2021
Essentials of 3D real-time project - This floor is lava! Assets from the Unity Asset store: - Cemetery Halloween Set - Spooky Pumpkins - Unity Particles - Creepy Sky
Essentials of 3D real-time project - This floor is lava! Assets from the Unity Asset store: - Cemetery Halloween Set - Spooky Pumpkins - Unity Particles - Creepy Sky
1 Reaction
3 comments
LW
SyfyKitty
a year
Moving Lava Script: public class FlowLava : MonoBehaviour { public float scrollSpeed = 0.1f; Renderer rend; void Start() { rend = GetComponent<Renderer>(); } void Update() { float moveThis = Time.time * scrollSpeed; rend.material.SetTextureOffset("_MainTex", new Vector2(0, moveThis)); } } // Stylized Lava PBR Texture Asset
Reply
Moving Lava Script: public class FlowLava : MonoBehaviour { public float scrollSpeed = 0.1f; Renderer rend; void Start() { rend = GetComponent<Renderer>(); } void Update() { float moveThis = Time.time * scrollSpeed; rend.material.SetTextureOffset("_MainTex", new Vector2(0, moveThis)); } } // Stylized Lava PBR Texture Asset
Reply
O
OldBorodach
a year
приветы, а как ты реализовал анимацию лавы по какому уроку?
Reply
приветы, а как ты реализовал анимацию лавы по какому уроку?
Reply
Made with
Copied to clipboard