Ejemplo n.º 1
0
 public void Clear()
 {
     SceneCleaning.Instance.Clean();
     InteractionModule.GetInit().TargetObjectClean();
     ChangeModule.Instance.ResetChange();
     structureM.NewStructure();
     LoadSaveDialog.GetInstance().Clear();
 }
Ejemplo n.º 2
0
        private void Start()
        {
            fpsStyle.alignment = TextAnchor.MiddleLeft;

            editorMenu   = menu.GetComponent <EditorMenu>();
            interactionM = InteractionModule.GetInit();
            offset       = new Vector3(offset.x, offset.y, Mathf.Abs(zoomMin));
            speedRotate  = scrollBarRotA.GetComponent <Scrollbar>();
        }
Ejemplo n.º 3
0
        private void Start()
        {
            interactionM = InteractionModule.GetInit();
            structureM   = StructureModule.GetInit();
            predicateM   = PredicateModule.GetInit();
            resourceM    = ResourceManager.GetInstance();
            guiChangeM   = GUIChangeModule.GetInit();

            //markerObject = Instantiate(resourceM.GetPrefab("Marker"), positionSelected, Quaternion.Euler(0f, 0f, 0f));
            //markerObject.SetActive(false);
        }
Ejemplo n.º 4
0
 private void Awake()
 {
     Instance   = this;
     freeCamera = Camera.main.GetComponent <FreeCamera>();
 }