public class MeleeEnemy : EnemyBaseClass { // Start is called before the first frame update private new void Start() { base.Start(); } private void Update() { UpdateSortingOrder(); } private void FixedUpdate() { if (!killed) { Move(); } } }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter