Exemplo n.º 1
0
        void OnEnable()
        {
            lockInput   = false;
            controllers = StaticUtilities.ReturnOnlyActiveControllers <IPlayerInput2D>(GetComponents <IPlayerInput2D>(), this);

            if (controllers == null)
            {
                StaticUtilities.NoControllerFound();
            }
        }