Exemplo n.º 1
0
        private void Start()
        {
            if (_gun == null)
            {
                throw new System.Exception("Gun null exception");
            }

            _controller = JoyStickController.Instance;
        }
Exemplo n.º 2
0
 private void Awake()
 {
     Instance   = this;
     _transform = transform;
 }