Beispiel #1
0
 public static Vector2Int ToNative(this KVector2Int runtime)
 {
     return(new Vector2Int(runtime.x, runtime.y));
 }
Beispiel #2
0
        public void Refresh()
        {
            texture = engine.Get <TextureFile>(file).texture;

            size = new KVector2Int(texture.width, texture.height);
        }