HKI Core
FloatingPointWidthHeight.cs
Go to the documentation of this file.
1 using UnityEngine;
2 
3 namespace HKI.Core.Variables
4 {
8  [System.Serializable]
10  {
11  // Public Variables
12  public float Width;
13  public float Height;
14 
15  // Setters
16  public void SetWidthAndHeight(float width, float height)
17  {
18  this.Width = width;
19  this.Height = height;
20  }
21 
22  // Interface fucntion
23  public override string ToString()
24  {
25  return "width: " + Width.ToString() + " x height: " + Height.ToString();
26  }
27  }
28 }
This is a data type that combines a float width and a float height value into one value...
void SetWidthAndHeight(float width, float height)