Пример #1
0
        void Start()
        {
            Debug.Log("System init: Physics fyt updater");

            debugTimer    = 0.0f;
            frameCounter  = 0;
            updateCounter = 0;

            input = new FytInput();

            fytObjects = new List <IFytObject>();
            foreach (IFytObject obj in FindObjectsOfType <MonoBehaviour>().OfType <IFytObject>())
            {
                fytObjects.Add(obj);
            }
        }