Exemplo n.º 1
0
    // Use this for initialization
    void Start()
    {
        lM       = FindObjectOfType <LevelManager>();
        lineRend = GetComponent <LineRenderer>();
        edgeColl = GetComponent <EdgeCollider2D>();
        dGM      = FindObjectOfType <Drawing_GameManager>();

        cam = Camera.main;

        linePositions = new List <Vector2>();
    }
Exemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     lM  = FindObjectOfType <LevelManager>();
     dGM = FindObjectOfType <Drawing_GameManager>();
 }