public void CopyValues(KanjiValues other) { startCooldownTime = other.startCooldownTime; maxCharges = other.maxCharges; delay = other.delay; cooldown = other.cooldown; kanjiType = other.kanjiType; area = other.area; holdMin = other.holdMin; holdMax = other.holdMax; projectile = other.projectile; projectileSpeed = other.projectileSpeed; projectileLifetime = other.projectileLifetime; damage = other.damage; baseDamageScale = other.baseDamageScale; multihit = other.multihit; }
public void ResetValues() { startCooldownTime = 0; maxCharges = 10; delay = 0.1f; cooldown = 5f; kanjiType = KanjiType.OTHER; area = 1.0f; holdMin = -1f; holdMax = 0.5f; projectile = null; projectileSpeed = Vector2.zero; projectileLifetime = 1f; damage = 0; baseDamageScale = 1f; multihit = true; }