Commit 77297bae authored by lijin's avatar lijin

点击特效

parent 4004cfd6
......@@ -9,6 +9,7 @@ public class EffectItem : MonoBehaviour
public RectTransform Rect;
public void Init(Color c, Vector3 v)
{
life = 0.5f;
MainData md = GameMgr.Ins.md;
Transform p = Rect.parent;
Rect.SetParent(md.imgpng.transform);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment