// Use this for initialization public void OnEnable() { rendData = GetComponent <RendData>(); enabled = true; transform.position = rendData.rb2D.worldCenterOfMass; GetComponentInChildren <SpriteRenderer>().sprite = arrowSprite; }
public void OnEnable() { rendData = GetComponent <RendData>(); ElementsButton.SetActive(true); }
public void OnEnable() { rendData = GetComponent<RendData>(); }