// Use this for initialization void Start() { bottle = GameObject.Find("Botella"); banana = GameObject.Find("Platanito"); paperball = GameObject.Find("BolaPapel"); fishbone = GameObject.Find("RaspaPescado"); miniMapGarbageScript = GameObject.Find("Minimap").GetComponent <SmallGarbage>(); }
public void setSmallGarbageScript() { smallGarbageScript = GameObject.Find("Minimap").GetComponent <SmallGarbage>(); }