1234567891011121314151617181920212223 |
- using UnityEngine;
- public class ToggleMultiCore : MonoBehaviour
- {
- bool Enabled = false; //true;
- void Start()
- {
- //Application.targetFrameRate = 60;
- MegaModifiers.ThreadingOn = Enabled;
- }
- void Update()
- {
- if ( Input.GetKeyDown(KeyCode.T) )
- {
- Enabled = !Enabled;
- MegaModifiers.ThreadingOn = Enabled;
- }
- }
- }
|