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