示例#1
0
    public void DisplaySplatter(Color color, Vector3 position)
    {
        Splatter newSplatter = Instantiate(splatter) as Splatter;

        newSplatter.transform.SetParent(transform, false);
        newSplatter.Display(color, position);
        newSplatter.FadeAway();
    }