void Start() { SetGizmos(); _setTarget = new SetTargetCommand(this, selectedMaterial); _deleteModulationItem = new DeleteModulationItem(this); EventsManager.ItemTransformation += ClickUpdate; }
/// <summary> /// Sets the target command handler. /// </summary> /// <param name="cmd">Cmd.</param> protected void SetTargetCommandHandler(SetTargetCommand cmd) { _cameraService.SetTarget(cmd.target); }