public UnityShapeSpecification(string name, string url, bool movable,bool recursive, string shader)
        : base(name, url, movable, recursive, shader)
    {
        Debug.Log(" Looking for : " + url);

        entityGO = GameObject.Find(url);

        if (entityGO != null)
        {
            EntityGo ego = (EntityGo)entityGO.GetComponent("EntityGo");
            if (ego == null)
            {
                entityGO.AddComponent<EntityGo>();
                ego = (EntityGo)entityGO.GetComponent("EntityGo");
            }
            else Debug.Log(" Already has EntityGO Component");

            Dictionary<string, Agent> agents = VRApplication.Instance.AgentPlateform.Agents;
            string agentName = url + "@localhost:8080";

            if (agents.ContainsKey(agentName))
            {
                Mascaret.Agent agt = agents [agentName];

                UnityBehaviorRealizer bmlRealizer = new UnityBehaviorRealizer (this);
                agt.behaviorRealizer = bmlRealizer;
            }
        }
        else Debug.Log("Game object : " + url + " non trouvé");
    }
    public UnityShapeSpecification(string name, string url, bool movable, bool recursive, string shader) : base(name, url, movable, recursive, shader)

    {
        Debug.Log(" Looking for : " + url);

        entityGO = GameObject.Find(url);

        if (entityGO != null)
        {
            EntityGo ego = (EntityGo)entityGO.GetComponent("EntityGo");
            if (ego == null)
            {
                entityGO.AddComponent <EntityGo>();
                ego = (EntityGo)entityGO.GetComponent("EntityGo");
            }
            else
            {
                Debug.Log(" Already has EntityGO Component");
            }

            Dictionary <string, Agent> agents = VRApplication.Instance.AgentPlateform.Agents;
            string agentName = url + "@localhost:8080";

            if (agents.ContainsKey(agentName))
            {
                Mascaret.Agent agt = agents [agentName];

                UnityBehaviorRealizer bmlRealizer = new UnityBehaviorRealizer(this);
                agt.behaviorRealizer = bmlRealizer;
            }
        }
        else
        {
            Debug.Log("Game object : " + url + " non trouvé");
        }
    }