예제 #1
0
    public void Init()
    {
        cv_selected        = selectedContainer.gameObject.GetComponent <ContainerView>();
        cv_originContainer = originContainer.gameObject.GetComponent <ContainerView>();

        cv_selected.containerType        = ContainerView.ContainerType.SelectedContainer;
        cv_originContainer.containerType = ContainerView.ContainerType.OriginContainer;


        //selectedPlanet = new PlanetObject();
        selectedPlanet = planetObject_notSelected;

        gazeManager = MultiInputManager.Instance;

        if (expControl != null)
        {
            expControl.Init();
        }

        cm = CollaborationManager.Instance;
        cm.AddMessageHandler(this);
    }