Example #1
0
        protected override void Awake()
        {
            base.Awake();

            _aimTargetData = gameObject.GetComponent <AimTargetData>();

            _lineRenderer.positionCount = 2;
            _lineRenderer.startWidth    = 0.02f;
            _lineRenderer.endWidth      = 0.02f;

            _lineRenderer.enabled = true;
        }
Example #2
0
        protected override void Awake()
        {
            base.Awake();

            _aimTargetData = gameObject.GetComponent <AimTargetData>();
        }