using System.Collections; using System.Collections.Generic; using UnityEngine; public class ShortSightedness : Modifier_Template { public ShortSightedness(float Value){ attribute = Value; } private float attribute; public override float Attribute { get { return attribute; } set { attribute = value; } } public override void AttributeChange(Player_Manager Player) { Player.Property_Camera_Zoom = attribute; } public override void EndChange(Player_Manager Player) { Player.Property_Camera_Zoom = Player.RegularZoom_Camera; } public override bool ConditionMet(Player_Manager Player) { if(Player.current_Water_Level < 50) { return (true); } else { return (false); } } }