public override void Generate(RelicDisplay relicDisplay) { if (isEffect) { effect.Generate(Vector2Int.zero, relicDisplay.gameObject); } if (isAffect) { Affact a = relicDisplay.gameObject.AddComponent <Affact>(); a.type = type; a.valueAdd = valueAdd; a.valueMulti = valueMulti; } }
public abstract void Generate(RelicDisplay relicDisplay);