Esempio n. 1
0
        public void Unregister()
        {
            if (id == null)
            {
                return;
            }
            switch (this.type)
            {
            case TicketType.Update:
                TimeMachine.RemoveUpdate(id.Value);
                break;

            case TicketType.LateUpdate:
                TimeMachine.RemoveLateUpdate(id.Value);
                break;

            case TicketType.FixedUpdate:
                TimeMachine.RemoveFixedUpdate(id.Value);
                break;
            }
        }