| 
									
										
										
										
											2021-01-25 19:44:17 +00:00
										 |  |  | using System.Collections; | 
					
						
							|  |  |  | using System.Collections.Generic; | 
					
						
							|  |  |  | using UnityEngine; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | namespace Ktyl.Util | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  |     [CreateAssetMenu(menuName = "ktyl/Util/Float")] | 
					
						
							|  |  |  |     public class SerialFloat : SerialVar<float> | 
					
						
							|  |  |  |     { | 
					
						
							| 
									
										
										
										
											2021-04-13 15:33:59 +01:00
										 |  |  |         public bool AsBool => Mathf.Abs( Value ) <= float.Epsilon; | 
					
						
							| 
									
										
										
										
											2021-01-25 19:44:17 +00:00
										 |  |  |     } | 
					
						
							|  |  |  | } |