单例模式
2020-08-18 本文已影响0人
小骄傲999
public class Manager:MonoBehaviour{
static Manager inst_;
public static Manager inst{
get {return inst_;}
}
}
public class Manager:MonoBehaviour{
static Manager inst_;
public static Manager inst{
get {return inst_;}
}
}