Im working on the death animation for my enemys, and I want to have them melt into a puddle, how would I transition their mesh into a sphere?
Current Code :
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class enemyManipulation : MonoBehaviour {
public int Health = 100;
public Slider Slider;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
Slider.value = Health;
if(Health <= 0) {
//Transition Mesh
}
}
}