Ejemplo n.º 1
0
 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;
     }
 }