常用方法
常用方法
常用方法
常用方法
public ActiveDecoration CreateDecoration(Player owner, string nativeName, Tile target, TagSynergy[] armor, string visualization, float?z, int?health, float?mod) { if (target.TempObject != null) { return(null); } ActiveDecoration decoration = new ActiveDecoration(this, owner, target, visualization, z, health, armor, NativeManager.GetDecorationNative(nativeName), mod); Decorations.Add(decoration); target.ChangeTempObject(decoration, true); return(decoration); }