This commit is contained in:
2025-05-13 05:18:03 +03:00
parent 0790b782f2
commit 2ca246b75c
1494 changed files with 22057 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
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 () {
}
}