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); }
public override void OnUpdateScaling() { animator = new Animation.NoneAnimation(this); //animator = new Animation.CenterAnimation(this, Helper.GetScreenMiddle(Style.WindowWidth, Style.WindowHeight)); }