Exemple #1
0
    public void Update(SystemDataFilter filter)
    {
        Counter counter = filter.GetReadableResc <Counter>();

        if (counter.current % 2 == 1)
        {
            Console.WriteLine("ODD!");
        }
    }
Exemple #2
0
    public void Update(SystemDataFilter filter)
    {
        Time time = filter.GetReadableResc <Time>();

        Console.WriteLine("Total Time:\t" + time.total + "\tDeltaTime:\t" + time.deltaTime);
    }