示例#1
0
    public void AttachModifier(Modifier inmod)
    {
        //Modifier Implementation Attaches script
        Modifier tempy = Instantiate(inmod);

        tempy.Attach(this);
        CurrentMods.Add(tempy);
        callAttachMod(); //only used for event when attaching any mod.
    }