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