using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class CommonData
{
public static string DataServer;
static CommonData()
{
// DataServer = "http://localhost";
DataServer = Application.streamingAssetsPath;
_mainCamera = Camera.main;
}
public static string DataPath = "/Data/";
public static string ImagePath = "/Image/";
static string LowImagePath = "Low/";
static string HighImagePath = "High0824/";
static string UIImagePath = "UI/";
static string SpotImagePath = "Spot0824/";
public static string VideoPath = "/Video/";
public static string GamePath = "/Game/";
static Camera _mainCamera;
public static Camera MainCamera
{
get
{
return _mainCamera;
}
}
public static string ImageFullPath
{
get
{
return DataServer + ImagePath;
}
}
public static string LowImageFullPath
{
get
{
return ImageFullPath + LowImagePath;
}
}
public static string HighImageFullPath
{
get
{
return ImageFullPath + HighImagePath;
}
}
public static string UIImageFullPath
{
get
{
return ImageFullPath + UIImagePath;
}
}
public static string SpotImageFullPath
{
get
{
return ImageFullPath + SpotImagePath;
}
}
public static string VideoFullPath
{
get
{
return DataServer + VideoPath;
}
}
public static string GameFullPath
{
get
{
return DataServer + GamePath;
}
}
public static string DataFullPath
{
get
{
return DataServer + DataPath;
}
}
///
/// ¿Éµã»÷¾àÀë
///
public static float ClickDistance = 6.0f;
public static void ReleaseMemory()
{
Resources.UnloadUnusedAssets();
AssetBundle.UnloadAllAssetBundles(true);
System.GC.Collect();
//ImageLoader.ClearImage();
//ImageLoader.ClearImage();
//ImageLoader.ClearImage();
}
}