Shapes with DoTween
I am using DoTween and I wanted to use Shapes with it. For example, I am using Torus from Shapes and I want to fade out the color of it. But looks like DoTween cannot find a material to fade the color?
http://dotween.demigiant.com/documentation.php
A small example of what I am trying to achieve:
using Shapes;
public class Example: MonoBehaviour {
public Torus torus;
public void Start(){
torus.DOColor(new Color32(255, 255, 255, 0), 2.0f); // Throws error
}
Yup will do that :)
Also one other thing, from your solution, I get this error:
Cannot implicitly convert type 'ulong' to 'UnityEngine.Color'
How do I fix this?
not sure! I'm guessing the method call signature doesn't match DOTweens somehow, I'd double check that