示例#1
0
 public DebugPanel() : base(nameof(DebugPanel), GUILayers.DebugPanel)
 {
     PhotonNetwork.networkingPeer.TrafficStatsEnabled = NetworkStats.Value;
     animator = new Animation.NoneAnimation(this);
     //animator = new Animation.CenterAnimation(this, Helper.GetScreenMiddle(Style.WindowWidth, Style.WindowHeight));
     messages = new List <LogMessage>();
     Application.RegisterLogCallback(Log);
 }
示例#2
0
 public override void OnUpdateScaling()
 {
     animator = new Animation.NoneAnimation(this);
     //animator = new Animation.CenterAnimation(this, Helper.GetScreenMiddle(Style.WindowWidth, Style.WindowHeight));
 }