Exemplo n.º 1
0
 private void Start()
 {
     //_line = gameObject.AddComponent<LineRenderer>();
     //_line.startWidth = 0.1f;
     //_line.endWidth = 0.1f;
     //_line.startColor = Color.red;
     //_line.endColor = Color.red;
     //_line.SetPosition(0, Vector3.zero);
     //_line.SetPosition(1, new Vector3(Input.acceleration.x, Input.acceleration.y, 0f));
     _bm = GetComponent <IBasicMovement>();
 }
Exemplo n.º 2
0
 private void Start()
 {
     // There might be a better method of getting this reference, but I'm
     // going with this for now
     _bm = GetComponent <IBasicMovement>();
 }