İçeriğe atla
BurnSystem By Nostalgic Games ilanı için 1. medya

Açıklama

🔥 Overview SimpleFireSpread.CS is a lightweight and pipeline-agnostic fire spread system designed for Unity 6. It enables objects to catch fire, propagate that fire to nearby objects, and optionally self-destruct after burning. This system does not rely on shaders or render pipeline features and works with any render pipeline (HDRP, URP, Built-in)

🔍 Key Features
  • Works across all render pipelines (HDRP, URP, Built-in)

  • Uses only C# scripting and Particle Systems

  • Supports animated or moving objects

  • Fire spreads based on proximity and layer

  • Optional destruction after burning

  • Supports fire prefab VFX for visuals

🔋 How It Works
  • The script keeps track of burn state using isBurning

  • When ignited, a fireEffectPrefab is instantiated

  • After burnDuration elapses, it:

    • Spreads to other objects in spreadRadius

    • Optionally destroys itself

Fire only spreads to objects with simpleFireSpread.cs on the same burnableLayer.


İçerdiği biçimler