Inheritance: UnityEngine.MonoBehaviour
Example #1
0
        public float TouchRadius = .75f;

        private TouchManager manager;

        #endregion Fields

        #region Methods
Example #2
0
 private void Awake()
 {
     if (TouchManager.Instance == null)
     {
         gameObject.AddComponent <TouchManager>();
     }
     manager = TouchManager.Instance;
     updateManager();
 }
Example #3
0
        private void Awake()
        {
            shuttingDown = false;
            if (instance == null)
            {
                instance = this;
            }
            updateDPI();

            StartCoroutine(lateAwake());
        }
Example #4
0
        private void Awake()
        {
            shuttingDown = false;
            if (instance == null) instance = this;
            updateDPI();

            StartCoroutine(lateAwake());
        }