Exemplo n.º 1
0
    protected virtual void Awake()
    {
        anchor = GetComponent <AnchoredObj>();

        // Start at random positions in the perlin field
        perlin_x = Tools.RandomDirection2D() * Random.value * 100f;
        perlin_y = Tools.RandomDirection2D() * Random.value * 100f;
    }
Exemplo n.º 2
0
 private void Awake()
 {
     anchor = GetComponent <AnchoredObj>();
 }