Pedro Gomes 1ec628d6dd Particle system optimization, Preload and bugfixing
- Max Particle significantly reduced
- preload ability assets & most shaders
- fix coroutine error on channeled abilities
- billboard random flickers fixed
- spin to win animation and rotation sync fixed
2024-07-21 13:09:23 +01:00

22 lines
451 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Billboard : MonoBehaviour
{
// Update is called once per frame
/* void Update()
{
if (Camera.main == null) return;
this.transform.forward = Camera.main.transform.forward;
}*/
private void LateUpdate()
{
if (Camera.main == null) return;
this.transform.forward = Camera.main.transform.forward;
}
}