Files
2025-05-13 05:18:03 +03:00

32 lines
485 B
C#

using UnityEngine;
using System.Collections;
using System;
[Serializable]
public class UIPoint{
public bool Relative;
public Vector2 Position;
public Vector2 PixelPosition{
get{
if(Relative){
return new Vector2(Position.x * Screen.width, Position.y * Screen.height);
}else{
return Position;
}
}
}
}
public class UIItem : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
}