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

        private TouchManager manager;

        #endregion Fields

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

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

            StartCoroutine(lateAwake());
        }